chore(docs): updating deprecated huggingface-cli to hf (#3071)

* chore(docs): updating deprecated huggingface-cli to hf

* small typo in my-org
This commit is contained in:
Maxime Ellerbach
2026-03-04 15:08:49 +01:00
committed by GitHub
parent 4303b3c930
commit 96b7c212c4
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -279,13 +279,13 @@ We use the Hugging Face hub features for uploading your dataset. If you haven't
Add your token to the CLI by running this command:
```bash
huggingface-cli login --token ${HUGGINGFACE_TOKEN} --add-to-git-credential
hf auth login --token ${HUGGINGFACE_TOKEN} --add-to-git-credential
```
Then store your Hugging Face repository name in a variable:
```bash
HF_USER=$(huggingface-cli whoami | head -n 1)
HF_USER=$(hf auth whoami | awk -F': *' 'NR==1 {print $2}')
echo $HF_USER
```