Skip to content

scandeval.dataset_configs

source module scandeval.dataset_configs

All dataset configurations used in ScandEval.

Functions

source get_all_dataset_configs()dict[str, DatasetConfig]

Get a mapping of all the dataset configurations.

Returns

  • dict[str, DatasetConfig] A mapping between names of datasets and their configurations.

source get_dataset_config(dataset_name: str)DatasetConfig

Get the dataset configuration for a dataset.

Parameters

  • dataset_name : str

    The name of the dataset.

Returns

Raises

  • ValueError

    If the dataset is not found.