( )
Parameters
max_samples
.
Note: This should only be used for debugging purposes! GeneralConfigLogger.log_end_time
Logger for the evaluation parameters.
( num_fewshot_seeds: int override_batch_size: typing.Optional[int] max_samples: typing.Optional[int] job_id: str config: Config = None )
Parameters
Logs the information about the arguments passed to the method.
( model_info: ModelInfo )
Logs the model information.
( hashes: dict = <factory> compiled_hashes: dict = <factory> details: dict = <factory> compiled_details: dict = <factory> compiled_details_over_all_tasks: DetailsLogger.CompiledDetailOverAllTasks = <factory> )
Parameters
Hash
) — Maps each task name to the list of all its samples’ Hash
. CompiledHas
, an aggregation of all the individual sample hashes. Detail
]) — Maps each task name to the list of its samples’ details.
Example: winogrande: [sample1_details, sample2_details, …] CompiledDetail
]) — : Maps each task name to the list of its samples’ compiled details. Logger for the experiment details.
Stores and logs experiment information both at the task and at the sample level.
Aggregate the details and hashes for each task and then for all tasks. We end up with a dict of compiled details for each task and a dict of compiled details for all tasks.
( task_name: str task: LightevalTask doc: Doc outputs: list metrics: dict llm_as_prompt_judgement: typing.Optional[tuple[str, str]] = None )
Parameters
Stores the relevant information for one sample of one task to the total list of samples stored in the DetailsLogger.
( metrics_values: dict = <factory> metric_aggregated: dict = <factory> )
Parameters
Logs the actual scores for each metric of each task.
( task_dict: dict bootstrap_iters: int = 1000 )
Aggregate the metrics for each task and then for all tasks.
( versions: dict = <factory> )
Logger of the tasks versions.
Tasks can have a version number/date, which indicates what is the precise metric definition and dataset version used for an evaluation.
( tasks_configs: dict = <factory> )
Logs the different parameters of the current LightevalTask
of interest.