use inspect-ai to evaluate aime25, gsm8k and IFEval - #1010
Closed
NathanHB wants to merge 5 commits into
Closed
Conversation
Member
|
Logging is neaaat |
NathanHB
commented
Oct 7, 2025
| return Task(dataset=dataset, solver=solver, scorer=scorer, name=name, epochs=Epochs(epochs, epochs_reducer)) | ||
|
|
||
|
|
||
| gsm8k_task_config = TaskConfig( |
Member
Author
There was a problem hiding this comment.
a auto convert from lighteval task config to a more suited config can be done easily.
NathanHB
commented
Oct 7, 2025
|
|
||
|
|
||
| @scorer(metrics=[accuracy(), stderr()]) | ||
| def extractive_math_scorer(): |
Member
Author
There was a problem hiding this comment.
minimal rewrite of scorer will be needed
NathanHB
commented
Oct 7, 2025
| MODEL = "openai/gpt-4o" | ||
| all_tasks = [gsm8k_task_config, aime25_task_config, ifeval_task_config] | ||
|
|
||
| eval([get_task(task) for task in all_tasks], model=MODEL, display="rich", limit=10, max_tasks=3) |
Member
Author
There was a problem hiding this comment.
we can still run N tasks at the same time
Member
|
Closing the POC as the big changes are comiiiiing! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is a proof of concept demonstrating how to utilize inspect-ai's API with minimal effort, while still having access to every task and metric defined by Lighteval.
Using inspect-ai would allow us to:
To fully convert to use inspect-ai's API, we would have to:
SampleScorerMetric