- perf_stats aggregator lives in eval/, not model/: the import failed silently and EVERY perf column was empty (not just ttft). Now warns on stderr instead of swallowing. - repeats > 1 get their own checkpoint key (:rep2, :rep3, ...): repeat 2 previously restored repeat 1's predictions and finished instantly with identical scores. rep1 keeps the legacy key (existing checkpoints still resume). - repeats summary: report the MEAN score and aggregate time/tokens over ALL runs (was: last run only). - README: six-benchmark command as the primary example. Co-Authored-By: Claude <noreply@anthropic.com>
30 lines
938 B
Python
30 lines
938 B
Python
"""AIME 2026. No official standalone release; MathArena community curation."""
|
|
|
|
from ..sample import Sample
|
|
from ..registry import register_dataset
|
|
from ..spec import DatasetSpec
|
|
|
|
|
|
@register_dataset(
|
|
DatasetSpec(
|
|
name='aime26',
|
|
source='MathArena/aime_2026', # curated by MathArena (HuggingFace)
|
|
split='train', # the dataset ships a single split
|
|
gen_config={'temperature': 1.0, 'max_tokens': 8192},
|
|
prompt_style='aime_es', # es MathArena template: instruction-first,
|
|
task_type='math',
|
|
tags=['math', 'competition'],
|
|
description='AIME 2026, 30 problems (integer answers 000-999).',
|
|
params={'hub': 'hf_raw'},
|
|
)
|
|
)
|
|
def aime26():
|
|
def to_sample(record: dict) -> Sample:
|
|
return Sample(
|
|
input=record['problem'],
|
|
target=str(record['answer']).strip(),
|
|
metadata={'id': record.get('id')},
|
|
)
|
|
|
|
return to_sample
|