Remove deprecated training arguments (#36946)
* Remove deprecated training arguments * More fixes * More fixes * More fixes
This commit is contained in:
@@ -200,6 +200,8 @@ if __name__ == "__main__":
|
||||
model = RegressionModel()
|
||||
training_args.per_device_train_batch_size = 1
|
||||
training_args.max_steps = 1
|
||||
training_args.dispatch_batches = False
|
||||
training_args.accelerator_config = {
|
||||
"dispatch_batches": False,
|
||||
}
|
||||
trainer = Trainer(model, training_args, train_dataset=train_dataset)
|
||||
trainer.train()
|
||||
|
||||
Reference in New Issue
Block a user