Dataset
TACO
Summary
Train and evaluate NL-to-Python models on contest problems with topics/algorithms/skills/difficulty metadata
- Source
- huggingface
- Access
- Free
- License
- Apache-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).
- License family
- Permissive
- Language
- code
- Added
- Aug 14, 2026
- Verified
- Aug 14, 2026
From the source
- Repository
- BAAI/TACO
- Created
- Dec 20, 2023
- Last updated
- Jun 19, 2024
- Downloads (last month)
- 20,493
- Likes
- 144
- Size
- 10K to 100K rows
- Modalities
- text
- Tasks
- text-generation
Topics
competitive programming; Python code generation; algorithmic skill labels
Dataset profile
- Scale
- YAML 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.
- Format
- parquet 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.
- Type
- Annotated contest-code corpus / problem + Python solutions + unit tests + skill/difficulty metadata
- License
- Apache-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).
- Cost
- Free
- Languages
- English problem statements + Python 3 solutions (card language:code). No LID table. Per-language percents N/A.
- Modality
- Text-only (English + Python). picture_num flags optional problem images — not extra problem n; not a vision corpus.
- Domain
- competitive programming; Python code generation; algorithmic skill labels
- Time period
- Paper 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.
- Purpose
- Train and evaluate NL-to-Python models on contest problems with topics/algorithms/skills/difficulty metadata
- Used for
- Paper 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.
- Authors
- Li, 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.
- Bias
- Python-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.
- Text quality
- README 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.
- Sample size
- ALL 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.
- Long context
- Mixed (full problem + many solutions; YAML ~4.72 GB / 26,443 ≈ ~179 KB uncompressed/row). Exact token histogram Unknown without aggregating.
- Intermediate steps
- Yes (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.
- Idea quality
- High
- Novelty
- High (public 26k labeled contest dump with 1.54M solutions vs already-cataloged OpenCodeInstruct Genetic-Instruct)
- Text conversion
- Ready 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.
- Collection method
- Download
- Static
- Unknown (HF lastModified 2024-06-19; test cases patched; one-shot).
- Processed
- Unknown
Research notes
- Dump-adjacent public corpus (not in data-source-dump.jsonl). gated=false; public; CuratorBote listed README, TACO.py, ALL/ 10 parquet ~2.42 GB, and train/ 9 arrows ~4.24 GB. Catalog YAML 25,443+1,000 / paper 1,539,152 solutions, not paper train 25,433. Cite Li et al. 2023 arXiv 2312.14852. Not in papers_local.csv. Not on the Aug 13 live Datasets sheet export. Substituted ahead of Hub-gated nvidia/Nemotron-Pretraining-Code-v1 / bigcode/the-stack; skipped Modotte/CodeX-2M-Thinking, Convence/Rust-Coder (too small), and lazarus19/Vibe-Coding-Instruct (junk-scale parquet). OpenCodeInstruct already cataloged used this train split as 25,443 seeds — do not add as extra n there or here.
Similar entries
- Dataset UltraData-Code (OpenBMB L0–L3 tiered code pretrain: L2 algorithmic + L3 synthesis)
- Paper BigO(Bench): Can LLMs Generate Code with Controlled Time and Space Complexity?
- Paper MaLiang-Harness: A Programmable Path to Image and Video Generation
- Code motion-video-kit (Claude Code skill kit for AI-assisted business videos)
- Benchmark ProgramBench: write-a-program-from-scratch SWE-agent benchmark; Muse Spark 1.3 results
- Paper CodeGenLink: A Tool to Find the Likely Origin and License of Automatically Generated Code