Skip to content

Fix: pass through custom_tasks and enable multilingual in eval command#1172

Open
dzautner wants to merge 1 commit intohuggingface:mainfrom
dzautner:fix/eval-custom-tasks-multilingual
Open

Fix: pass through custom_tasks and enable multilingual in eval command#1172
dzautner wants to merge 1 commit intohuggingface:mainfrom
dzautner:fix/eval-custom-tasks-multilingual

Conversation

@dzautner
Copy link

Summary

  • The eval() function in main_inspect.py accepts --custom-tasks and multilingual task names as CLI parameters but hardcodes custom_tasks=None and load_multilingual=False when creating the Registry, silently ignoring both.

Test plan

  • Verified that multilingual tasks (e.g. maime25:da) are now discoverable via lighteval eval
  • Verified that --custom-tasks is properly passed through to the Registry

The eval() function accepts --custom-tasks and multilingual task names
as CLI parameters but hardcodes custom_tasks=None and
load_multilingual=False when creating the Registry, silently ignoring
both.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant