File size: 7,380 Bytes
b16b327
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# Every dataset the build reads. Fields:
#   hf_id, config, split    where it lives on the Hub (loaded at the commit recorded in manifest.json)
#   problem, answer         column names; key is the column that makes uid = "<name>/<key>"
#                           (dotted for nested fields, omitted to use the row index)
#   year | year_field       a fixed year, or the column holding it; max_year drops later rows
#   year_regex              with year_field: group 1 of this pattern, matched against the column, is the year
#   where                   keep only rows whose columns equal these values, or are in the list (dotted paths allowed)
#   problem_strip           regex removed from the problem text (a stock prefix would stop dedup from matching copies)
#   drop_answers            answer strings that mean "no final answer" and drop the row
#   answer_from_choices     the answer column is a letter A-E; the answer becomes that option's text from the problem
#   difficulty              column copied into meta; min_difficulty drops easier rows
#   streaming, columns      read only these columns without downloading the whole dataset
#   role                    dev (evaluation only), pool (distillation and RL), contest_train (past contests)
# Within a role, earlier sources win when problems are duplicated.

sources:
  aime_2024_I: {hf_id: MathArena/aime_2024_I, split: train, problem: problem, answer: answer, key: problem_idx, year: 2024, role: dev}
  aime_2024_II: {hf_id: MathArena/aime_2024_II, split: train, problem: problem, answer: answer, key: problem_idx, year: 2024, role: dev}
  # aime_2025 already holds both parts; adding aime_2025_I or aime_2025_II would count every problem twice.
  aime_2025: {hf_id: MathArena/aime_2025, split: train, problem: problem, answer: answer, key: problem_idx, year: 2025, role: dev}
  aime_2026: {hf_id: MathArena/aime_2026, split: train, problem: problem, answer: answer, key: problem_idx, year: 2026, role: dev}
  hmmt_feb_2024: {hf_id: MathArena/hmmt_feb_2024, split: train, problem: problem, answer: answer, key: problem_idx, year: 2024, role: dev}
  hmmt_feb_2025: {hf_id: MathArena/hmmt_feb_2025, split: train, problem: problem, answer: answer, key: problem_idx, year: 2025, role: dev}
  hmmt_feb_2026: {hf_id: MathArena/hmmt_feb_2026, split: train, problem: problem, answer: answer, key: problem_idx, year: 2026, role: dev}
  hmmt_nov_2025: {hf_id: MathArena/hmmt_nov_2025, split: train, problem: problem, answer: answer, key: problem_idx, year: 2025, role: dev}
  brumo_2025: {hf_id: MathArena/brumo_2025, split: train, problem: problem, answer: answer, key: problem_idx, year: 2025, role: dev}
  smt_2025: {hf_id: MathArena/smt_2025, split: train, problem: problem, answer: answer, key: problem_idx, year: 2025, role: dev}
  cmimc_2025: {hf_id: MathArena/cmimc_2025, split: train, problem: problem, answer: answer, key: problem_idx, year: 2025, role: dev}
  beyond_aime: {hf_id: ByteDance-Seed/BeyondAIME, split: test, problem: problem, answer: answer, year: 2025, role: dev}

  dapo: {hf_id: open-r1/DAPO-Math-17k-Processed, config: en, split: train, problem: prompt, answer: solution, key: extra_info.index, role: pool}
  polaris: {hf_id: POLARIS-Project/Polaris-Dataset-53K, split: train, problem: problem, answer: answer, difficulty: difficulty, role: pool}
  acereason: {hf_id: nvidia/AceReason-Math, split: train, problem: problem, answer: answer, role: pool}
  deepmath:
    hf_id: zwhe99/DeepMath-103K
    split: train
    problem: question
    answer: final_answer
    difficulty: difficulty
    min_difficulty: 5
    streaming: true
    columns: [question, final_answer, difficulty]
    role: pool

  aime_2023_I: {hf_id: MathArena/aime_2023_I, split: train, problem: problem, answer: answer, key: problem_idx, year: 2023, role: contest_train}
  aime_2023_II: {hf_id: MathArena/aime_2023_II, split: train, problem: problem, answer: answer, key: problem_idx, year: 2023, role: contest_train}
  hmmt_feb_2023: {hf_id: MathArena/hmmt_feb_2023, split: train, problem: problem, answer: answer, key: problem_idx, year: 2023, role: contest_train}
  # AIME 2023 comes from the MathArena sets above; its di-zhang copy is reworded ("for which" vs "such that"), so
  # dedup cannot catch it and both copies would be kept.
  aime_1983_2022: {hf_id: di-zhang-fdu/AIME_1983_2024, split: train, problem: Question, answer: Answer, key: ID, year_field: Year, max_year: 2022, role: contest_train}
  # AMC 12 stores only the answer letter. answer_from_choices reads the option's text out of the problem's "(A) ... (E)" list.
  # The year is the first four characters of problem_id ("2019A-P12"); 2021 is missing from the dataset.
  amc12: {hf_id: edev2000/amc12-full, split: train, problem: question, answer: answer, key: problem_id, year_field: problem_id, year_regex: '^(\d{4})', max_year: 2023, answer_from_choices: true, role: contest_train}
  # Omni-MATH has no year or date column; its source column names the contest only. It was released in 2024-09, so the latest
  # contests it can hold are early 2024 (HMMT Feb 2024 is the one that matters), and the n-gram decontamination against dev
  # is what removes them. year is therefore unknown (null).
  omni_math: {hf_id: KbsdJames/Omni-MATH, split: test, problem: problem, answer: answer, year: null, role: contest_train}
  # Numina's olympiads-ref-base: keep only finished word problems that have a final answer; the proof rows carry "proof"
  # or "not found" in answer. Many problem texts end with the solution's "Answer: ..." line (also in MathNet), which
  # problem_strip cuts so the answer is not in the prompt. metadata.year is a string and is null for some rows, which max_year drops.
  olympiads_ref:
    hf_id: project-numina/olympiads-ref-base
    split: train
    problem: problem
    answer: answer
    year_field: metadata.year
    max_year: 2023
    where: {question_type: math-word-problem, problem_is_valid: "Yes"}
    drop_answers: [proof, not found]
    problem_strip: '(?i)\AProblem:|(?s:[ \t*#]*\banswers?[ \t*]*:.*\Z)|(?ms:^[ \t*#]*solutions?[ \t*]*$.*\Z)'
    role: contest_train
  # MathNet v0: country booklets, 30,676 problems. "all" repeats every country config, so only it is read. The id column
  # has collisions, so the uid uses the row index.
  # No year column: competition holds it ("HMMT February 2019", "IMO 2023"), and rows with no year in it are dropped.
  # final_answer is LLM-extracted and null for proof-only rows. MCQ rows hold only a letter and are left out; "language"
  # is null for most rows, and the non-English ones that remain are few.
  mathnet:
    hf_id: ShadenA/MathNet
    config: all
    split: train
    problem: problem_markdown
    answer: final_answer
    year_field: competition
    year_regex: '\b((?:19|20)\d{2})\b'
    max_year: 2023
    where: {problem_type: [final answer only, proof and answer], language: [English, null]}
    problem_strip: '(?i)\AProblem:|(?s:[ \t*#]*\banswers?[ \t*]*:.*\Z)|(?ms:^[ \t*#]*solutions?[ \t*]*$.*\Z)'
    streaming: true
    columns: [id, problem_markdown, competition, problem_type, language, final_answer]
    role: contest_train

dropped:
  hmmt_nov_2024: "Planned dev set (PLAN section 7), but MathArena/hmmt_nov_2024 does not exist on the Hub (checked 2026-11-21)."