generated from fastai/nbdev_template
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor KTO setting changes + KL batch size (#2153)
* add argument for dropout * increase default lr * change default lr in examples * fix bug in calculation of KL batch size * KL batch size should be args.per_device_train_batch_size * Update kto_trainer.mdx with hparam recs * typo * allow dropout to be disabled * update lr in sample scrippt * Update kto_config.py * Update trl/trainer/kto_trainer.py * Update docs/source/kto_trainer.mdx --------- Co-authored-by: Kashif Rasul <[email protected]>
- Loading branch information
Showing
3 changed files
with
26 additions
and
18 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
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