Update app.py
Browse files
app.py
CHANGED
|
@@ -74,7 +74,7 @@ model = get_peft_model(model, lora_config)
|
|
| 74 |
|
| 75 |
training_args = TrainingArguments(
|
| 76 |
output_dir="./results",
|
| 77 |
-
|
| 78 |
learning_rate=2e-4,
|
| 79 |
per_device_train_batch_size=1, # Reduce batch size for memory efficiency
|
| 80 |
per_device_eval_batch_size=1,
|
|
|
|
| 74 |
|
| 75 |
training_args = TrainingArguments(
|
| 76 |
output_dir="./results",
|
| 77 |
+
evaluation_strategy="no", # Disable evaluation (to enable, change value to 'epoch')
|
| 78 |
learning_rate=2e-4,
|
| 79 |
per_device_train_batch_size=1, # Reduce batch size for memory efficiency
|
| 80 |
per_device_eval_batch_size=1,
|