Skip to content

Conversation

@SkyR0ver
Copy link
Contributor

Fix issue number: #3424

This pull request rewrites the task loading part of function cli_evaluate in __main__.py in order to fix the check for missing custom task config files, as illustrated in the issue.

A major goal of the fix is to remove as many duplicates as possible and to preserve the relative order, mimicing the behaviour of the original implementation when loading tasks provided by lm_eval.

Other changes along with the fix:

  • Support glob pattern in given file paths. For simplicity, file paths must end with ".yaml".
  • Add deduplication for custom configs based on their content.

- Fix the check for missing custom task config files.
- Support glob pattern in given file paths.
- Add deduplication for custom configs based on their content.
@SkyR0ver SkyR0ver requested a review from baberabb as a code owner November 24, 2025 08:35
@baberabb
Copy link
Contributor

Thank you!

@baberabb baberabb merged commit 08495a0 into EleutherAI:main Nov 26, 2025
6 checks passed
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.

2 participants