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.
Adds model kwargs to SFT and DPO trainers (#951)
* adds model kwargs to SFT and DPO trainers * adds checks for model_kwarg passing when model is not str * changed warning to ValueError * renames model_kwargs to model_init_kwargs * corrects argument names in
- Loading branch information
1 parent
6c6ff24
commit c273b18
Showing
2 changed files
with
52 additions
and
12 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