Datasets:
DAPO-Math-17k Clean: 15,074 verified, decontaminated rows
Browse filesFiles changed (2)
- README.mdAdded+102
- data/train.parquetAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102---license: apache-2.0task_categories:- question-answering- text-generationlanguage:- en- zhtags:- math- reasoning- reinforcement-learning- rlvr- decontaminationpretty_name: DAPO-Math-17k Cleansize_categories:- 10K<n<100Kconfigs:- config_name: default data_files: - split: train path: data/train.parquet---
# DAPO-Math-17k Clean
A cleaned version of [DAPO-Math-17k](https://huggingface.co/datasets/BytedTsinghua-SIA/DAPO-Math-17k) for math RL (RLVR / on-policy distillation): problems with one gradable reference answer, in [verl](https://github.com/volcengine/verl) parquet format.
Starting from the 17,917-row processed copy of DAPO-Math-17k released with [thunlp/OPD](https://github.com/thunlp/OPD), the cleaning:
- verified reference answers that strong models disagree with, and corrected or removed the wrong ones;- removed broken, ambiguous, figure-dependent and multi-question statements found during verification;- removed every problem related to seven evaluation sets: AIME 2024, AIME 2025, AIME 2026, HMMT Feb 2025, HMMT Feb 2026, AMC 2023 (`math-ai/amc23`, 40 problems) and OlympiadBench (674 English open-ended problems);- removed exact and near duplicates.
| | rows ||---|---:|| Source rows | 17,917 || Kept | 15,074 || — of which with a corrected answer | 419 || Removed | 2,843 |
## Schema
Same columns as the source file:
- `prompt`: chat messages, `[{"role": "user", "content": <problem>}]`. The content is the bare problem statement. The thunlp/OPD release's trailing answer-format instruction has been stripped; append your own (for example "Please reason step by step, and put your final answer within \boxed{}.").- `reward_model`: `{"ground_truth": <answer>, "style": "rule-lighteval/MATH_v2"}`.- `data_source`: `dapo_math_17k_clean`.- `ability`: `MATH`.- `extra_info`: the source fields (`index`, `problem`, `solution`) plus - `upid`: id of the unique problem text, - `orig_row`: row index in the source file, - `gold_old`: the source answer, - `clean_status`: `keep` or `fix`, - `clean_reason`: why the row was kept or how its answer was confirmed.
## How it was cleaned
1. **Exact duplicates.** Rows with an identical problem string were merged (17,917 rows → 17,255 problems). For the 12 problems whose copies carried different answers, the verified answer was used.2. **First vote.** Qwen3-30B-A3B-Thinking-2507 sampled 4 answers per problem. 1,506 problems were flagged: no sample matched the reference, the majority answer differed from it, near-duplicate problems carried different answers, or the problem had several answers.3. **Verification.** Each flagged problem was solved independently, with executable checks (exhaustive search with a justified bound, exact arithmetic, sympy, coordinates). A second verifier then tried to refute the result, and an adjudicator settled any disagreement. All three were Claude agents. - Verdicts: answer correct, answer wrong (corrected), notation problem (rewritten), ambiguous, broken statement, or undecidable. The last three are removed. - Every correction was checked by a blind verifier that saw only the statement and the original answer. A correction was applied only if the blind verifier reached the same answer; otherwise the problem was removed.4. **Unflagged problems.** The 30B model matched the reference in all 4 samples for these. A random sample was verified the same way: 233 of 235 problems were clean, and none had a wrong answer. The group was accepted.5. **Second vote and verification with a stronger model.** Qwen3.5-122B-A10B voted again on 2,290 problems: unverified problems where the 30B model matched the reference in only 1–3 of 4 samples, every corrected answer, and every confirmed answer the 30B model had disputed. 11 of these problems were voted by Qwen3.5-397B-A17B. Problems the stronger model disputed were verified again, without the earlier verdict. A sample of the ones it agreed with was spot-checked (99 of 100 clean). - Of the 427 first-round corrections, 425 were supported by a second independent source: the stronger model's vote, or a re-verification that reached the same answer without seeing the earlier one.6. **Decontamination (the seven evaluation sets only).** - Candidate pairs (126,560 in total) for the 867 evaluation problems came from: - Qwen3-Embedding-4B nearest neighbours in both directions; - 8-character shingle and number-sequence matches; - pairs found related in earlier rounds. - Qwen3.5-397B-A17B scored every pair as same problem / variant / different. - Pairs above a low threshold were judged by Claude agents, with an independent re-check. So were pairs whose answers coincide and whose problems are near neighbours. A pair counts as related when either judge calls it the same problem or a variant of it. - 9,051 pairs were judged in total, and all 176 previously known related pairs scored above the threshold. - 229 training problems were related to an evaluation problem and removed:
| Evaluation set | Removed training problems | |---|---:| | OlympiadBench | 172 | | AMC 2023 | 48 | | AIME 2024 / 2025 / 2026 | 2 / 1 / 3 | | HMMT Feb 2025 / 2026 | 3 / 0 |
7. **Near duplicates.** Problems with 8-character-shingle Jaccard ≥ 0.8 and the same multiset of numbers were clustered, and one problem per cluster was kept.
Final checks:- No kept problem equals any of the 867 evaluation texts after whitespace and case normalisation.- The highest 8-gram Jaccard between a kept problem and an evaluation problem is 0.48, for two problems that only share the opening phrase.- No two kept problems have the same text.- Every reference answer grades as correct against itself with a math_verify-based grader.
## Limitations
- All verification was done by models (Qwen models and Claude agents); there was no human review.- Unverified problems were accepted on spot checks, so a small share of flawed statements remains (about 1% in the samples).- Only the seven evaluation sets above were decontaminated. Other benchmarks may overlap; MATH-500, for example, is not covered.- Ambiguous cases follow one convention. For example, "the sum of all elements in the solutions" is computed over ordered solutions.
## Source and license
Derived from [BytedTsinghua-SIA/DAPO-Math-17k](https://huggingface.co/datasets/BytedTsinghua-SIA/DAPO-Math-17k) (Apache-2.0), via the processed copy in [thunlp/OPD](https://github.com/thunlp/OPD). Released under Apache-2.0.123version https://git-lfs.github.com/spec/v1oid sha256:53e54b77397c6e74ee65156a371a85a1717404a32f772d9c9d2085d4282a0c89size 5185617README.mdAdded+102
data/train.parquetAdded+3