Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F65772958
upload_models.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Jun 6, 03:18
Size
292 B
Mime Type
text/x-shellscript
Expires
Sat, Jun 8, 03:18 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
18125123
Attached To
R11484 ADDI
upload_models.sh
View Options
#!/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
Event Timeline
Log In to Comment