-
Notifications
You must be signed in to change notification settings - Fork 432
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added in an `ExperimentHparams` class. This class describes how to run a training job that may have multiple calls to `Trainer.fit` and/or `Trainer.eval`. Specifically, `ExperimentHparams.initialize_object()` returns a `(Trainer, List[FitKwargs], List[EvalKwargs])` tuple, that then the user's entrypoint can consome. This class does not automatically train the model, nor does it include an entrypoint. - Added typing definitions for `FitKwargs` and `EvalKwargs`, along with test cases to ensure they stay in sync with the Trainer signature. - Fix an bug introduced in #948, which removed the setting of `State.train_dataloader`. Added back the lines to correctly set the train dataloader.
- Loading branch information
1 parent
2e941d0
commit e85302b
Showing
6 changed files
with
529 additions
and
70 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
Oops, something went wrong.