← Datasets

Compare

TACO
#1162 · remove
CodeForces-CoTs
#1160 · remove
DCLM-baseline
#1158 · remove
Kinddatasetdatasetdataset
Published202320252024
LicenseApache-2.0 (HF card YAML). TACO.py Info.license string says MIT — conflict; YAML/tag used here. Mixed upstream (APPS, CodeContests, Description2Code MIT, contest-site terms). HackerRank legal rights Unknown (card).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.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 familyPermissivePermissivePermissive
AccessFreeFreeFree
Language codescode——
Modalitiestexttexttext
Size10K to 100K rows100K to 1M rows1B to 10B rows
Downloads (last month)20,4935,548630,590
Likes144226318
Last updated2024-06-192025-03-282024-07-22
Taskstext-generation——
Formats—parquetjson
ScaleYAML ALL train 25,443 / test 1,000 (sum 26,443) / download_size 2,419,844,942 bytes (~2.42 GB) / dataset_size 4,720,792,728 bytes (~4.72 GB). Paper 26,443 problems / 1,539,152 verified Python 3 solutions (from 2,045,502 before dedup; mean 58.21 solutions/problem). Train mean 51.6 tests/problem; test mean 202.3. LFS ALL/ 9 train parquet 286.9+327.2+177.5+179.5+205.7+271.7+213.8+260.1+251.6 MB plus test 245.8 MB. Loading-script train/*.arrow 9 files ~4.24 GB listed (529.6+612.9+335.2+402.7+417.0+503.1+447.5+525.7+465.6 MB) — same n, do not concat with ALL parquet. size_categories 10K<n<100K. datasets-server 501 (arbitrary Python / trust_remote_code). usedStorage Unknown. Hub overview 81.5K downloads / 143 likes at check. gated=false. Paper train 25,433 vs YAML 25,443 — catalog YAML 25,443.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 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 under ALL/ plus Arrow train/test used by TACO.py (trust_remote_code). Columns: question, solutions, starter_code, input_output, difficulty, raw_tags, name, source, tags, skill_types, url, Expected Auxiliary Space, time_limit, date, picture_num, memory_limit, Expected Time Complexity. Default config ALL.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.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 contest-code corpus / problem + Python solutions + unit tests + skill/difficulty metadataAnnotated code-reasoning SFT / problem + R1 CoT + messagesPretraining corpus / filtered Common Crawl web text
CostFreeFreeFree
LanguagesEnglish problem statements + Python 3 solutions (card language:code). No LID table. Per-language percents N/A.English 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 + Python). picture_num flags optional problem images — not extra problem n; not a vision corpus.Text-only (English statements + C++/Python). No images.Text-only (English web). No images.
Domaincompetitive programming; Python code generation; algorithmic skill labelscompetitive programming; Codeforces; code reasoning SFTweb pre-training; Common Crawl English; DataComp-LM benchmark
Time periodPaper arXiv 2312.14852 (Hub publishedAt 2023-12-22T17:25:42Z). HF createdAt 2023-12-20; lastModified 2024-06-19T09:16:49Z. Card: some test-set cases later removed/modified — use newest version. One-shot contest harvest, not a live scrape.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 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 and evaluate NL-to-Python models on contest problems with topics/algorithms/skills/difficulty metadataTrain 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 forPaper TACO StarCoder finetunes (flagopen/starcoder*). Already-cataloged OpenCodeInstruct used 25,443 TACO questions as algorithmic seeds — this is the original problem+solution dump, not extra OpenCodeInstruct n. Hub overview 81.5K downloads / 143 likes at check. Paper 4 upvotes / GitHub 240 stars at paper-metadata check.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 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.
AuthorsLi, Fu, Zhang, Huang, Sun, Lyu, Liu, Jin, Li (BAAI / Shandong Normal / Peking University; arXiv 2312.14852). Problems from contest platforms (Codeforces, CodeChef, HackerRank, GeeksforGeeks, plus APPS/CodeContests/Description2Code). Human contest authors; solutions are submitted Python 3.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.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.
BiasPython-3-only (paper: C++ dominates contests; they kept Python for cleaner syntax). Contest-platform mix (Codeforces/CodeChef/HackerRank/GfG plus APPS/CodeContests). Difficulty configs EASY–VERY_HARD and 8 skill filters are views of ALL, not extra n. Distinct from already-cataloged OpenCodeInstruct / CodeForces-CoTs / DeepCoder Preview Dataset / rStar-Coder.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 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 qualityREADME sample is CF 1492/B (card reordering) with multiple Python solutions and I/O tests. Paper: unit-test verification; test-set cases later patched (card Key Update). Residual: datasets-server 501 so quality not independently sampled across all 26k here; some picture_num>0 items; HackerRank license Unknown (card). Do not paste long solutions as gold.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.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 sizeALL train 25,443 / test 1,000. Difficulty configs (EASY/MEDIUM/MEDIUM_HARD/HARD/VERY_HARD) and skill configs are filters of ALL — not extra n. Do not concat with already-cataloged OpenCodeInstruct or open-r1/codeforces-cots. Unofficial DONG19/TACO parquet remap is 26,443 — not extra n.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.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 contextMixed (full problem + many solutions; YAML ~4.72 GB / 26,443 ≈ ~179 KB uncompressed/row). Exact token histogram Unknown without aggregating.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 (full web pages). Exact token histogram Unknown without aggregating. Card ~4T / ~3B docs ≈ ~1.3k tok/doc if both figures hold.
Intermediate stepsYes (scrape CodeChef/CF/HR/GfG; merge APPS/CodeContests/Description2Code; decomment/dedup solutions; augment tests; 968→36 algorithmic categories; unit-test verify). Code at github.com/FlagOpen/TACO.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 (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 qualityHighHighHigh
NoveltyHigh (public 26k labeled contest dump with 1.54M solutions vs already-cataloged OpenCodeInstruct Genetic-Instruct)High (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('BAAI/TACO', split='train') uses default ALL. ~2.42 GB parquet / ~4.24 GB arrows — streaming recommended. datasets-server 501 — do not wait on viewer. Filter difficulties=[...] or skills=[...] are views, not extra n. Do not concat ALL parquet + train arrows.Ready 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 methodDownloadDownloadDownload
StaticUnknown (HF lastModified 2024-06-19; test cases patched; one-shot).Unknown (HF lastModified 2025-03-28; contests through 2025; one-shot).Unknown (HF lastModified 2024-07-22; CC window prior to 2023; one-shot).
ProcessedUnknownUnknownUnknown
SummaryTrain and evaluate NL-to-Python models on contest problems with topics/algorithms/skills/difficulty metadataTrain 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