Spaces:
Paused
Paused
nroggendorff
commited on
Commit
•
37138f9
1
Parent(s):
36a12a7
Update train.py
Browse files
train.py
CHANGED
@@ -192,7 +192,7 @@ def train_model(model, tokenizer, dataset, push, isinst):
|
|
192 |
args = TrainingArguments(
|
193 |
output_dir="model",
|
194 |
num_train_epochs=EPOCHS,
|
195 |
-
|
196 |
learning_rate=LEARNING_RATE,
|
197 |
optim="adamw_torch",
|
198 |
warmup_steps=WARMUP_STEPS,
|
|
|
192 |
args = TrainingArguments(
|
193 |
output_dir="model",
|
194 |
num_train_epochs=EPOCHS,
|
195 |
+
per_device_train_batch_size=BATCH_SIZE,
|
196 |
learning_rate=LEARNING_RATE,
|
197 |
optim="adamw_torch",
|
198 |
warmup_steps=WARMUP_STEPS,
|