generated from fastai/nbdev_template
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♾️ Fix test generation
max_new_tokens
(#2272)
* `eval_strategy="steps" if eval_dataset else "no"` * tmp skip test * drop `eval_strategy` in `test_sft_trainer_uncorrect_data` * remove eval strategy * Add parameterized test for generate method * Revert "`eval_strategy="steps" if eval_dataset else "no"`" This reverts commit 1e8b331. * Revert "tmp skip test" This reverts commit 44558f8. * Revert "drop `eval_strategy` in `test_sft_trainer_uncorrect_data`" This reverts commit a1ef701. * Revert "remove eval strategy" This reverts commit cb7fafa. * style * Refactor test_generate method in test_modeling_value_head.py * `max_new_tokens=9`
- Loading branch information
1 parent
c2bb1ee
commit e615974
Showing
1 changed file
with
17 additions
and
14 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