You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:param data: If your dataset is defined locally it should be an iterable of k/v
@@ -363,6 +364,7 @@ def experiment(
363
364
:param metadata: Optional metadata to attach to the experiment.
364
365
:param dataset_level_evals: Optional list of functions to run on the dataset level. Each function should accept a list of EvaluatedLog objects and return a float or an EvaluationResult object
365
366
:param n_workers: The number of workers to use for running the experiment.
367
+
:param stop_on_error: If True, the experiment will stop on the first exception. If False, the experiment will continue running the remaining samples.
"""Creates an experiment and runs the function on the data iterator.
98
99
param experiment_name: The name of the experiment. Used to organize experiments within a project.
@@ -107,6 +108,7 @@ async def experiment(
107
108
param dataset_level_evals: A list of functions to run on the dataset level. Each function should accept a list of EvaluatedLogs and return a float or a
108
109
EvaluationResult. If a float is returned, the name of the function will be used as the name of the evaluation.
109
110
param n_workers: The number of workers to use for running the experiment.
111
+
param stop_on_error: If True, the experiment will stop running if an exception is raised.
0 commit comments