czbenchmarks.datasets.utils
Functions
|
Download and instantiate a dataset using Hydra configuration. |
|
Lists all available datasets defined in the datasets.yaml configuration file. |
|
try to map dataset names to more uniform, pretty strings |
Module Contents
- czbenchmarks.datasets.utils.load_dataset(dataset_name: str, config_path: str | None = None) czbenchmarks.datasets.base.BaseDataset [source]
Download and instantiate a dataset using Hydra configuration.
- Parameters:
dataset_name – Name of dataset as specified in config
config_path – Optional path to config yaml file. If not provided, will use only the package’s default config.
- Returns:
Instantiated dataset object
- Return type: