Add simplest lab_bench_2 case [1/n]#1
Conversation
Only support for a single tag (litqa3), bare solver and a single scorer
| ```bash | ||
| uv run inspect eval lab_bench_2/lab_bench_2 \ | ||
| --model openai/gpt-5-nano \ | ||
| --model-role grader=anthropic/claude-sonnet-4-5 |
There was a problem hiding this comment.
nit: use a different model here as an example of overriding the default
There was a problem hiding this comment.
Is this going to evolve into a "run config file" like Matt implemented support for in UKGovernmentBEIS/inspect_ai#3928? If we go with the run config file approach, we could achieve some of the configuration functionality that Justin was talking about in Slack and in these GH comments: Comment 1 and Comment 2. E.g. some users might want to run the implementation most faithful to the paper (i.e. same grader models, same temperature) and other users might want more control.
At the moment, this file has the content that would be submitted to inspect_evals when hooking this eval into the register.
Do you think the "run config file" would add value here as a way to document the paper defaults in code and make them easy to run? And, would using the "run config file" approach add more complexity to the implementation?
There was a problem hiding this comment.
ah yes, we can definitely add config files for the paper settings. It would be very useful for users who want to reproduce the paper results. I didn't add it yet, because I don't have all the options working yet.
It shouldn't add much complexity. I think I just need to add config files with the settings from the paper. This eval.yaml file will remain as is, because we need for the inspect_evals submission. I will name the config files differently: paper_config_bare.yaml and paper_config_tools_high.yaml
There was a problem hiding this comment.
Cool, sounds good!
This eval.yaml file will remain as is, because we need for the inspect_evals submission.
This actually doesn't need to live in the eval repo, it will be part of the PR that's raised to the inspect_evals repo and then live in the register/ dir of inspect_evals, e.g. here: https://github.com/UKGovernmentBEIS/inspect_evals/blob/main/register/hangman-bench/eval.yaml
There was a problem hiding this comment.
Ah thanks for pointing this out. I will remove this file then and submit it with the inspect_evals' PR.
I had included it here, because the examples all have this yaml file. Maybe adding a comment at the top that this file is meant for the registry would be helpful for users?
There was a problem hiding this comment.
oh actually we do need the eval.yaml file: after removing it several CI checks failed:
There was a problem hiding this comment.
Whoops, sorry @iphan! 🤦♀️ Let's add it back for now.. I'll add to our backlog that we can probably remove this from the template and update the CI (but will catch up on context about why it's included in the template first)
| path, | ||
| name=None if config == "default" and len(config_names) == 1 else config, | ||
| revision=revision, | ||
| trust_remote_code=False, |
There was a problem hiding this comment.
why remove this? should it be trust_remote_code=True with a comment explaining why it's needed?
There was a problem hiding this comment.
Since datasets version 4.0.0, this input param was removed from load_dataset_builder(), see code here
Then this should be updated in the template:
- either specify the datasets version to use
- or remove this option altogether
There was a problem hiding this comment.
ohh i see, thank you! we'll update the template
ItsTania
left a comment
There was a problem hiding this comment.
Looks good! (No comments from my end - the design doc is great + useful thanks)
This PR contains
More details in the design doc
Description
Initial port of LAB-Bench 2 (EdisonScientific/labbench2) into this inspect_evals template as the lab_bench_2 evaluation. This is Phase 1 of a phased port (see implementation plan details):
correctscores 1.0. Reports accuracy and stderr.Validation
Automated Checks
make check
make test
Manual