| Kind | dataset | dataset |
|---|
| Published | 2024 | 2023 |
|---|
| License | other / per-file SPDX; ToU requires original license compliance + SWH LLM principles | Various (governed by The Stack Terms of Use; original repository licenses apply) |
|---|
| License family | Other | Other |
|---|
| Access | Free metadata after gate; bulk content agreement required | restricted |
|---|
| Language codes | code | en |
|---|
| Modalities | code, text | text |
|---|
| Size | — | 10M to 100M rows |
|---|
| Downloads (last month) | 6,031 | 500 |
|---|
| Likes | 638 | 52 |
|---|
| Last updated | 2026-08-03 | 2023-03-20 |
|---|
| Tasks | text-generation | text-generation |
|---|
| Formats | — | parquet |
|---|
| Scale | Full 67.5TB / >3B files / 104.2M repos; dedup 32.1TB; train-full ~900B tokens. Hub metadata usedStorage ~427 GB. size_categories unknown. | ~30.98M conversations; ~54GB cleaned (card); ~66.6 GB usedStorage |
|---|
| Format | Parquet metadata per language config (600+); contents fetched via blob_id from s3://softwareheritage/content/ | Parquet; content + structured events JSON-like fields |
|---|
| Type | Code corpus / SWHID + metadata (contents on SWH S3) | Conversational issue/PR corpus |
|---|
| Cost | Free metadata after gate; bulk content agreement required | Free after gate; tens of GB download |
|---|
| Languages | 658 langs (card); paper 619. High-resource langs (C, JS, etc.) overrepresented vs niche (Julia, Scala). Natural language in comments mostly English. | Mostly English (card) |
|---|
| Modality | Source code / text. No images. | Text |
|---|
| Domain | code pretraining; multilingual source code; Software Heritage | Software engineering / GitHub issues & PRs (mostly English) |
|---|
| 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). | Hub 2023-03-16 to 2023-03-20; Discord mid 1429930543075557406 |
|---|
| Purpose | Open reproducible Code LLM pretraining corpus with license/provenance metadata and developer opt-out | Code-adjacent conversational pretraining from issue/PR threads |
|---|
| Used for | StarCoder2 3B/7B/15B (paper). Hub 6.3K downloads / 626 likes at check; paper 160 upvotes. | Code LM pretraining; SE dialogue modeling |
|---|
| 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. | Crowdsourced GitHub users; curated by BigCode; bots filtered |
|---|
| 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. | Public GitHub projects; English-heavy; bot/short-thread filters change community mix; username masking |
|---|
| 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. | Cleaned (bots removed, short dropped, PII regex); still noisy social/tech support text |
|---|
| Sample size | No official train/test split (near-dup leakage risk). Language configs e.g. Python, Dockerfile, default=all. | 127 train parquet shards; variable thread lengths (long comments truncated) |
|---|
| Long context | Mixed (file-level; train-* group by repo for full-repo context). | Medium - multi-comment threads; very long ones truncated in cleaning |
|---|
| 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 - collect from Stack pipeline, regex clean, bot filter, quality heuristics, PII redact |
|---|
| Idea quality | High | High |
|---|
| Novelty | High (largest open SWH-backed code dump with governance; still foundational vs newer niche dumps) | Medium-High as large open issue/PR dialogue companion to The Stack |
|---|
| Text conversion | Metadata load_dataset works after gated ToU. Bulk contents need SWH/INRIA agreement + AWS credentials. Streaming supported. | High - training-ready content column |
|---|
| Collection method | Download (gated) + optional SWH S3 | Accept HF gate/ToU; respect provenance licenses; track Stack version removals |
|---|
| Static | No (periodic opt-out updates; lastModified 2026-08-03) | Card lastModified 2023-03-20; Stack family may issue removal updates |
|---|
| Processed | Unknown | Yes - cleaned and PII-redacted |
|---|
| Summary | Open reproducible Code LLM pretraining corpus with license/provenance metadata and developer opt-out | The 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. |
|---|