forked from huggingface/trl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DPO] DPOConfig class (huggingface#1554)
* initial DPOConfig * fix doc string * use DPOConfig * fix missing import * fix DpoScriptArguments * override args config when given in init * use DPOConfig * fix output dir name * over-ride with depreicated arguments if given * use DPOConfig in tests * fix comment * add custom_message * use dataset_train_name and dataset_test_name * beta is also in the training_args * fix loss_type docs * Update trl/commands/cli_utils.py Co-authored-by: lewtun <lewis.c.tunstall@gmail.com> * Update trl/commands/cli_utils.py Co-authored-by: lewtun <lewis.c.tunstall@gmail.com> * Update trl/commands/cli_utils.py Co-authored-by: lewtun <lewis.c.tunstall@gmail.com> * use DPOScriptArguments --------- Co-authored-by: lewtun <lewis.c.tunstall@gmail.com>
- Loading branch information
Showing
11 changed files
with
390 additions
and
178 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
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
Oops, something went wrong.