Spaces:
Runtime error
Runtime error
Update train.py
Browse files
train.py
CHANGED
@@ -102,7 +102,7 @@ def train_model(model, tokenizer, dataset, push):
|
|
102 |
warmup_steps=WARMUP_STEPS,
|
103 |
weight_decay=DECAY,
|
104 |
gradient_accumulation_steps=GRADIENT_ACCUMILATION_STEPS,
|
105 |
-
fp16=
|
106 |
evaluation_strategy="steps"
|
107 |
)
|
108 |
|
|
|
102 |
warmup_steps=WARMUP_STEPS,
|
103 |
weight_decay=DECAY,
|
104 |
gradient_accumulation_steps=GRADIENT_ACCUMILATION_STEPS,
|
105 |
+
fp16=FP16,
|
106 |
evaluation_strategy="steps"
|
107 |
)
|
108 |
|