scandeval.model_loading
source module scandeval.model_loading
source load_model(model_config: ModelConfig, dataset_config: DatasetConfig, benchmark_config: BenchmarkConfig) → BenchmarkModule
Load a model.
Parameters
-
model_config : ModelConfig —
The model configuration.
-
dataset_config : DatasetConfig —
The dataset configuration.
-
benchmark_config : BenchmarkConfig —
The benchmark configuration.
Returns
-
BenchmarkModule — The model.
Raises