update tatoeba workflow (#9051)

This commit is contained in:
Suraj Patil
2020-12-11 20:29:15 +05:30
committed by GitHub
parent 7c8f5f6487
commit 86896de064
2 changed files with 28 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
#!/bin/bash
for FILE in converted/*; do
model_name=`basename $FILE`
transformers-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