Rename huggingface_cli to hf (#39630)

* Rename huggingface_cli to hf

* hfh
This commit is contained in:
Lysandre Debut
2025-07-25 14:10:04 +02:00
committed by GitHub
parent 3b3f9c0c46
commit f90de364c2
111 changed files with 132 additions and 132 deletions

View File

@@ -331,7 +331,7 @@ python examples/pytorch/summarization/run_summarization.py
所有脚本都可以将您的最终模型上传到[Model Hub](https://huggingface.co/models)。在开始之前请确保您已登录Hugging Face
```bash
huggingface-cli login
hf auth login
```
然后,在脚本中添加`push_to_hub`参数。这个参数会创建一个带有您Hugging Face用户名和`output_dir`中指定的文件夹名称的仓库。