Skip to content

Commit 43b5e6b

Browse files
authored
Merge pull request #60 from huggingface/flexibility
Lighteval naming
2 parents 585d066 + 04b1785 commit 43b5e6b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/nanotron/config/lighteval_config.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,14 @@ class LightEvalTasksArgs:
5252
"""Arguments related to tasks for LightEval"""
5353

5454
tasks: Optional[str] = None
55-
custom_tasks_file: Optional[Path] = None
55+
custom_tasks: Optional[str] = None
5656
max_samples: Optional[int] = None
5757
num_fewshot_seeds: Optional[int] = None
5858

5959
dataset_loading_processes: Optional[int] = 8
6060
multichoice_continuations_start_space: Optional[bool] = None
6161
no_multichoice_continuations_start_space: Optional[bool] = None
6262

63-
def __post_init__(self):
64-
if isinstance(self.custom_tasks_file, str):
65-
self.custom_tasks_file = Path(self.custom_tasks_file)
66-
6763

6864
@dataclass
6965
class LightEvalWandbLoggerConfig:

0 commit comments

Comments
 (0)