Skip to content

Commit

Permalink
fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
clefourrier committed Feb 8, 2024
1 parent 923a2e6 commit e2b1516
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lighteval/logging/info_loggers.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,5 +547,5 @@ def log(self, task_dict: dict[str, LightevalTask]) -> None:
self.tasks_configs = {name: task.cfg for name, task in task_dict.items()}

def log_num_docs(self, task_name: str, original_num_docs: int, effective_num_docs: int) -> None:
self.tasks_configs[task_name]["original_num_docs"] = original_num_docs
self.tasks_configs[task_name]["effective_num_docs"] = effective_num_docs
self.tasks_configs[task_name].original_num_docs = original_num_docs
self.tasks_configs[task_name].effective_num_docs = effective_num_docs

0 comments on commit e2b1516

Please sign in to comment.