mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-04 21:30:07 +06:00

* zero chance anyone's using that constant no? * `transformers-cli login` => `huggingface-cli login` * `transformers-cli repo create` => `huggingface-cli repo create` * `make style`
13 lines
291 B
Bash
Executable File
13 lines
291 B
Bash
Executable File
#!/bin/bash
|
|
|
|
for FILE in converted/*; do
|
|
model_name=`basename $FILE`
|
|
huggingface-cli repo create $model_name -y
|
|
git clone https://huggingface.co/Helsinki-NLP/$model_name
|
|
mv $FILE/* $model_name/
|
|
cd $model_name
|
|
git add . && git commit -m "initial commit"
|
|
git push
|
|
cd ..
|
|
done
|