Spaces:
Runtime error
Runtime error
piska1
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ model = AutoModelForSequenceClassification.from_pretrained(
|
|
35 |
# Задаем параметры обучения
|
36 |
training_args = TrainingArguments(
|
37 |
output_dir='test_trainer_log',
|
38 |
-
|
39 |
per_device_train_batch_size=6,
|
40 |
per_device_eval_batch_size=6,
|
41 |
num_train_epochs=5,
|
|
|
35 |
# Задаем параметры обучения
|
36 |
training_args = TrainingArguments(
|
37 |
output_dir='test_trainer_log',
|
38 |
+
eval_strategy='epoch',
|
39 |
per_device_train_batch_size=6,
|
40 |
per_device_eval_batch_size=6,
|
41 |
num_train_epochs=5,
|