Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -124,7 +124,7 @@ training_args = TrainingArguments(
|
|
124 |
#fp16=True,
|
125 |
save_strategy = "no",
|
126 |
load_best_model_at_end=False,
|
127 |
-
|
128 |
)
|
129 |
print ("training args")
|
130 |
############################################
|
@@ -178,8 +178,8 @@ print("done")
|
|
178 |
#####################################
|
179 |
#Push to Hub
|
180 |
print("push to hub")
|
181 |
-
login(token=os.environ["HF_ACCESS_TOKEN"])
|
182 |
-
trainer.push_to_hub("alexkueck/test-tis-1")
|
183 |
print("done")
|
184 |
|
185 |
|
|
|
124 |
#fp16=True,
|
125 |
save_strategy = "no",
|
126 |
load_best_model_at_end=False,
|
127 |
+
push_to_hub=True,
|
128 |
)
|
129 |
print ("training args")
|
130 |
############################################
|
|
|
178 |
#####################################
|
179 |
#Push to Hub
|
180 |
print("push to hub")
|
181 |
+
#login(token=os.environ["HF_ACCESS_TOKEN"])
|
182 |
+
#trainer.push_to_hub("alexkueck/test-tis-1")
|
183 |
print("done")
|
184 |
|
185 |
|