Skip to content

openr1_math

openr1_math

OpenR1Math(split: str = 'train', config: str | None = None)

Bases: ChatTemplateDataset

open-r1/OpenR1-Math-220k math-reasoning IFT dataset.

Many rows are scraped from competition packets with the literal headers ## Task X.Y.Z. (problem) and ## Solution. (solution); these are dataset-specific framing that doesn't belong in the prompt, so we strip them at load time.