Skip to content

docs: replace removed huggingface-cli with hf in model download commands - #139

Open
smcshahid wants to merge 1 commit into
PKU-YuanGroup:mainfrom
smcshahid:docs/hf-cli-rename
Open

docs: replace removed huggingface-cli with hf in model download commands#139
smcshahid wants to merge 1 commit into
PKU-YuanGroup:mainfrom
smcshahid:docs/hf-cli-rename

Conversation

@smcshahid

Copy link
Copy Markdown

What

Replaces the three huggingface-cli download commands in the README's Model Download section with hf download (identical arguments).

Why

requirements.txt pins huggingface-hub==1.4.1, and huggingface_hub ≥ 1.0 removed the legacy huggingface-cli entry point (the CLI is now hf). Following the README verbatim in the documented environment fails with command not found. eval/checkpoints/get_checkpoints.sh already uses hf download — this aligns the README with it.

Compatibility

Documentation only. hf download accepts the same arguments; users on hub < 1.0 (outside the repo's pins) can still use the old name.

🤖 Generated with Claude Code

…ommands

huggingface_hub >= 1.0 (the repo pins 1.4.1) removed the legacy
`huggingface-cli` entry point; the CLI is now `hf`. Following the README
verbatim fails with "command not found". eval/checkpoints/get_checkpoints.sh
already uses `hf download` - this aligns the README with it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants