← Datasets

Compare

CodeForces-CoTs
#1160 · remove
DCLM-baseline
#1158 · remove
OpenCodeInstruct
#1156 · remove
Kinddatasetdatasetdataset
Published202520242025
LicenseHF 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.CC-BY-4.0 (HF card YAML). Also subject to Common Crawl Terms of Use. Card: intended for research use only / not production-ready or code/math-specific.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 familyPermissivePermissivePermissive
AccessFreeFreeFree
Language codes——en
Modalitiestexttexttext
Size100K to 1M rows1B to 10B rows1M to 10M rows
Downloads (last month)5,548630,59031,198
Likes226318111
Last updated2025-03-282024-07-222025-04-28
Tasks——text-generation
Formatsparquetjsonparquet
ScaleCard ~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 4T tokens / 3B documents. Paper also states 3.8T tokens for DCLM-baseline (DCLM-Pool parent: 240T tokens / 200B docs / 370TB gzip). Hub/datasets-server estimated 3,017.8M rows vs partial parquet convert 780.0K / 10 files / 3.0 GB — do not catalog 780K as n. size_categories 1B<n<10B (docs). Layout: 10 global-shard_*_of_10 × 10 local-shard_*_of_10 jsonl.zst. CuratorBote listed ≥279 LFS jsonl.zst in global-shard_01_of_10/local-shard_0_of_10 (listing still going at shard_00000278; sizes ~141–422 MB). usedStorage Unknown (did not sum ~100 local shards). Parquet sibling mlfoundations/dclm-baseline-1.0-parquet is an identical remap (datasets-server estimated 2,732.1M) — not extra n. Hub overview 7.3M downloads / 304 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.
Formatparquet 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.jsonl.zst under global-shard_XX_of_10/local-shard_Y_of_10/shard_*_processed.jsonl.zst. Canonical columns: bff_contained_ngram_count_before_dedupe, language_id_whole_page_fasttext, metadata (WARC), previous_word_count, text, url, warcinfo, fasttext_openhermes_reddit_eli5_vs_rw_v2_bigram_200k_train_prob. Parquet sibling simplifies to text/url/id/language/language_score/fasttext_score.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).
TypeAnnotated code-reasoning SFT / problem + R1 CoT + messagesPretraining corpus / filtered Common Crawl web textAnnotated synthetic code-instruction SFT / NL prompt + Python solution + unit tests + LLM judgement
CostFreeFreeFree
LanguagesEnglish problem statements + C++/Python solutions (card). Prompt is English. No LID table. Per-language percents N/A.English 100% (card language:en). Parquet-sibling preview language=en / language_score 0.933. Canonical jsonl carries language_id_whole_page_fasttext.en. No LID percent table. 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.
ModalityText-only (English statements + C++/Python). No images.Text-only (English web). No images.Text-only (English problem statements + Python). No images.
Domaincompetitive programming; Codeforces; code reasoning SFTweb pre-training; Common Crawl English; DataComp-LM benchmarkPython code generation; instruction SFT; unit-test execution feedback
Time periodHF 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 2406.11794 (Hub publishedAt 2024-06-17T17:42:57Z; HTML v4 2025-04-21). HF createdAt 2024-06-17; lastModified 2024-07-22T15:27:52Z. DCLM-Pool is all Common Crawl prior to 2023, resiliparse-extracted. 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.
PurposeTrain reasoning models on Codeforces tasks using DeepSeek-R1 CoT traces (C++ default; Python _py configs)Research baseline for DCLM; high-quality open English pretrain via heuristic+Bloom+fastText filtering of DCLM-PoolLargest open-access code instruction-tuning set (paper Table 1) for SFT of code LLMs
Used forOpen-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 DCLM 7B (2.6T tokens → 64% MMLU 5-shot / CORE 57.1). Subsequent open-data work (paper: OLMo-2 / Nemotron-CC / WebOrganizer built on DCLM). Hub overview 7.3M downloads / 304 likes at check; paper-page listing 308,015 downloads. GitHub mlfoundations/dclm 1,463 stars / paper 56 upvotes at paper-metadata check.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.
AuthorsHugging 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.DCLM team (Li, Fang, Smyrnis, Ivgi, et al.; UW/Apple/TRI/UT Austin/TAU and others; arXiv 2406.11794). Web authors from Common Crawl. Classifier positives: OpenHermes 2.5 and r/ExplainLikeImFive vs RefinedWeb negatives.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.
BiasCodeforces 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 web. fastText OpenHermes+ELI5 vs RefinedWeb classifier overweights instruction/forum register. Card: not intended for code/math production training. Distinct from already-cataloged FineWeb / FineWeb-Edu (trafilatura + edu classifier) / Falcon RefinedWeb (heuristics only) / Dolma / Ultra-FineWeb. Live-sheet OLMo Mix uses DCLM as a mix component — this is the standalone corpus.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 qualitysolutions_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.Parquet-sibling preview row 0 is a 2012 Apple Stack Exchange NTFS/Time Machine thread (url apple.stackexchange.com/questions/66593; language_score 0.933; fasttext_score 0.113). Readable Q&A with residual SE boilerplate (Take the 2-minute tour; vote widgets). Canonical jsonl viewer 501. Paper: model-based filtering was the key lift vs RefinedWeb heuristics (7B-1x). Residual: CC PII/bias; card PII section More Information Needed; not independently re-extracted here.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 sizeDefault 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.Single train split. No val/test. 10×10 shard grid is storage layout not Hub configs. Do not concat jsonl repo + parquet sibling as extra n. Do not add DCLM-Pool as extra n (raw 240T parent).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 contextYes (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 (full web pages). Exact token histogram Unknown without aggregating. Card ~4T / ~3B docs ≈ ~1.3k tok/doc if both figures hold.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 stepsYes (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 (CC HTML → resiliparse; RefinedWeb-style heuristic filters; Bloom near-dedup; fastText OpenHermes-2.5 + r/ELI5 vs RefinedWeb bigram classifier). Code at github.com/mlfoundations/dclm.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 qualityHighHighHigh
NoveltyHigh (public ~48k R1 CF traces vs already-cataloged OpenCodeInstruct Genetic-Instruct / OpenCodeReasoning)High (public 3.8–4T model-filtered CC pretrain vs already-cataloged FineWeb / RefinedWeb / Dolma)High (public 5M Python instruction SFT with tests/judgement vs already-cataloged OpenCodeReasoning / OpenCoder SFT)
Text conversionReady parquet; load_dataset('open-r1/codeforces-cots', 'solutions'). Default solutions ~1.89 GB — streaming recommended. Do not concat configs as extra n.Ready jsonl.zst; streaming required (TB-scale). Prefer shard globs or the parquet sibling. datasets-server 501 on canonical jsonl; partial 780K parquet convert is not full n.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 methodDownloadDownloadDownload
StaticUnknown (HF lastModified 2025-03-28; contests through 2025; one-shot).Unknown (HF lastModified 2024-07-22; CC window prior to 2023; one-shot).Unknown (HF lastModified 2025-04-28; one-shot).
ProcessedUnknownUnknownUnknown
SummaryTrain reasoning models on Codeforces tasks using DeepSeek-R1 CoT traces (C++ default; Python _py configs)Research baseline for DCLM; high-quality open English pretrain via heuristic+Bloom+fastText filtering of DCLM-PoolLargest open-access code instruction-tuning set (paper Table 1) for SFT of code LLMs