transformers/tests/trainer
Pavel Iakubovskii c15aad0939
Add strategy to store results in evaluation loop (#30267)
* Add evaluation loop container for interm. results

* Add tests for EvalLoopContainer

* Formatting

* Fix padding_index in test and typo

* Move EvalLoopContainer to pr_utils to avoid additional imports

* Fix `eval_do_concat_batches` arg description

* Fix EvalLoopContainer import
2024-04-17 12:42:27 +01:00
..
__init__.py [Test refactor 1/5] Per-folder tests reorganization (#15725) 2022-02-23 15:46:28 -05:00
test_data_collator.py handle numpy inputs in whole word mask data collator (#22032) 2023-03-10 10:50:29 -05:00
test_trainer.py Raise relevent err when wrong type is passed in as the accelerator_config (#29997) 2024-04-16 11:21:24 -04:00
test_trainer_callback.py Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
test_trainer_distributed.py 🚨 Fully revert atomic checkpointing 🚨 (#29370) 2024-03-04 06:17:42 -05:00
test_trainer_seq2seq.py Update test reqs to include sentencepiece (#29756) 2024-03-20 15:53:42 +00: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