generated from fastai/nbdev_template
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add multiprocessing in the DPO trainer. (#1286)
* Update dpo_trainer.py Added support for num_proc to tokenize the training dataset. * Update dpo_trainer.py added type in the new num_proc variable * added test case * add test case * fix type --------- Co-authored-by: imraviagrawal <ravi.agrawal@umass.edu> Co-authored-by: Ravi Agrawal <raviagrawal@Ravis-MacBook-Pro.local>
- Loading branch information
1 parent
ef441ea
commit 737d771
Showing
2 changed files
with
41 additions
and
1 deletion.
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