Download code/configs/datasets.yaml from Palaestra/pocket-math-ops: direct link, hf CLI and curl.
- Browser
- Download file 7.38 kB
-
https://huggingface.co/datasets/Palaestra/pocket-math-ops/resolve/main/code/configs/datasets.yaml
- Command line
-
hf download hf://datasets/Palaestra/pocket-math-ops/code/configs/datasets.yaml
-
curl -L -o datasets.yaml https://huggingface.co/datasets/Palaestra/pocket-math-ops/resolve/main/code/configs/datasets.yaml
7.38 kB
| # 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)." | |