| Kind | dataset | dataset | dataset |
|---|
| Published | 2025 | 2025 | 2025 |
|---|
| License | HF card YAML/tag CC-BY-4.0; README body ODC-By 4.0 — conflict. Both attribution licenses; YAML/tag used here with the README ODC-By note. DeepSeek-R1 terms may still apply if used to train a distributed model. Codeforces problem-statement terms remain. | apache-2.0 | Apache-2.0 on the original BytedTsinghua-SIA/DAPO-Math-17k card. Processed card YAML has no license field; treat as the upstream Apache-2.0 plus AoPS/contest source terms. GitHub DAPO license null. |
|---|
| License family | Permissive | Permissive | Permissive |
|---|
| Access | Free | free | free |
|---|
| Language codes | — | en | — |
|---|
| Modalities | text | text | text |
|---|
| Size | 100K to 1M rows | 100K to 1M rows | 10K to 100K rows |
|---|
| Downloads (last month) | 5,548 | 153,637 | 6,427 |
|---|
| Likes | 226 | 804 | 88 |
|---|
| Last updated | 2025-03-28 | 2025-02-18 | 2025-11-10 |
|---|
| Formats | parquet | parquet | parquet |
|---|
| Scale | Card ~10k CF problems, up to five R1 traces, totaling close to 100k samples. YAML default solutions train 47,780 / download_size 1,887,049,179 bytes (~1.89 GB) / dataset_size 4,968,074,271 bytes (~4.97 GB). 10 LFS parquet ~173.6–208.2 MB. Other configs are overlapping subsets — not extra n: checker_interactor 35,718; solutions_decontaminated 40,665; solutions_py 9,556; solutions_py_decontaminated 8,133; solutions_short_and_long_decontaminated 16,266; solutions_w_editorials 29,180; solutions_w_editorials_decontaminated 24,490; solutions_w_editorials_py 11,672; solutions_w_editorials_py_decontaminated 9,796; test_input_generator 20,620. Config-sum 253.9K / YAML download_size sum ~9.69 GB is stored overlap, not extra problems. size_categories 100K<n<1M. Hub/datasets-server solutions 47.8K / 23 columns. Hub overview 80.5K downloads / 223 likes at check. gated=false. | 220k math problems (94k default, 131k extended), 2-4 reasoning traces per problem | Processed `all`: 17,398 unique train rows after prompt dedup; size_categories 10K<n<100K. YAML: dataset_size 15,775,526 bytes (~15.8 MB); download_size 6,271,739 bytes (~6.27 MB). en 14,116 / 5.23 MB download; cn 3,282 / 1.01 MB. usedStorage 12,508,824 bytes (~12.5 MB). Original BytedTsinghua-SIA/DAPO-Math-17k viewer reports 1.8M rows / 309.7 MB parquet / usedStorage ~609 MB — ~100× duplicated copies of the ~17k prompts; paper states 17K prompts each with an integer answer. |
|---|
| Format | parquet per config (solutions/train-00000-of-00010.parquet …). Default config solutions. Columns include id, contest metadata, title/description/formats/examples/editorial, prompt, generation, finish_reason, api_metadata, messages. Decontaminated configs add tests plus accepted/failed_solutions. | Instruct samples (User prompt, Assistant response with <think> tags) | parquet (prompt, solution, data_source, source_prompt list[{content, role}], ability, reward_model {ground_truth, style}, extra_info {index}) |
|---|
| Type | Annotated code-reasoning SFT / problem + R1 CoT + messages | Question & verified answer with reasoning traces | Annotated math RL corpus / prompt–integer-answer pairs (TRL GRPO layout) |
|---|
| Cost | Free | Free | Free |
|---|
| Languages | English problem statements + C++/Python solutions (card). Prompt is English. No LID table. Per-language percents N/A. | English | Processed `all` 17,398: English 81.1% (14,116) / Chinese 18.9% (3,282) by CJK-character regex on the flattened prompt. Original BytedTsinghua card tags language:en only and understates the Chinese share. |
|---|
| Modality | Text-only (English statements + C++/Python). No images. | Text-only | Text-only |
|---|
| Domain | competitive programming; Codeforces; code reasoning SFT | Mathematics | competition mathematics; RLVR / GRPO; integer-answer math problems |
|---|
| Time period | HF createdAt 2025-02-27; lastModified 2025-03-28T12:21:06Z. Problems from the first Codeforces contests through 2025. One-shot DeepSeek-R1 generation, not a live scrape. | ~2025 | HF createdAt 2025-04-10; lastModified 2025-11-10. Source BytedTsinghua-SIA/DAPO-Math-17k created 2025-03-17 / lastModified 2025-04-18. Paper arXiv 2503.14476 (2025-03-18). Underlying AoPS / official contest pages are older than the 2025 scrape+rewrite. |
|---|
| Purpose | Train reasoning models on Codeforces tasks using DeepSeek-R1 CoT traces (C++ default; Python _py configs) | Mathematical reasoning, Supervised Fine-Tuning (SFT), Preference Optimization (DPO) | Deduplicated, TRL-GRPO-formatted prompts+integer ground truth from DAPO-Math-17k for large-scale math RL |
|---|
| Used for | Open-R1 code SFT. Hub overview 80.5K downloads / 223 likes at check; owner listing 6,466 downloads. Sibling open-r1/codeforces (problems+editorials; 101 likes / 12.0K downloads) is the problem dump — not extra n. | https://huggingface.co/BSC-LT/ALIA-40b-instruct-2601 | Original DAPO-Math-17k trained DAPO-Qwen-32B (Qwen2.5-32B base → 50 avg@32 on AIME 2024). This open-r1 processed split is the common TRL/verl reload (5,927 downloads / 82 likes at check). GitHub BytedTsinghua-SIA/DAPO 1,855 stars / 85 forks at check. Many later math-RL papers cite DAPO-Math-17k as the 17k integer-answer train set. |
|---|
| Authors | Hugging Face Open-R1 (Penedo, Lozhkov, Kydlíček, Ben Allal, Beeching, Piqueres Lajarín, Gallouédec, Habib, Tunstall, von Werra). Traces generated by DeepSeek-R1. Problem authors are Codeforces setters; card ~60% have human editorials. | Deepseek R1 | Problems scraped+manually annotated from AoPS and official contest homepages (ByteDance Seed / Tsinghua AIR DAPO dataset team). Integer-answer rewrites via LLM (paper Appendix A CoT transform). open-r1 (Hugging Face Open-R1) flattened/deduped for TRL. |
|---|
| Bias | Codeforces contest mix (ICPC/CF rounds); C++ default vs one Python completion per problem in _py. Unfiltered traces (card ~84% of Python pass public tests). Decontaminated configs drop 8-gram overlap vs AIME24/25, GPQA Diamond, MATH-500, LiveCodeBench. Distinct from already-cataloged OpenCodeInstruct / OpenCodeReasoning / DeepCoder Preview Dataset / rStar-Coder. | extended' split is skewed toward less difficult questions due to 'cn_k12' source | Integer-answer contest math only (AIME-style rewrite of expressions/formulas into a+b+c-type integers), so Olympiad symbolic/π/radical answers are out of distribution. AoPS/official-contest mix; English-dominant with a substantial Chinese slice. Difficulty skewed to competition problems usable as RLVR with a rule verifier. Original card size_categories 1M<n<10M reflects the duplicated upload, not unique prompts. |
|---|
| Text quality | solutions_py preview row 0 is 2012 CF 153/B Binary notation (n≤1e6); R1 632 completion_tokens then print(bin(n)[2:]) — a trivial item in the unfiltered set. finish_reason stop. Card: traces not filtered for correctness. Residual: easy/historic contests; R1 overthink; C++/Python mix; DeepSeek-R1 terms; not independently executed here. | High (clean text with LaTeX math formatting) | Paper: scraped+manually annotated, then LLM-rewritten so answers parse as integers for rule-based reward (is_equivalent / string-normalization verifier). ability=MATH; reward_model.style=rule-lighteval/MATH_v2; data_source=math_dapo. Residual rewrite errors possible; not independently re-verified here. Duplicate prompts removed in this repo. |
|---|
| Sample size | Default solutions 47,780. _py is one completion per problem (9,556). _w_editorials / _decontaminated / short_and_long / checker_interactor / test_input_generator are overlapping views. No val/test. Do not concat with open-r1/codeforces problem dump or already-cataloged OpenCodeInstruct. | Long context (75% under 8k tokens, max 16k tokens per generation) | all 17,398 train (default); en 14,116; cn 3,282. Single train split per config. Validation in the DAPO recipe is AIME 2024 (BytedTsinghua-SIA/AIME-2024), not this repo. |
|---|
| Long context | Yes (R1 CoTs; solutions YAML ~4.97 GB / 47,780 ≈ ~104 KB uncompressed/row). Exact token histogram Unknown; preview 632 completion_tokens on a trivial item so the mean is higher. | Yes (long step-by-step logical chains) | No (short contest-math prompts; long CoT appears in RL rollouts, not in this file) |
|---|
| Intermediate steps | Yes (compile open-r1/codeforces from CF; prompt R1 for C++/Python solutions, editorial-conditioned variants, short+long, test-input generators, checker/interactor classifiers; 8-gram decontam). Decontam script github.com/huggingface/open-r1/blob/main/scripts/decontaminate.py. | Yes (step-by-step reasoning traces) | Yes (AoPS/contest scrape + manual annotation + LLM integer-answer rewrite on the original; open-r1 create_dataset.py flattens source_prompt[0].content, drop_duplicates on prompt, CJK regex split into en/cn, TRL GRPO columns). create_dataset.py as published still names contains_chinese_extended while defining contains_chinese — configs on Hub exist, so the live splits were produced from a working variant. |
|---|
| Idea quality | High | High (Verified via Math Verify and Llama-3.3-70B-Instruct judge to ensure at least one correct trace) | High |
|---|
| Novelty | High (public ~48k R1 CF traces vs already-cataloged OpenCodeInstruct Genetic-Instruct / OpenCodeReasoning) | Moderate-Low (existing problems) | Medium (dedup+reformat of DAPO-Math-17k for TRL; language splits are the new value) |
|---|
| Text conversion | Ready parquet; load_dataset('open-r1/codeforces-cots', 'solutions'). Default solutions ~1.89 GB — streaming recommended. Do not concat configs as extra n. | Fully text/LaTeX | Ready parquet; load_dataset("open-r1/DAPO-Math-17k-Processed", name="all"|"en"|"cn") |
|---|
| Collection method | Download | Download | Download |
|---|
| Static | Unknown (HF lastModified 2025-03-28; contests through 2025; one-shot). | Yes | Unknown (HF lastModified 2025-11-10; no later refresh on this repo) |
|---|
| Processed | Unknown | No. Only train on verified and confirmed correct solutions. | Unknown |
|---|
| Summary | Train reasoning models on Codeforces tasks using DeepSeek-R1 CoT traces (C++ default; Python _py configs) | OpenR1-Math-220k is a large-scale dataset for mathematical reasoning. It consists of 220k math problems with two to four reasoning traces generated by [DeepSeek R1](https://huggingface.co/deepseek-ai/DeepSeek-R1) for problems from NuminaMath 1.5. | This is a processed version of [BytedTsinghua-SIA/DAPO-Math-17k](https://huggingface.co/datasets/BytedTsinghua-SIA/DAPO-Math-17k) where we have: |
|---|