Skip to content

Add inspect-ai backend support for MT-Bench (English + Finnish)#9

Open
ezosa wants to merge 1 commit into
mainfrom
feat/mt-bench-inspect-backend
Open

Add inspect-ai backend support for MT-Bench (English + Finnish)#9
ezosa wants to merge 1 commit into
mainfrom
feat/mt-bench-inspect-backend

Conversation

@ezosa

@ezosa ezosa commented Jun 25, 2026

Copy link
Copy Markdown

Adds native inspect-ai task variants so MT-Bench can run via the inspect backend, which only uses an inspect scorer (it ignores lighteval JudgeLLM metrics). Each task does true 2-turn generation + per-turn LLM-judge scoring.

  • mt_bench/main_inspect.py, mt_bench_fi/main_inspect.py: custom multi-turn solver (generate turn 1, append turn-2 question, generate turn 2) plus two per-turn scorers that grade via a separate judge model reached over the OpenAI-compatible API (SCORER_MODEL_BASE_URL), reusing the existing 1-5 MT-Bench rubric and parsing.
  • main_inspect.py: fix GenerateConfig kwargs for newer inspect-ai (frequence_penalty -> frequency_penalty, log_probs -> logprobs, drop response_format).

Adds native inspect-ai task variants so MT-Bench can run via the inspect
backend, which only uses an inspect scorer (it ignores lighteval JudgeLLM
metrics). Each task does true 2-turn generation + per-turn LLM-judge scoring.

- mt_bench/main_inspect.py, mt_bench_fi/main_inspect.py: custom multi-turn
  solver (generate turn 1, append turn-2 question, generate turn 2) plus two
  per-turn scorers that grade via a separate judge model reached over the
  OpenAI-compatible API (SCORER_MODEL_BASE_URL), reusing the existing 1-5
  MT-Bench rubric and <score> parsing.
- main_inspect.py: fix GenerateConfig kwargs for newer inspect-ai
  (frequence_penalty -> frequency_penalty, log_probs -> logprobs, drop
  response_format).
@ezosa ezosa requested review from chaanim and dzautner June 25, 2026 11:08
@ezosa ezosa self-assigned this Jun 25, 2026
@ezosa ezosa requested a review from adamhrin-amd June 30, 2026 12:06
@adamhrin-amd

Copy link
Copy Markdown
Collaborator

@ezosa added some comments I noticed. I think the linting should also be fixed so the CI tests pass and then it's good to go

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