| Kind | dataset | dataset |
|---|
| Published | 2023 | 2022 |
|---|
| License | Various (governed by The Stack Terms of Use; original repository licenses apply) | Various permissive open-source licenses (193 in v1.1); each file's original license must be respected; opt-out supported |
|---|
| License family | Other | Permissive |
|---|
| Access | restricted | restricted |
|---|
| Language codes | en | code |
|---|
| Modalities | text | code, text |
|---|
| Size | 10M to 100M rows | 100M to 1B rows |
|---|
| Downloads (last month) | 500 | 9,409 |
|---|
| Likes | 52 | 1,082 |
|---|
| Last updated | 2023-03-20 | 2026-08-03 |
|---|
| Tasks | text-generation | text-generation |
|---|
| Formats | parquet | parquet |
|---|
| Scale | ~30.98M conversations; ~54GB cleaned (card); ~66.6 GB usedStorage | Paper: 3.1 TB / 30 langs; v1.0 near-dedup ~3 TB. Hub tags 100M<n<1B; parquet shards per language (e.g. large c/c++/html/css/go configs). Exact total rows not re-counted (gated 401). |
|---|
| Format | Parquet; content + structured events JSON-like fields | Parquet shards under data/<language>/; gated Hub dataset |
|---|
| Type | Conversational issue/PR corpus | raw multilingual source-code pretraining corpus |
|---|
| Cost | Free after gate; tens of GB download | Free gated download; very large storage/bandwidth |
|---|
| Languages | Mostly English (card) | Programming languages (Hub: 300+ language configs; paper v1.0 highlighted 30). Natural-language comments embedded in code. |
|---|
| Modality | Text | Text (source code) |
|---|
| Domain | Software engineering / GitHub issues & PRs (mostly English) | multilingual source code / code LLM pretraining |
|---|
| Time period | Hub 2023-03-16 to 2023-03-20; Discord mid 1429930543075557406 | GitHub-sourced code through BigCode Stack releases (paper 2022-11); Hub lastModified 2026-08-03; Discord 1422597711273656371 (2025-09-30) |
|---|
| Purpose | Code-adjacent conversational pretraining from issue/PR threads | Provide a large permissively licensed, governance-aware code corpus for open code LLM research |
|---|
| Used for | Code LM pretraining; SE dialogue modeling | Code LLM pretraining (StarCoder lineage et al.); per-language code modeling; responsible data research |
|---|
| Authors | Crowdsourced GitHub users; curated by BigCode; bots filtered | BigCode (Kocetkov, Li, Ben Allal, von Werra, et al.). Code authors = original GitHub contributors per provenance. |
|---|
| Bias | Public GitHub projects; English-heavy; bot/short-thread filters change community mix; username masking | GitHub popularity / language skew; English-heavy comments; license-filter bias toward permissive projects; possible personal/secret leakage historically addressed via opt-out governance |
|---|
| Text quality | Cleaned (bots removed, short dropped, PII regex); still noisy social/tech support text | Raw source files with provenance; near-dedup in releases; quality varies by repo. Card emphasizes license compliance over heavy cleaning. |
|---|
| Sample size | 127 train parquet shards; variable thread lengths (long comments truncated) | Highly skewed by language popularity (HTML/C/C++/CSS etc. dominate shard counts) |
|---|
| Long context | Medium - multi-comment threads; very long ones truncated in cleaning | No (file-level; some files long) |
|---|
| Intermediate steps | Yes - collect from Stack pipeline, regex clean, bot filter, quality heuristics, PII redact | N/A (pretraining raw code; not CoT) |
|---|
| Idea quality | High | High |
|---|
| Novelty | Medium-High as large open issue/PR dialogue companion to The Stack | High at release (largest open permissive multi-lang code set with governance) |
|---|
| Text conversion | High - training-ready content column | Hub datasets loaders / Dask/Polars after gate accept; multi-TB download |
|---|
| Collection method | Accept HF gate/ToU; respect provenance licenses; track Stack version removals | Accept HF gate/ToU; download desired language configs; honor opt-out/version notices |
|---|
| Static | Card lastModified 2023-03-20; Stack family may issue removal updates | No (maintainers push removal updates; ToU requires refreshing) |
|---|
| Processed | Yes - cleaned and PII-redacted | Partially (license filter, near-dedup, language packing; not instruction-formatted) |
|---|
| Summary | 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. | The Stack is a collection of over 6TB of permissively-licensed source code files covering 358 programming languages, created as part of the BigCode Project (an open scientific collaboration for responsible Code LLM development). It serves as a pretraining dataset for code-generating LLMs and provides per-file provenance metadata (repository name, licenses, stars/forks/issues counts, git hashes) to support attribution and license compliance. The dataset has an opt-out mechanism and is regularly updated to enact validated data-removal requests. |
|---|