transformers-cli login => huggingface-cli login (#18490)

* zero chance anyone's using that constant no?

* `transformers-cli login` => `huggingface-cli login`

* `transformers-cli repo create` => `huggingface-cli repo create`

* `make style`
This commit is contained in:
Julien Chaumond
2022-08-06 09:42:55 +02:00
committed by GitHub
parent 8d1f9039d0
commit 9129fd0377
64 changed files with 72 additions and 75 deletions

View File

@@ -57,7 +57,7 @@ To upload all converted models,
2. Login to `transformers-cli`
```bash
transformers-cli login
huggingface-cli login
```
3. Run the `upload_models` script

View File

@@ -2,7 +2,7 @@
for FILE in converted/*; do
model_name=`basename $FILE`
transformers-cli repo create $model_name -y
huggingface-cli repo create $model_name -y
git clone https://huggingface.co/Helsinki-NLP/$model_name
mv $FILE/* $model_name/
cd $model_name