From 04b17853fe744394fe68df04bb18a19a2f990025 Mon Sep 17 00:00:00 2001 From: Thomas Wolf Date: Wed, 7 Feb 2024 21:36:24 +0000 Subject: [PATCH] update --- src/nanotron/config/lighteval_config.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/nanotron/config/lighteval_config.py b/src/nanotron/config/lighteval_config.py index f613531e..b5f12059 100644 --- a/src/nanotron/config/lighteval_config.py +++ b/src/nanotron/config/lighteval_config.py @@ -52,7 +52,7 @@ class LightEvalTasksArgs: """Arguments related to tasks for LightEval""" tasks: Optional[str] = None - custom_tasks_file: Optional[Path] = None + custom_tasks: Optional[str] = None max_samples: Optional[int] = None num_fewshot_seeds: Optional[int] = None @@ -60,10 +60,6 @@ class LightEvalTasksArgs: multichoice_continuations_start_space: Optional[bool] = None no_multichoice_continuations_start_space: Optional[bool] = None - def __post_init__(self): - if isinstance(self.custom_tasks_file, str): - self.custom_tasks_file = Path(self.custom_tasks_file) - @dataclass class LightEvalWandbLoggerConfig: