Skip to content

Commit

Permalink
fix (#314)
Browse files Browse the repository at this point in the history
* fix

* work
  • Loading branch information
kylematoba authored Dec 21, 2024
1 parent b701935 commit 61d4f86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/datatrove/pipeline/decont/n_grams.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ def run(self, data: DocumentsPipeline = None, rank: int = 0, world_size: int = 1
from lighteval.tasks.lighteval_task import LightevalTask
from lighteval.tasks.registry import Registry

task_dict = Registry(cache_dir=os.getenv("HF_HOME")).get_task_dict(
self.lighteval_tasks, custom_tasks=self.custom_lighteval_tasks
task_dict = Registry(cache_dir=os.getenv("HF_HOME"), custom_tasks=self.custom_lighteval_tasks).get_task_dict(
self.lighteval_tasks
)
LightevalTask.load_datasets(task_dict.values())

Expand Down

0 comments on commit 61d4f86

Please sign in to comment.