Skip to content

Add multiple BPB variants including per-language options - #1372

Merged
fsschneider merged 7 commits into
mainfrom
feat/bpb_versions
Nov 26, 2026
Merged

fsschneider merged 7 commits into
mainfrom
feat/bpb_versions

Conversation

@fsschneider

Copy link
Copy Markdown
Collaborator

Description

Adds bits-per-byte (BPB) variants of several pre-training benchmarks: the options are hidden (cloze prompt), and only the full text of the gold answer is scored (one forward pass per item).

New tasks

Task Prompt
ARC_BPB the ARC cloze prompt
GoldenSwag_BPB the GoldenSwag cloze prompt
MMLU_BPB Question: / Answer: with the preamble "The following are questions (with answers) about {subject}." (no "multiple choice", because the options are hidden)
PIQA_BPB the PIQA_OLMES Goal: prompt without options; evaluated on validation, few-shot examples from train
GlobalMMLU_{FR,DE,ES,IT,PT,AR,NL,PL,TR,RU,UK,RO}_BPB one task per language
GlobalMMLULite_{FR,DE,ES,IT,PT,AR}_BPB one task per language: the languages that Global-MMLU-Lite shares with our locales

Global MMLU details

  • The BPB tasks have one language per task, so they use ChoiceReader + BPBStyle (like MMLU-ProX) instead of the custom eval kind of GlobalMMLU.
  • Each locale gets a cloze_preamble_template: its existing preamble with only the "multiple choice" phrase removed. Native speakers, please check AR, TR, RO, NL and PL.
  • Global-MMLU-Lite is new: pinned at 36c2fd75. Its test split covers only 43 of the 57 MMLU subjects (the same 43 in every language), so the Lite tasks list exactly those.

Naming: the IDs follow the existing sibling tasks (ARC_IDK, MMLU_IDK, GlobalMMLU_German, …), not docs/naming_convention.md, so that each new variant sits next to its siblings.

Tests

  • One prompt-spec test per new task.
  • 66 new formatter hashes. No existing hash changed.

Comment thread src/eval_framework/benchmarks/piqa.py Resolved

@martinreinhardt01 martinreinhardt01 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor non-blocking nitpicks, overall thanks for the work!

@fsschneider
fsschneider enabled auto-merge (rebase) November 26, 2026 12:35
@fsschneider
fsschneider merged commit b177f5d into main Nov 26, 2026
7 checks passed
@fsschneider
fsschneider deleted the feat/bpb_versions branch November 26, 2026 12:37
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