Skip to content

Update deprecated huggingface-cli to hf command in documentation#1

Merged
Lyken17 merged 2 commits intomainfrom
copilot/update-huggingface-cli-command
Dec 19, 2025
Merged

Update deprecated huggingface-cli to hf command in documentation#1
Lyken17 merged 2 commits intomainfrom
copilot/update-huggingface-cli-command

Conversation

Copy link

Copilot AI commented Dec 18, 2025

The huggingface-cli download command is deprecated in favor of hf download. Updated all documentation under docs/ to use the current command syntax.

Changes

  • 10 files updated: 5 English (docs/en/examples/) and 5 Chinese (docs/zh/examples/) markdown files
  • 18 command occurrences replaced across model download examples (DeepSeek-R1, GLM-4.5, GLM-Z1-9B, Qwen3-4B, Qwen3-30B-A3B) and dataset downloads (dapo-math-17k, aime-2024)

Example change:

# Before
huggingface-cli download Qwen/Qwen3-4B --local-dir /root/Qwen3-4B

# After
hf download Qwen/Qwen3-4B --local-dir /root/Qwen3-4B
Original prompt

for *.md and *.rst under docs/, please update huggingface-cli download to hf download as the huggingface-cli command is deprecated.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: Lyken17 <7783214+Lyken17@users.noreply.github.com>
Copilot AI changed the title [WIP] Update huggingface-cli download command to hf download Update deprecated huggingface-cli to hf command in documentation Dec 18, 2025
Copilot AI requested a review from Lyken17 December 18, 2025 03:35
@Lyken17 Lyken17 marked this pull request as ready for review December 19, 2025 01:57
@Lyken17 Lyken17 merged commit 97f8267 into main Dec 19, 2025
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