-
Notifications
You must be signed in to change notification settings - Fork 471
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(base_trainer): enable sweeping over a single `gen_kwargs` value * refactor(base_trainer): rename relevant variables * fix(base_trainer): initialize `gen_sweep_arg` regardless * feat(base_trainer): change `reward_fn`'s signature to accept kwargs * merge(base_trainer): refactor to reflect main * feat(*_trainer): add `stop_word` * refactor(base_trainer): remove `seq2seq` if-case * refactor(base_trainer): clean up logging of samples * fix(base_trainer): remove inconsistencies * fix(ppo_orchestrator): consistent padding and gpu device * feat(base_trainer): add `rich` as dependency * chore(examples): update signatures * fix(ppo_orchestrator): logprob gather indexing * docs(trlx): update `train`'s signature * fix(base_trainer): disable `save_best` when training with deepspeed * merge(base): complete merge * feat(base_trainer): rework `stop_word` -> `stop_sequences` * docs(base_trainer): update `decode`'s signature * chore(base_trainer): `print` -> `print_rank_0` * feat(base_trainer): clean up table's output * feat(base_trainer): add number of gpus to the run's name * style(trlx): satisfy black * style(wandb): satisfy isort
- Loading branch information
1 parent
400dcfd
commit 84dd156
Showing
16 changed files
with
297 additions
and
176 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
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
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.