xai-org / grok-1

Grok open release
Apache License 2.0
49.64k stars 8.33k forks source link

Huggingface download error #181

Open mei-chen opened 8 months ago

mei-chen commented 8 months ago

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/*

trholding commented 8 months ago

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.

mei-chen commented 8 months ago

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

leavestylecode commented 8 months ago

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

hunter-xue commented 8 months ago

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

menyunlei commented 8 months ago

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')