-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding evaluation checks to prevent Transformer ValueError (#3105)
* Adding evaluation checks to prevent Transformer ValueError * Update trainer.py * Update trainer.py * Update trainer.py * Rewrite comments & ValueError somewhat * Fix a typo that I introduced * Extend the no_eval_dataset_with_eval_strategy test with newly updated edge case * Fix tests for Python 3.9, 3.10 --------- Co-authored-by: Tom Aarsen <[email protected]>
- Loading branch information
Showing
2 changed files
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters