grok-1 icon indicating copy to clipboard operation
grok-1 copied to clipboard

Huggingface download error

Open mei-chen opened this issue 1 year ago • 5 comments

When I'm trying to download the weights from huggingface huggingface-cli download xai-org/grok-1 --repo-type model --include ckpt-0/* --local-dir checkpoints --local-dir-use-symlinks False I'm getting error no matches found: ckpt-0/*

mei-chen avatar Mar 19 '24 03:03 mei-chen

Try this:

The correct directory is ckpt-0

huggingface-cli download xai-org/grok-1 --repo-type model --include ckpt-0/* --local-dir checkpoints --local-dir-use-symlinks False

See: https://github.com/xai-org/grok-1/discussions/129

Edit: Readme.md mentioned a folder called ckpt-0 but the folder on hugging face was named ckpt. xAI team corrected the folder name to reflect instructions in Readme.md and now ckpt has been renamed to ckpt-0 on huggingface to reflect the correct instructions.

trholding avatar Mar 19 '24 04:03 trholding

This should be the right one.. https://huggingface.co/xai-org/grok-1/tree/main/ckpt-0

mei-chen avatar Mar 19 '24 05:03 mei-chen

change to : git clone https://github.com/xai-org/grok-1.git && cd grok-1 pip install "huggingface_hub[hf_transfer]" huggingface-cli download xai-org/grok-1 --repo-type model --include "ckpt-0/*" --local-dir checkpoints --local-dir-use-symlinks False

user " " to cover huggingface_hub[hf_transfer] and ckpt-0/*

@mei-chen

leavestylecode avatar Mar 19 '24 05:03 leavestylecode

any one can tell me the exactly file size of this model? image

hunter-xue avatar Mar 19 '24 11:03 hunter-xue

should we download the 289G file first and then run: huggingface-cli download xai-org/grok-1 --repo-type model --include "ckpt-0/*" --local-dir checkpoints --local-dir-use-symlinks False

error: PS D:\yunlei\G\grok-1-main\checkpoints> huggingface-cli download xai-org/grok-1 --repo-type model --include "ckpt-0/*" --local-dir checkpoints --local-dir-use-symlinks False usage: huggingface-cli [] huggingface-cli: error: invalid choice: 'download' (choose from 'env', 'login', 'whoami', 'logout', 'repo', 'lfs-enable-largefiles', 'lfs-multipart-upload', 'scan-cache', 'delete-cache')

menyunlei avatar Mar 20 '24 17:03 menyunlei