| Kind | dataset | dataset |
|---|
| Published | 2024 | 2023 |
|---|
| License | other / per-file SPDX; ToU requires original license compliance + SWH LLM principles | mit |
|---|
| License family | Other | Permissive |
|---|
| Access | Free metadata after gate; bulk content agreement required | free |
|---|
| Language codes | code | code |
|---|
| Modalities | code, text | code, text |
|---|
| Downloads (last month) | 6,031 | 34,434 |
|---|
| Likes | 638 | 114 |
|---|
| Last updated | 2026-08-03 | 2023-08-20 |
|---|
| Tasks | text-generation | — |
|---|
| Scale | Full 67.5TB / >3B files / 104.2M repos; dedup 32.1TB; train-full ~900B tokens. Hub metadata usedStorage ~427 GB. size_categories unknown. | Card table: 702,062 samples; 1,545.02 MB (~1.51 GB) of JSONL. Paper/card: 2GB filtered version of CommitPack (4TB GitHub commits / 350 languages). Python shard data/python/data.jsonl 135.9 MB. One JSONL per language under data/{lang}/data.jsonl. Dataset viewer 500 at check (scripted configs still load). Hub 3.9M downloads / 112 likes at check. size_categories not in YAML (card language:code). |
|---|
| Format | Parquet metadata per language config (600+); contents fetched via blob_id from s3://softwareheritage/content/ | JSONL per language (commit, old_file, new_file, old_contents, new_contents, subject, message, lang, license, repos). Loading script commitpackft.py; kilobytes.txt / line_count.txt tables on the repo. |
|---|
| Type | Code corpus / SWHID + metadata (contents on SWH S3) | Annotated code-instruction corpus / Git commit old→new file pairs |
|---|
| Cost | Free metadata after gate; bulk content agreement required | Free |
|---|
| Languages | 658 langs (card); paper 619. High-resource langs (C, JS, etc.) overrepresented vs niche (Julia, Scala). Natural language in comments mostly English. | Card: 277 programming languages (loading script `_LANG` length 277). Natural-language commit subjects/messages are predominantly English (not quantified on the card). Sample share of 702,062: yaml 114,320 (16.28%); ruby 69,413 (9.89%); markdown 62,518 (8.90%); python 56,025 (7.98%); javascript 52,989 (7.55%); json 39,777 (5.67%); text 46,588 (6.64%); shell 31,217 (4.45%). Code languages python+javascript+java+c+c+++go+rust+typescript together are a minority vs yaml/markdown/json/text. |
|---|
| Modality | Source code / text. No images. | Text + source code (file before/after plus NL subject/message) |
|---|
| Domain | code pretraining; multilingual source code; Software Heritage | code instruction tuning; Git commits; 277 programming languages; single-file edits paired with commit subjects |
|---|
| Time period | SWH graph 2023-09-06; GH Archive to 2023-09-14. Paper 2024-02-29. Hub created 2024-02-26; lastModified 2026-08-03 (v2.2.0 opt-out purge). Discord mid 1478777064818479185 (2026-03-04). | GitHub commits from The Stack / GHArchive-era public repos (permissive licenses). Paper arXiv 2308.07124 (2023-08-14, v2). HF createdAt 2023-06-27; lastModified 2023-08-20. One-shot snapshot; not a live Git crawl. |
|---|
| Purpose | Open reproducible Code LLM pretraining corpus with license/provenance metadata and developer opt-out | Filtered CommitPack subset whose commit messages resemble natural-language instructions, for instruction-tuning code LLMs (OctoCoder / OctoGeeX) |
|---|
| Used for | StarCoder2 3B/7B/15B (paper). Hub 6.3K downloads / 626 likes at check; paper 160 upvotes. | OctoCoder (StarCoder 16B + CommitPackFT + OASST; paper HumanEval Python 46.2% pass@1, SOTA among models not trained on OpenAI outputs at publication). OctoGeeX (CodeGeeX2 6B, same mix). HumanEvalPack eval (3 tasks × 6 languages). GitHub bigcode-project/octopack 479 stars at check. Hub 3.9M downloads / 112 likes at check. |
|---|
| Authors | BigCode collaboration (Lozhkov, Li, Ben Allal, von Werra, de Vries et al.; ServiceNow/HF/many labs). Source producers: GitHub users with unique repos through 2023-09-06. | Public GitHub contributors on permissively licensed repos (field `repos`; comma-separated if reused). BigCode / OctoPack authors (Muennighoff, Liu, Zebaze, Zheng, Hui, Zhuo, Singh, Tang, von Werra, Longpre). Bots and boilerplate commits are the target of the FT filter, not fully eliminated. |
|---|
| Bias | Permissive-license skew; some langs rarely permissive (SQL/Batchfile/TS ~4% vs ~10% avg). Longer files more often permissive. Comment toxicity risk. HTML may not be WCAG-compliant. | YAML/markdown/JSON/text-config commits overweighted vs systems languages (yaml 16.3% of samples vs python 8.0% / java 2.9% / rust 0.43%). Filter keeps instruction-like subjects, so “fix typo”/“update readme” style still appears but bulk auto-generated messages are downweighted. Permissive-license GitHub only (mit, apache-2.0, bsd-*, mpl-2.0, unlicense, etc. in `license`). English commit-message culture. StarCoder pretraining language mix still dominates downstream OctoCoder language scores (paper). |
|---|
| Text quality | Exact-dedup + near-dedup (~40% of permissive files were near-dups). Filters: no binary/empty/undecodable; drop >10MB. Vendor/generated flags via go-enry. Train-* variants add heuristics + repo grouping. | Human commit messages that passed the instruction-likeness filter (paper Appendix D). Subjects used for all paper experiments. Quality varies from precise single-file edits (card Python sin() example) to noisy config/YAML diffs. Residual trivial or boilerplate subjects remain. Dataset viewer was 500/unavailable at check so samples were taken from the card instance, not a live preview. |
|---|
| Sample size | No official train/test split (near-dup leakage risk). Language configs e.g. Python, Dockerfile, default=all. | 277 language configs, each a single train split. Total 702,062. Largest: yaml 114,320; ruby 69,413; markdown 62,518; python 56,025; javascript 52,989. Tiny langs have 1–10 samples (e.g. abap 1). No held-out official test; HumanEvalPack is a separate repo. |
|---|
| Long context | Mixed (file-level; train-* group by repo for full-repo context). | No (single-file commits; paper notes models still struggle with small targeted changes). Typical files are short vs full-repo context. |
|---|
| Intermediate steps | Yes (SWH traversal; GH Archive metadata; ScanCode license detect; permissive filter; near-dedup; opt-out removals v2.0.1–v2.2.0). | Yes (CommitPack from GitHub commits across 350 langs, then FT filter for instruction-like commit messages; paper Appendix D/E). Recreatable via github.com/bigcode-project/octopack. |
|---|
| Idea quality | High | High |
|---|
| Novelty | High (largest open SWH-backed code dump with governance; still foundational vs newer niche dumps) | High |
|---|
| Text conversion | Metadata load_dataset works after gated ToU. Bulk contents need SWH/INRIA agreement + AWS credentials. Streaming supported. | Ready JSONL; load_dataset("bigcode/commitpackft", "python") etc. (277 configs, no combined default). Viewer 500 at check; files are still downloadable. ~1.5–2 GB. |
|---|
| Collection method | Download (gated) + optional SWH S3 | Download |
|---|
| Static | No (periodic opt-out updates; lastModified 2026-08-03) | Unknown (HF lastModified 2023-08-20; one-shot GitHub snapshot) |
|---|
| Processed | Unknown | Unknown |
|---|
| Summary | Open reproducible Code LLM pretraining corpus with license/provenance metadata and developer opt-out | > CommitPackFT is a 2GB filtered version of [CommitPack](https://huggingface.co/datasets/bigcode/commitpack) to contain only high-quality commit messages that resemble natural language instructions. |
|---|