Skip to content

Commit

Permalink
Revert "Fix precedence of default tasks over custom ones in registry"
Browse files Browse the repository at this point in the history
This reverts commit 8125ea2.
  • Loading branch information
albertvillanova committed Dec 19, 2024
1 parent e261c39 commit ad1ce89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lighteval/tasks/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def task_registry(self):
)

# Defaults tasks should overwrite custom tasks
return {**custom_tasks_registry, **default_tasks_registry}
return {**default_tasks_registry, **custom_tasks_registry}

@property
@lru_cache
Expand Down

0 comments on commit ad1ce89

Please sign in to comment.