| 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. | ODC-By (HF card YAML odc-by). Also subject to Common Crawl Terms of Use. Code subset inherits Stack-V2 / per-file detected_licenses (preview MIT and no_license). Synthetic QA teacher terms (Llama-3.3 / Qwen-2.5) may still apply if used to train a distributed model. | CC-BY-4.0 (HF card YAML). Card: ready for commercial/non-commercial use. Qwen2.5-32B-Instruct / Genetic-Instruct teacher terms may still apply if used to train a distributed model. GitHub seed function licenses and TACO contest-problem licenses remain. |
|---|
| License family | Permissive | Permissive | Permissive |
|---|
| Access | Free | Free | Free |
|---|
| Language codes | — | en | en |
|---|
| Modalities | text | text | text |
|---|
| Size | 100K to 1M rows | 100M to 1B rows | 1M to 10M rows |
|---|
| Downloads (last month) | 5,548 | 82,620 | 31,198 |
|---|
| Likes | 226 | 134 | 111 |
|---|
| Last updated | 2025-03-28 | 2025-04-09 | 2025-04-28 |
|---|
| Tasks | — | text-generation | text-generation |
|---|
| 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. | Card table 215.1M samples / 371.6B tokens (mean 1,727.6 tok/sample). Breakdown (card, not extra overlapping n): Web Domain 121.5M / 279.0B (Web 106.5M / 263.9B; Web-Pro 15.0M / 15.1B); Code Domain 13.4M / 28.1B; Synthetic 80.2M / 64.5B (Translated Code 7.4M / 7.2B; Q&A 22.6M / 7.0B; Text&Code Block 50.2M / 50.3B). Hub/datasets-server default train 217,499,877 / usedStorage 1,118,247,802,657 bytes (~1.12 TB) / 5,314 parquet. YAML size_categories 1B<n<10B vs Hub tag 100M<n<1B — catalog card 215.1M / 371.6B tokens, not the 1B-row tag. LFS layout: megamath-web 4,950 parquet (99 CC dumps × 50); megamath-web-pro 100; megamath-code 16; megamath-qa 32 (16 llama-3.3 + 16 qwen-2.5); megamath-text-code-block 200; megamath-translated-code 16. Hub overview 72.8K downloads / 131 likes at check. gated=false. | Card/paper 5 million samples. YAML config train 5,000,000 / download_size 6,861,113,102 bytes (~6.86 GB) / dataset_size 19,066,895,906 bytes (~19.07 GB). usedStorage 8,644,941,304 bytes (~8.64 GB). LFS data/train-00000-of-00050.parquet … train-00049 (~113.9–154.6 MB; 50 files). size_categories YAML 1M<n<5M vs Hub tag 1M<n<10M — catalog YAML/card 5,000,000. Hub/datasets-server viewer-partial 4,969,570; datasets-server info currently 1,400,000 / 7 parquet (partial convert of 50) — do not catalog 1.4M as n. Hub overview 14.7K downloads / 108 likes at check. gated=false. |
|---|
| 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. | parquet in six directories (megamath-web, megamath-web-pro, megamath-code, megamath-qa, megamath-text-code-block, megamath-translated-code). No YAML configs; Hub auto default concatenates 5,314 parquet. Code preview columns: file_info, repo_info. Web/QA schemas Unknown from the default first-rows (code schema). | parquet under data/train-00000-of-00050.parquet … train-00049. Columns: id, input, output, domain, generation_algorithm, llm_judgement, unit_tests, tests_execution_status, average_test_score. Hub config_name train (not default). |
|---|
| Type | Annotated code-reasoning SFT / problem + R1 CoT + messages | Pretraining corpus / math web + math code + synthetic QA/text-code | Annotated synthetic code-instruction SFT / NL prompt + Python solution + unit tests + LLM judgement |
|---|
| Cost | Free | Free | Free |
|---|
| Languages | English problem statements + C++/Python solutions (card). Prompt is English. No LID table. Per-language percents N/A. | English 100% (card language:en). Paper: fastText LID keep score ≥0.65 on CC WARCs. Code subset is source-code (preview Python) with English comments. No per-language percent table beyond the English filter. Per-language percents N/A. | English prompts + Python solutions (paper: code-instruction dataset in Python). Card language:en. Preview NL-to-Python tasks. No LID table. Per-language percents N/A. |
|---|
| Modality | Text-only (English statements + C++/Python). No images. | Text-only (English web/QA + source code). teasor.png is not extra n. | Text-only (English problem statements + Python). No images. |
|---|
| Domain | competitive programming; Codeforces; code reasoning SFT | math pre-training; Common Crawl math web; math-related code; synthetic math QA / text-code blocks | Python code generation; instruction SFT; unit-test execution feedback |
|---|
| 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. | Paper arXiv 2504.02807 (Hub publishedAt 2025-04-03T17:52:07Z; COLM 2025). HF createdAt 2025-03-30; lastModified 2025-04-09T13:17:50Z. Web from 99 Common Crawl snapshots CC-MAIN-2014-15 through CC-MAIN-2024-46. One-shot curation, not a live crawl. | Paper arXiv 2504.04030 (Hub publishedAt 2025-04-05T02:52:16Z). Card creation January 2025–March 2025; release 2025-04-28. HF createdAt 2025-04-09; lastModified 2025-04-28T19:08:02Z. One-shot Genetic-Instruct synthesis, not a live GitHub scrape. |
|---|
| Purpose | Train reasoning models on Codeforces tasks using DeepSeek-R1 CoT traces (C++ default; Python _py configs) | Largest open English math pretrain corpus (paper: 371.6B tokens) for math-centric LLM pre-training | Largest open-access code instruction-tuning set (paper Table 1) for SFT of code LLMs |
|---|
| 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. | Paper continued-pretrain of Llama-3.2-1B/3B (IFM/MegaMath-Llama-3.2-*). marin-community/marin-32b-base lists MegaMath among sources. Hub overview 72.8K downloads / 131 likes at check. Paper 35 upvotes / 6 linked models at paper-metadata check. GitHub LLM360/MegaMath 110 stars / 8 forks at check. Part of TxT360 (LLM360). | Paper OCI-Llama3 and OCI-Qwen2.5-Coder SFT vs Llama3-Instruct / Qwen2.5-Coder-Instruct on HumanEval, MBPP, LiveCodeBench, BigCodeBench. Hub overview 14.7K downloads / 108 likes at check. Paper 4 upvotes at paper-metadata check. GitHub NVIDIA-NeMo/Skills 1,022 stars / 194 forks at check. Distinct from already-cataloged OpenCodeReasoning. |
|---|
| 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. | LLM360 / IFM (Zhou, Wang, Ranjan, Cheng, Tang, He, Liu, Xing; arXiv 2504.02807). Web authors from Common Crawl math pages. Code recalled from Stack-V2 (public processed files here). Synthetic QA from Llama-3.3 and Qwen-2.5 (megamath-qa/llama-3.3 and qwen-2.5 shards). Not a human-annotated contest set. | NVIDIA (Ahmad, Ficek, Samadi, Huang, Noroozi, Majumdar, Ginsburg; arXiv 2504.04030). Seeds: 1.43M generic OSS-Instruct items from GitHub Python functions (Qwen2.5-32B-Instruct) plus 25,443 TACO contest questions. Genetic-Instruct (Self-Instruct + Evol-Instruct) then LLM unit tests/judgement. Not organic GitHub commits. |
|---|
| 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. | English CC math-web (fastText math classifier trained from Open-Web-Math positives + Llama-3.1-70B-Instruct silver labels) plus Stack-V2 math-code recall plus LLM-synthetic QA/code. Web-Pro is an LM-filtered/refined subset of Web — not extra n. Distinct from already-cataloged FineMath (HuggingFaceTB educational CC math, ~34B FineMath-3+ tokens) and OpenCoder FineWeb Math Corpus (5.2M FineWeb math recall). Code comes from Stack-V2 but this repo is a public processed dump — not Hub-gated bigcode/the-stack-v2 / HuggingFaceTB/stack-edu. | Python-only NL-to-code. Seeds overweight GitHub-Python OSS-Instruct plus TACO contest platforms (paper Table 2: CodeForces 8,193 / CodeChef 3,352 / GeeksForGeeks 2,680 / Codewars 2,460 / HackerEarth 2,390 / AIZU 2,151 / AtCoder 1,440 / Kattis 1,236 / LeetCode 777 / HackerRank 764; total 25,443). datasets-server partial statistics on 1,400,000 rows (partial=true, not full 5M): domain generic 744,201 / algorithmic 655,799; generation_algorithm self-instruct 1,089,553 / evol-instruct 310,447; average_test_score 1: 549,389 / 0: 285,371 / 0.9: 172,537 (rest 0.1–0.8). Distinct from already-cataloged OpenCodeReasoning / OpenCoder SFT Stage 2 / rStar-Coder. |
|---|
| 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. | Paper: two-stage Resiliparse then trafilatura HTML math extraction (LaTeX preserved); MinHash-LSH dedup; second-stage fastText. Ablations claimed stronger downstream than OpenWebMath / InfiMM-WebMath-class baselines. Hub default first-rows are Stack-v2-style file_info/repo_info Python files (Navier-Stokes; Deep_Learning_With_Python) — code-subset schema, not web text. datasets-server rows endpoint 501 on default. Residual: CC boilerplate; synthetic QA teachers; code license mix including no_license; not independently re-extracted here. Skip open-web-math/open-web-math as a separate row (FineMath already cataloged as the stronger web successor); MegaMath is a larger web+code+synth mix. | Preview row 0 (max non-overlapping tasks) and row 1 (balanced brackets) are well-posed Python NL-to-code items with assert unit tests and llm_judgement scores of 5 on requirement/logic. Paper: LLM judgement predicted quality better than execution feedback; Genetic-Instruct beat either Self-Instruct or Evol-Instruct alone. Residual: fully synthetic; datasets-server partial average_test_score 0 on 285,371 / 1.4M (~20%); not independently executed here; Python-only vs already-cataloged multilingual code dumps. |
|---|
| 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. | Card 215.1M across six subsets (see Scale). Hub default train 217,499,877 is the auto-concat — catalog card 215.1M. Web-Pro is a quality subset of Web, not extra n. megamath-qa llama-3.3 vs qwen-2.5 are teacher shards inside Q&A 22.6M. No val/test. Do not add OctoThinker/MegaMath-Web-Pro-Max as extra n. | Single Hub config train / split train. Card/YAML 5,000,000. No val/test. domain and generation_algorithm are columns not Hub configs. datasets-server 1.4M is a partial parquet convert — not extra n. Do not concat with already-cataloged OpenCodeReasoning. |
|---|
| 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. | Mixed (card avg 1,727.6 tok/sample; Web mean 2,478.7 / Code 2,102.7 / Q&A 308.3). Full web documents can be long. Exact token histogram Unknown without aggregating parquet. | No (short NL-to-Python items). datasets-server partial: input mean 769 / median 693 chars; output mean 936 / median 792 chars. Exact token histogram Unknown without aggregating. |
|---|
| 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 (99 CC WARC re-extract with math HTML fixes; two-stage extractor + fastText math filter + MinHash; Web-Pro LM filter/refine; Stack-V2 math-code recall; synthetic QA / translated-code / interleaved text-code blocks). Code Apache-2.0 at github.com/LLM360/MegaMath. | Yes (GitHub Python functions → OSS-Instruct seed instructions via Qwen2.5-32B-Instruct; TACO algorithmic seeds; Genetic-Instruct mutation/crossover ~9M then n-gram dedup/clean/decontam to 5M; LLM unit tests + execution feedback + LLM judgement). Pipeline in NVIDIA-NeMo/Skills. |
|---|
| Idea quality | High | High | High |
|---|
| Novelty | High (public ~48k R1 CF traces vs already-cataloged OpenCodeInstruct Genetic-Instruct / OpenCodeReasoning) | High (public 371.6B-token math pretrain vs already-cataloged FineMath / OpenCoder FineWeb Math) | High (public 5M Python instruction SFT with tests/judgement vs already-cataloged OpenCodeReasoning / OpenCoder SFT) |
|---|
| 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. | Ready parquet but Hub default concatenates mismatched schemas (~1.12 TB). Prefer load_dataset('IFM/MegaMath', data_dir='megamath-web-pro') or data_files per subset; streaming required. LLM360/MegaMath redirects to IFM/MegaMath — do not concat as extra n. datasets-server rows 501 on default. | Ready parquet; README load_dataset('nvidia/OpenCodeInstruct', split='train') — Hub config is 'train'. ~6.86 GB download — streaming recommended. Do not treat datasets-server 1.4M partial convert as full n. |
|---|
| Collection method | Download | Download | Download |
|---|
| Static | Unknown (HF lastModified 2025-03-28; contests through 2025; one-shot). | Unknown (HF lastModified 2025-04-09; CC window through 2024-46; one-shot). | Unknown (HF lastModified 2025-04-28; one-shot). |
|---|
| Processed | Unknown | Unknown | Unknown |
|---|
| Summary | Train reasoning models on Codeforces tasks using DeepSeek-R1 CoT traces (C++ default; Python _py configs) | Largest open English math pretrain corpus (paper: 371.6B tokens) for math-centric LLM pre-training | Largest open-access code instruction-tuning set (paper Table 1) for SFT of code LLMs |
|---|