remove
Browse files- upload_to_hf.py +0 -7
upload_to_hf.py
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
from transformers import T5Tokenizer, T5ForConditionalGeneration
|
2 |
-
from huggingface_hub import create_repo
|
3 |
-
|
4 |
-
diabetes_t5_small = "diabetes_t5-small_epoch_20_lr_0.0001_batchsize_32_optimizer_adamw"
|
5 |
-
model = T5ForConditionalGeneration.from_pretrained(diabetes_t5_small)
|
6 |
-
#create_repo("ucinlp/diabetes-t5-small")
|
7 |
-
model.push_to_hub("diabetes-t5-small", organization="ucinlp")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|