| Kind | dataset | dataset | dataset |
|---|
| Published | 2022 | 2025 | 2024 |
|---|
| License | Apache-2.0 (HF card YAML) for the packaging/script. Per-file content licenses are the 15 repo licenses in the license column (script DatasetInfo.license: 'Multiple: see the license field of each sample'). Copyleft GPL/AGPL/LGPL files are included if you load all-all. | CC BY-NC 4.0 (HF card YAML cc-by-nc-4.0). Non-commercial. GPT-4o-0513 / Qwen2.5-Coder / DeepSeek-R1 terms may still apply if used to train a distributed model. Upstream LeetCode/Codeforces/APPS/TACO/CodeContests seed licenses remain. | ODC-By (HF card YAML odc-by). Also subject to Common Crawl Terms of Use. Curated sources keep upstream licenses (arXiv/S2ORC/PubMed/Wikipedia/FreeLaw/USPTO/PG-19/HN/Ubuntu IRC/Europarl/StackExchange/DM Math). v1.1 TxT360_QA teacher Mistral-7B-Instruct-v0.3 terms may still apply if used to train a distributed model. |
|---|
| License family | Permissive | Non-commercial | Permissive |
|---|
| Access | Free | Free | Free |
|---|
| Language codes | — | en | en |
|---|
| Modalities | text | text | text |
|---|
| Size | 10M to 100M rows | 100K to 1M rows | over 1T rows |
|---|
| Downloads (last month) | 29,717 | 13,960 | 24,086 |
|---|
| Likes | 144 | 119 | 272 |
|---|
| Last updated | 2022-07-05 | 2025-03-17 | 2025-05-26 |
|---|
| Tasks | — | — | text-generation |
|---|
| Formats | — | parquet | — |
|---|
| Scale | Card/parent 115M files / ~1TB text / parent source-size sum 873 GB. Clean README: 3.39M files removed (2.94%) → remaining ≈111.6M. github-code-clean.py 880 parquet shards data/train-00000-of-00880.parquet … train-00879 (listed train-00000 355.1 MB … train-00009 357.5 MB; train-00879 359.9 MB) → ~314 GB LFS parquet estimate (880×~357 MB; not summed). size_categories 10M<n<100M. Hub/datasets-server all-all train 614.0K / 10 parquet / 1.7 GB is a partial convert (477 failed parquet jobs) — do not catalog 614K as n. usedStorage Unknown. Hub overview 1.2M downloads / 142 likes at check. gated=false. | Paper 447K verified triplets after style rewrite (279K after self-verification + 168K Complete/function-signature reformats). YAML default train 484,097 / use_with_caution 3,335 (sum 487,432) / download_size 2,642,644,096 bytes (~2.64 GB) / dataset_size 7,496,353,254 bytes (~7.50 GB). Hub/datasets-server train 484.1K / 19 columns / 15 parquet ~2.6 GB plus use_with_caution 3.3K / 1 parquet 21.0 MB. size_categories 100K<n<1M. Card subset counts (≈446K, not extra overlapping n): Prefill 43K; Leetcode 27K; Codeforces 33K; Apps 21K; Taco 81K; Code Contests 36K; Algorithm 31K; Data Structure 34K; Docs 43K; Filter 77K; Package 7K; Evol 13K. HF train 484k vs paper 447k is v1.0+v1.1 Online Judge restyle — catalog YAML 484,097. Hub overview 42.1K downloads / 114 likes at check. gated=false. | Card globally-deduped ~5T tokens (table sums ~5.083T): CommonCrawl 4.83T / 9.2 TB; Papers 154.96B / 712 GB; Wikipedia 35.975B / 199 GB; StackExchange 27.76B / 81 GB; FreeLaw 16.7B / 71 GB; DM Math 5.23B / 22 GB; USPTO 4.95B / 45 GB; PG-19 2.63B / 11 GB; Europarl 1.96B / 6.1 GB; Ubuntu IRC 1.89B / 6 GB; HackerNews 1.05B / 4.2 GB. Working mix recipe 15T+ tokens. size_categories n>1T. CuratorBote listed 99 CC-MAIN dump dirs (2013-20 … 2024-30) plus curated jsonl under data/{arxiv,dm_maths,europarl,freelaw,hackernews,pg19,phil_papers,pubmed_abstract,pubmed_central,s2orc_abstract,s2orc_fulltext,stackexchange,ubuntu_irc,uspto,wikipedia} and v1.1/{TxT360_BestOfWeb,TxT360_QA,europarl-aligned,wikipedia_extended}. datasets-server parquet convert failed (1 failed job); no Hub row count. usedStorage Unknown (jsonl.gz, TB-scale). Hub overview 3.3M downloads / 267 likes at check. gated=false. |
|---|
| Format | parquet under data/train-*-of-00880.parquet (880 shards). Columns: code, repo_name, path, language, license, size. Hub configs are language-license products (default all-all; e.g. Python-all, all-mit). Loading script github-code-clean.py (trust_remote_code). | parquet under data/train-* and data/use_with_caution-*. Columns: version, style, subset, question_id, question, solution, test, test_info, gpt_pass_sequence, gpt_pass_trial_num, gpt_difficulty, gpt_pass_percentage, trials, chosen_trial, metadata, benchmark_similarity, benchmark_instruction, benchmark_task_id, filter_reason. Single default config; train + use_with_caution. | jsonl.gz (common-crawl) and jsonl (curated) under data/ plus v1.1 extras. Schema: text, meta (lang/lang_score/url/timestamp/cc-path/quality_signals/dup_signals), subset. Duplicate-count buckets inside each dump/source. |
|---|
| Type | Pretraining corpus / filtered GitHub source files | Annotated synthetic code SFT/RL / question + verified solution + unit tests | Pretraining corpus / filtered Common Crawl web + curated non-web text |
|---|
| Cost | Free | Free | Free |
|---|
| Languages | Source-code (card language tag absent; parent language:code). 30 languages in github-code-clean.py _LANG_TO_EXTENSION (card/description says 32 — catalog script 30). Parent file-count table (approx; clean drops 2.94% Unknown-uniform): Java 19,548,190 / 107.70 GB; C 14,143,113 / 183.83 GB; JavaScript 11,839,883 / 87.82 GB; HTML 11,178,557 / 118.12 GB; PHP 11,177,610 / 61.41 GB; Markdown 8,464,626 / 23.09 GB; C++ 7,380,520 / 87.73 GB; Python 7,226,626 / 52.03 GB; C# 6,811,652 / 36.83 GB; Ruby 4,473,331 / 10.95 GB; Go 2,265,436 / 19.28 GB; TypeScript 1,940,406 / 24.59 GB; CSS 1,734,406 / 22.67 GB; Shell 1,385,648 / 3.01 GB; then Scala–Julia <1M each. Natural-language comments follow each file. No LID table. | English questions + Python solutions/tests (card language:en). Preview is English instruct + pytest. No LID table. Per-language percents N/A. | Card YAML language:en. Common Crawl meta.lang is fastText top-1 (schema example en / lang_score 0.912). Wikipedia 310+ languages. Europarl and v1.1 europarl-aligned are multilingual concatenations (schema example fi-de-nl-el-it-fr-en-pt-sv-da-es). No LID percent table for the web dump. Per-language percents N/A. |
|---|
| Modality | Text-only (source code + markup). No images. | Text-only (English + Python). No images. | Text-only (English web/curated + multilingual wiki/Europarl). No code; no images. Logo/pngs in the repo are not extra n. |
|---|
| Domain | source-code pre-training; 30 programming languages; permissively licensed GitHub files | code generation; Python interview/contest/DSA; verifiable unit tests; SFT and RL | general pre-training; Common Crawl English web; curated papers/wiki/law/math/patents/books/forums |
|---|
| Time period | Parent codeparrot/github-code v1.1 BigQuery query executed 2022-03-16 18:23:39 UTC+1 (v1.0 was 2022-02-14). HF createdAt 2022-06-29; lastModified 2022-07-05. One-shot GitHub-on-BigQuery dump plus extra clean filters, not a live scrape. | Paper arXiv 2503.02951 (Hub publishedAt 2025-03-04T19:17:36Z; Daily Papers 2025-03-06). HF createdAt 2025-02-28; lastModified 2025-03-17T07:56:27Z. Card v1.1 adds Online Judge style. Teacher GPT-4o-0513; SFT sibling uses DeepSeek R1. One-shot synthetic release, not a live GitHub scrape. | HF createdAt 2024-10-03; lastModified 2025-05-26T20:26:47Z. Card v1.1 additions. Common Crawl 99 dumps CC-MAIN-2013-20 through CC-MAIN-2024-30 (card Information Cut-Off 2024-30). Curated cutoffs: papers/HackerNews/StackExchange Q4 2023; FreeLaw Q1 2024; USPTO/Ubuntu IRC Q3 2024. Globally deduplicated 99 CC snapshots plus 14 non-web sources. One-shot curation plus v1.1 extras, not a live crawl. |
|---|
| Purpose | Filtered GitHub code pretrain (avg line length, alphanumeric fraction, autogen drop) as a cleaner sibling of codeparrot/github-code | Largest fully-synthetic open question–solution–test dump for coding SFT and RL, with self-verified pytest/stdio tests | Largest high-quality open pretrain blend (card ~5T globally deduped tokens; 15T+ with the working mix recipe) with per-source weights and duplicate-count buckets |
|---|
| Used for | CodeParrot / early code-LM pretrain. Hub overview 1.2M downloads / 142 likes at check. Distinct from already-cataloged github-code-2025 (2025 nick007x dump) and from Hub-gated bigcode/the-stack — this is the public BigQuery GitHub dump, not The Stack. | Paper KodCode-tuned models reported above Qwen2.5-Coder-32B-Instruct and DeepSeek-R1-Distill-Llama-70B on HumanEval(+)/MBPP(+)/BigCodeBench/LiveCodeBench. Hub siblings KodCode-V1-SFT-R1 / KodCode-V1-SFT-4o are post-training rewrites — not extra n of this RL dump. Hub overview 42.1K downloads / 114 likes at check; owner listing 3,854 downloads. Paper 34 upvotes / GitHub 321 stars at paper-metadata check. | Card 8x8B Mixtral-style MoE ablation vs FineWeb on 1.5T-token samples (SlimPajama validation). Already-cataloged MegaMath is a later LLM360 math-centric corpus from the same org — not extra TxT360 n. Hub overview 3.3M downloads / 267 likes at check; owner listing 9,313 downloads. |
|---|
| Authors | Hugging Face CodeParrot (loading-script copyright HuggingFace Datasets Authors). File authors are GitHub repo contributors as of the Mar 2022 BigQuery snapshot. License field is the origin repo license (15 OSS licenses), not a single dataset author. | Xu (UW; Microsoft GenAI internship), Liu (Microsoft GenAI), Yin/Zhou (UT Austin), Poovendran (UW); arXiv 2503.02951. Questions synthesized from Magpie-Prefill (Qwen2.5-Coder-7B-Instruct), GPT-4o-0513 expansions of LeetCode/Codeforces/APPS/TACO/CodeContests seeds, DSA snippets, package docs, Magpie Filter, Package Instruct, Evol Instruct. Solutions/tests by GPT-4o-0513. Not human contest authors for the synthesized slice. | LLM360 / IFM (Tang, Ranjan, Pangarkar, Liang, Wang, An, Rao, Jin, Wang, Cheng, Sun, Mu, Miller, Ma, Peng, Liu, Xing; TxT360 2024). Web authors from Common Crawl. Curated sources: arXiv/S2ORC/PubMed/PhilPapers, Wikipedia, FreeLaw, DeepMind Mathematics, USPTO, PG-19, Hacker News, Ubuntu IRC, Europarl, StackExchange. |
|---|
| Bias | Permissive-license GitHub only (15 licenses: mit/apache-2.0/gpl-3.0/gpl-2.0/bsd-3-clause/agpl-3.0/lgpl-3.0/lgpl-2.1/bsd-2-clause/cc0-1.0/epl-1.0/mpl-2.0/unlicense/isc/artistic-2.0). Java/C/JS/HTML/PHP dominate file count; C dominates bytes. Markdown/HTML/CSS are markup not compilers. Vendored node_modules still present after the 'clean' filters (preview). Distinct from already-cataloged github-code-2025 / OpenCoder FineWeb Code Corpus / SwallowCode-v2. Do not treat this as a request for gated bigcode/the-stack. | Fully synthetic GPT-4o Python. Contest-assessment subsets (Taco 81K largest) plus Magpie Prefill/Filter and package Docs. gpt_difficulty is pass-rate over ≤10 self-verification trials (easy/medium/hard), not human contest rating. benchmark_similarity vs HumanEval/MBPP/BigCodeBench/LiveCodeBench is a column. Distinct from already-cataloged TACO / OpenCodeInstruct / OpenCodeReasoning / CodeForces-CoTs / rStar-Coder. SFT-R1/SFT-4o/Light-RL-10K are siblings — not extra n. | English-primary CC web (fastText lang filter) plus multilingual Wikipedia/Europarl. Duplicate-count buckets (1-1 / 2-5 / 6-10 / 11-100 / 101-1000 / 1001-30M) keep upsampled dups for the 15T recipe — raw globally-deduped mix is suboptimal per the card. No code (explicit; MegaMath is the later math+code sibling). Distinct from already-cataloged FineWeb / FineWeb 2 / DCLM-baseline / Dolma / Falcon RefinedWeb / MegaMath / Hacker News Complete Archive (live HN through 2026 vs this Q4 2023 HN slice) / Ubuntu Dialogue Corpus. |
|---|
| Text quality | Parent dropped lines >1000 chars and exact whitespace-ignoring dups. Clean adds avg line length <100, alphanumeric fraction >0.25, and autogen keyword drop (3.39M files). all-all preview row 0 is a 2,730-byte ES6 Set polyfill nested ~8 node_modules deep in a GPL-2.0 WordPress theme (Socratacom/socrata-europe …/es6-set/polyfill.js) — residual vendored JS the clean filters did not drop. Row 1 is a 266-byte ISC JS class (mshick/velvet core/classes/data.js). Residual: secrets/PII possible (parent card); 2022 snapshot; datasets-server partial 614K is not a quality sample of 111M. | Preview row 0 (v1.0 instruct Leetcode_3_I max product of two distinct elements) is a well-posed Python function with pytest tests; chosen trial_gpt4o_7 passed at 100% branch coverage after 9 fails (gpt_pass_percentage 0.1 → gpt_difficulty hard). Paper self-verification vs human tests: 97.5% MBPP val / 99.47% LiveCodeBench-V5 after format/precision review. Residual: this item is interview-easy despite the hard pass-rate label; benchmark_similarity 0.746 is high vs the contamination set; CC BY-NC; GPT-4o terms; not independently re-executed here. | Card: web filtered with a unified pipeline vs Dolma/DataTrove/RedPajamaV2; curated sources filtered per-source; then global dedup. Ablation claimed stronger learning curves vs FineWeb on an earlier snapshot (SlimPajama val). Schema includes quality_signals (dup lines/ngrams, toxic-word counts, lorem ipsum, url_score) and dup_signals. Residual: CC boilerplate/PII; some dup_details labeled unknown from early dedup; v1.1 TxT360_QA is Mistral-7B-Instruct-v0.3 synthetic QA appended to documents; not independently re-extracted here. datasets-server has no row preview. |
|---|
| Sample size | Single train split. Default config all-all is the full remaining ~111.6M. Language configs (Python-all, Java-all, …) and license configs (all-mit, all-apache-2.0, …) are filters — not extra n. No val/test. Do not concat with already-cataloged github-code-2025 / OpenCoder FineWeb Code Corpus. Do not add codeparrot/github-code as extra n. | default train 484,097 / use_with_caution 3,335. subset/style/version/gpt_difficulty are columns not Hub configs. Paper 447K is the v1.0 verified set before the v1.1 Online Judge restyle. Do not add KodCode-V1-SFT-R1 (483,437) / KodCode-V1-SFT-4o (409,552) / KodCode-Light-RL-10K (10,000) as extra n. Do not concat with already-cataloged TACO or OpenCodeInstruct. | No Hub configs/splits (jsonl dump). Duplicate-count buckets are storage layout not extra n. v1.1 BestOfWeb/QA/europarl-aligned/wikipedia_extended are additions — do not blindly concat with data/ as extra n without the mix recipe. Do not add already-cataloged MegaMath / Hacker News Complete Archive / Ubuntu Dialogue Corpus as extra n. Siblings IFM/TxT360-3efforts and IFM/TxT360-Midas are later variants — not extra n here. |
|---|
| Long context | Mixed (whole files; parent dropped lines >1000 chars; clean avg line <100). Exact token histogram Unknown. Parent 873 GB / 115M ≈ ~7.6 KB/file if both figures hold. | Mixed (short Prefill vs contest/Docs items; YAML ~7.50 GB / 487,432 ≈ ~15 KB uncompressed/row including trials). Exact token histogram Unknown without aggregating. | Mixed (full web/wiki/paper documents; v1.1 wikipedia_extended concatenates outgoing-link abstracts for long-context). Exact token histogram Unknown without aggregating jsonl.gz. Card CC 4.83T / 9.2 TB uncompressed. |
|---|
| Intermediate steps | Yes (BigQuery GitHub-on-BigQuery files by extension; drop long lines + exact dups; clean: avg line <100, alnum>0.25, autogen keywords). Parent query.sql / github_preprocessing.py live on codeparrot/github-code. | Yes (12-subset question synthesis; GPT-4o-0513 solution+test generation with pytest-cov 100% branch coverage; up to 10 retries on hard items; Complete/Online-Judge restyle; DeepSeek-R1 test-based reject sampling lives on the SFT-R1 sibling). Code MIT-style at github.com/KodCode-AI/kodcode. | Yes (99 CC snapshots filtered; per-source curated filters; global dedup into duplicate-count buckets; v1.1 ProX BestOfWeb / Mistral QA / aligned Europarl / Wikipedia link-abstract expansion). Blog space huggingface.co/spaces/LLM360/TxT360. |
|---|
| Idea quality | High | High | High |
|---|
| Novelty | High (public ~111.6M-file / ~1TB 2022 GitHub code dump vs already-cataloged github-code-2025; Stack remains gated) | High (public 447–484k self-verified Python question–solution–test triplets vs already-cataloged TACO 26k human contests / OpenCodeInstruct Genetic-Instruct) | High (public ~5T globally-deduped / 15T+ mix-recipe pretrain vs already-cataloged FineWeb / DCLM / Dolma; MegaMath is a later math-only sibling, not this dump) |
|---|
| Text conversion | Ready parquet; load_dataset('codeparrot/github-code-clean', split='train', streaming=True) uses default all-all. ~314 GB — streaming required. Language/license filters are Hub configs, not extra n. datasets-server 501/partial 614K — do not wait on viewer. Parent codeparrot/github-code is the un-cleaned 115M — do not concat as extra n. | Ready parquet; load_dataset('KodCode/KodCode-V1', split='train'). ~2.64 GB download — streaming optional. use_with_caution is the filtered split. Do not concat SFT-R1 / SFT-4o / Light-RL-10K as extra n of this RL dump. | Ready jsonl/jsonl.gz; streaming required (TB-scale). datasets-server parquet convert failed — do not wait on viewer. Prefer dump/subset globs (data/common-crawl/CC-MAIN-*/1-1/). LLM360/TxT360 is a sibling/redirect — do not concat as extra n. |
|---|
| Collection method | Download | Download | Download |
|---|
| Static | Unknown (HF lastModified 2022-07-05; BigQuery window Mar 2022; one-shot). | Unknown (HF lastModified 2025-03-17; v1.1 Online Judge add; one-shot). | Unknown (HF lastModified 2025-05-26; CC window through 2024-30; one-shot plus v1.1 extras). |
|---|
| Processed | Unknown | Unknown | Unknown |
|---|
| Summary | Filtered GitHub code pretrain (avg line length, alphanumeric fraction, autogen drop) as a cleaner sibling of codeparrot/github-code | Largest fully-synthetic open question–solution–test dump for coding SFT and RL, with self-verified pytest/stdio tests | Largest high-quality open pretrain blend (card ~5T globally deduped tokens; 15T+ with the working mix recipe) with per-source weights and duplicate-count buckets |
|---|