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

@@ -271,7 +271,7 @@ The model is ready to be pushed to the Hub now. Log in to your Hugging Face acco
<hfoption id="huggingface-CLI">
```bash
huggingface-cli login
hf auth login
```
</hfoption>

View File

@@ -28,7 +28,7 @@ To share a model to the Hub, you need a Hugging Face [account](https://hf.co/joi
<hfoption id="huggingface-CLI">
```bash
huggingface-cli login
hf auth login
```
</hfoption>

View File

@@ -49,7 +49,7 @@ notebook_login()
Make sure the [huggingface_hub[cli]](https://huggingface.co/docs/huggingface_hub/guides/cli#getting-started) package is installed and run the command below. Paste your User Access Token when prompted to log in.
```bash
huggingface-cli login
hf auth login
```
</hfoption>

View File

@@ -289,7 +289,7 @@ You could also create and use your own dataset if you prefer to train with the [
}
)
# step 3: push to Hub (assumes you have ran the huggingface-cli login command in a terminal/notebook)
# step 3: push to Hub (assumes you have ran the hf auth login command in a terminal/notebook)
dataset.push_to_hub("your-name/dataset-repo")
# optionally, you can push to a private repo on the Hub