← Datasets

Compare

The Stack GitHub Issues
#124 · remove
CommitPackFT
#312 · remove
Kinddatasetdataset
Published20232023
LicenseVarious (governed by The Stack Terms of Use; original repository licenses apply)mit
License familyOtherPermissive
Accessrestrictedfree
Language codesencode
Modalitiestextcode, text
Size10M to 100M rows—
Downloads (last month)50034,434
Likes52114
Last updated2023-03-202023-08-20
Taskstext-generation—
Formatsparquet—
Scale~30.98M conversations; ~54GB cleaned (card); ~66.6 GB usedStorageCard 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).
FormatParquet; content + structured events JSON-like fieldsJSONL 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.
TypeConversational issue/PR corpusAnnotated code-instruction corpus / Git commit old→new file pairs
CostFree after gate; tens of GB downloadFree
LanguagesMostly English (card)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.
ModalityTextText + source code (file before/after plus NL subject/message)
DomainSoftware engineering / GitHub issues & PRs (mostly English)code instruction tuning; Git commits; 277 programming languages; single-file edits paired with commit subjects
Time periodHub 2023-03-16 to 2023-03-20; Discord mid 1429930543075557406GitHub 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.
PurposeCode-adjacent conversational pretraining from issue/PR threadsFiltered CommitPack subset whose commit messages resemble natural-language instructions, for instruction-tuning code LLMs (OctoCoder / OctoGeeX)
Used forCode LM pretraining; SE dialogue modelingOctoCoder (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.
AuthorsCrowdsourced GitHub users; curated by BigCode; bots filteredPublic 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.
BiasPublic GitHub projects; English-heavy; bot/short-thread filters change community mix; username maskingYAML/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 qualityCleaned (bots removed, short dropped, PII regex); still noisy social/tech support textHuman 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 size127 train parquet shards; variable thread lengths (long comments truncated)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 contextMedium - multi-comment threads; very long ones truncated in cleaningNo (single-file commits; paper notes models still struggle with small targeted changes). Typical files are short vs full-repo context.
Intermediate stepsYes - collect from Stack pipeline, regex clean, bot filter, quality heuristics, PII redactYes (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 qualityHighHigh
NoveltyMedium-High as large open issue/PR dialogue companion to The StackHigh
Text conversionHigh - training-ready content columnReady 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 methodAccept HF gate/ToU; respect provenance licenses; track Stack version removalsDownload
StaticCard lastModified 2023-03-20; Stack family may issue removal updatesUnknown (HF lastModified 2023-08-20; one-shot GitHub snapshot)
ProcessedYes - cleaned and PII-redactedUnknown
SummaryThe Stack GitHub Issues dataset contains ~30.9 million conversations from GitHub issues and pull requests, extracted as part of the larger Stack code dataset. Each conversation includes events such as issue opening, comments, and closures, with author usernames masked for PII protection. The dataset was cleaned from 180GB down to 54GB by removing bot comments, automated email replies, and low-quality conversations, and is used to train code generation models like Stable Code 3B.> 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.