Spaces:
Runtime error
Runtime error
Update train.py
Browse files
train.py
CHANGED
@@ -131,6 +131,7 @@ def train_model(model, tokenizer, dataset, push, isinst):
|
|
131 |
weight_decay=DECAY,
|
132 |
gradient_accumulation_steps=GRADIENT_ACCUMULATION_STEPS,
|
133 |
fp16=FP16,
|
|
|
134 |
logging_steps=10
|
135 |
)
|
136 |
|
|
|
131 |
weight_decay=DECAY,
|
132 |
gradient_accumulation_steps=GRADIENT_ACCUMULATION_STEPS,
|
133 |
fp16=FP16,
|
134 |
+
save_steps=int(1e+10),
|
135 |
logging_steps=10
|
136 |
)
|
137 |
|