-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add DataModule and simple DatasetDict to data package * simplify Datamodule and add parameters train_split, val_split, and test_split; prepare_data_split defaults to value of train_split * prepare taskmodule only when stage="fit" or None * fix typing * remove DataModule from data package to prevent circular import * add note regarding cyclic import * rename prepare_data_split to prepare_split and task_module to taskmodule to be consistent; use DatasetDict * pass all remaining parameters to the dataloaders * to the dark side (make black happy) * fix types * skip creating encoded splits if respective dataset split is not available * fix creation of random train val split * blackify * create and use PIEDatasetDict instead of DatasetDict * revert data.__init__ to state of main branch to decrease noise * use same name for validation split as hf datasets does * fix exception message * allow relative split sizes for entries in random_train_val_split * remove functionality to create a random train val split Co-authored-by: Arne Binder <[email protected]>
- Loading branch information
1 parent
ed634ac
commit b0ce7af
Showing
1 changed file
with
50 additions
and
67 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