# CommitPackFT

- **ID:** 312
- **Kind:** dataset
- **URL:** https://huggingface.co/datasets/bigcode/commitpackft
- **Authors:** bigcode
- **Venue:** bigcode
- **Published:** 2023
- **Source:** huggingface
- **Language:** code
- **Access:** free
- **License:** mit
- **License family:** Permissive (auto-classified)
- **Tags:** hf-dataset-text-datasets-mlcroissant-has-paper
- **Added:** 2026-07-17
- **Verified:** 2026-07-17
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/312

## Summary

> 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.

## Attributes

- **Scale:** 100K<n<1M
- **Used for:** arXiv: 2308.07124
- **Time period:** created 2023-06-27; updated 2023-08-20
- **Author type:** unknown

## From the source (fetched 2026-10-03)

- **Repository:** bigcode/commitpackft (Hugging Face)
- **Created:** Jun 27, 2023 (Hugging Face)
- **Last updated:** Aug 20, 2023 (Hugging Face)
- **Downloads (last month):** 34,434 (Hugging Face)
- **Likes:** 114 (Hugging Face)
- **Modalities:** code, text (Hugging Face)

## Dataset profile

- **Scale:** 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:** 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:** Annotated code-instruction corpus / Git commit old→new file pairs
- **License:** MIT on the dataset card. Each row also carries the source repo license in `license` (permissive set listed on the card). Users bound by those upstream licenses.
- **Cost:** Free
- **Languages:** 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:** Text + source code (file before/after plus NL subject/message)
- **Domain:** code instruction tuning; Git commits; 277 programming languages; single-file edits paired with commit subjects
- **Time period:** 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:** Filtered CommitPack subset whose commit messages resemble natural-language instructions, for instruction-tuning code LLMs (OctoCoder / OctoGeeX)
- **Used for:** 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:** 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:** 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:** 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:** 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:** No (single-file commits; paper notes models still struggle with small targeted changes). Typical files are short vs full-repo context.
- **Intermediate steps:** 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
- **Novelty:** High
- **Text conversion:** 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
- **Static:** Unknown (HF lastModified 2023-08-20; one-shot GitHub snapshot)
- **Processed:** Unknown

## Links

- Dataset: https://huggingface.co/datasets/bigcode/commitpackft
- Related: https://arxiv.org/abs/2308.07124
- Related: https://huggingface.co/datasets/bigcode/commitpackft
- Related: https://huggingface.co/datasets/bigcode/commitpack
- Related: https://github.com/bigcode-project/octopack
- Related: https://huggingface.co/bigcode/octocoder
- Related: https://huggingface.co/datasets/bigcode/humanevalpack
- Related: https://huggingface.co/bigcode/octogeex

## Research notes

- downloads=65427; likes=110
- Discord posted this HF pointer (message 1490723148084281495). Cite Muennighoff et al. 2023 arXiv 2308.07124. Do not confuse with bigcode/commitpack (4TB unfiltered, 350 langs). Parent CommitPack and The Stack / Stack v2 remain gated or huge; this FT slice is the public instruction-tuning dump. Dataset viewer 500 at check. Substituted ahead of gated bigcode/the-stack-github-issues. Not in papers_local.csv.

## Similar entries

- [instinct-data](https://papers.projxon.ai/entries/69) (dataset, #69)
- [github-codereview](https://papers.projxon.ai/entries/258) (dataset, #258)
- [github-top-code](https://papers.projxon.ai/entries/229) (dataset, #229)
- [synthetic_text_to_sql](https://papers.projxon.ai/entries/159) (dataset, #159)
