28 lines
908 B
Python
28 lines
908 B
Python
"""HMMT Feb 2026. No official standalone release; community-curated (evalscope)."""
|
|
|
|
from ..sample import Sample
|
|
from ..registry import register_dataset
|
|
from ..spec import DatasetSpec
|
|
|
|
|
|
@register_dataset(
|
|
DatasetSpec(
|
|
name='hmmt26',
|
|
source='evalscope/hmmt_feb_2026', # curated; no official upstream release (ModelScope)
|
|
split='train', # the mirror ships a single train split
|
|
task_type='math',
|
|
tags=['math', 'competition'],
|
|
description='HMMT February 2026 (community-curated, no official upstream).',
|
|
params={'hub': 'modelscope'},
|
|
)
|
|
)
|
|
def hmmt26():
|
|
def to_sample(record: dict) -> Sample:
|
|
return Sample(
|
|
input=record['problem'],
|
|
target=str(record['answer']).strip(),
|
|
metadata={'problem_idx': record.get('problem_idx'), 'problem_type': record.get('problem_type')},
|
|
)
|
|
|
|
return to_sample
|