transformers/tests/trainer
Dhruv Pai 5c88253556
Add on_optimizer_step to callback options (#31095)
* Modified test

* Added on_optimizer_step to callbacks

* Move callback after step is called

* Added on optimizer step callback
2024-05-29 16:20:59 +02:00
..
__init__.py [Test refactor 1/5] Per-folder tests reorganization (#15725) 2022-02-23 15:46:28 -05:00
test_data_collator.py Immutability for data collators (#30603) 2024-05-08 17:54:49 +01:00
test_trainer.py Enforce saving at end of training if saving option chosen (#30160) 2024-05-21 07:50:11 -04:00
test_trainer_callback.py Add on_optimizer_step to callback options (#31095) 2024-05-29 16:20:59 +02:00
test_trainer_distributed.py CI: update to ROCm 6.0.2 and test MI300 (#30266) 2024-05-13 18:14:36 +02:00
test_trainer_seq2seq.py CI: AMD MI300 tests fix (#30797) 2024-05-21 12:46:07 +01:00
test_trainer_tpu.py [Test refactor 1/5] Per-folder tests reorganization (#15725) 2022-02-23 15:46:28 -05:00
test_trainer_utils.py Add strategy to store results in evaluation loop (#30267) 2024-04-17 12:42:27 +01:00