← Datasets

Compare

CodeForces-CoTs
#1160 · remove
DCLM-baseline
#1158 · remove
Kinddatasetdataset
Published20252024
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.
License familyPermissivePermissive
AccessFreeFree
Modalitiestexttext
Size100K to 1M rows1B to 10B rows
Downloads (last month)5,548630,590
Likes226318
Last updated2025-03-282024-07-22
Formatsparquetjson
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.
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.
TypeAnnotated code-reasoning SFT / problem + R1 CoT + messagesPretraining corpus / filtered Common Crawl web text
CostFreeFree
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.
ModalityText-only (English statements + C++/Python). No images.Text-only (English web). No images.
Domaincompetitive programming; Codeforces; code reasoning SFTweb pre-training; Common Crawl English; DataComp-LM benchmark
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.
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-Pool
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.
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.
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.
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.
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).
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.
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.
Idea qualityHighHigh
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)
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.
Collection methodDownloadDownload
StaticUnknown (HF lastModified 2025-03-28; contests through 2025; one-shot).Unknown (HF lastModified 2024-07-22; CC window prior to 2023; one-shot).
ProcessedUnknownUnknown
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-Pool