The Stack GitHub Issues
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.
- Venue
- BigCode / Hugging Face
- Source
- huggingface
- Access
- restricted
- License
- Various (governed by The Stack Terms of Use; original repository licenses apply)
- License family
- Other
- Language
- English (primarily), code snippets in 300+ programming languages
- Hugging Face
- bigcode/the-stack-github-issues
- Author type
- human
- Added
- Jul 17, 2026
- Verified
- Jul 17, 2026
- Research status
- done
From the source
- Repository
- bigcode/the-stack-github-issues
- Created
- Mar 16, 2023
- Last updated
- Mar 20, 2023
- Downloads (last month)
- 500
- Likes
- 52
- Size
- 10M to 100M rows
- Modalities
- text
- Tasks
- text-generation
- Formats
- parquet
- Gated
- yes
Topics
Code / NLP
Dataset profile
- Scale
- ~30.98M conversations; ~54GB cleaned (card); ~66.6 GB usedStorage
- Format
- Parquet; content + structured events JSON-like fields
- Type
- Conversational issue/PR corpus
- License
- Multi-license per source repos + The Stack Terms of Use (gated)
- Cost
- Free after gate; tens of GB download
- Languages
- Mostly English (card)
- Modality
- Text
- Domain
- Software engineering / GitHub issues & PRs (mostly English)
- Time period
- Hub 2023-03-16 to 2023-03-20; Discord mid 1429930543075557406
- Purpose
- Code-adjacent conversational pretraining from issue/PR threads
- Used for
- Code LM pretraining; SE dialogue modeling
- Authors
- Crowdsourced GitHub users; curated by BigCode; bots filtered
- Bias
- Public GitHub projects; English-heavy; bot/short-thread filters change community mix; username masking
- Text quality
- Cleaned (bots removed, short dropped, PII regex); still noisy social/tech support text
- Sample size
- 127 train parquet shards; variable thread lengths (long comments truncated)
- Long context
- Medium - multi-comment threads; very long ones truncated in cleaning
- Intermediate steps
- Yes - collect from Stack pipeline, regex clean, bot filter, quality heuristics, PII redact
- Idea quality
- High
- Novelty
- Medium-High as large open issue/PR dialogue companion to The Stack
- Text conversion
- High - training-ready content column
- Collection method
- Accept HF gate/ToU; respect provenance licenses; track Stack version removals
- Static
- Card lastModified 2023-03-20; Stack family may issue removal updates
- Processed
- Yes - cleaned and PII-redacted
Research notes
- Requires agreeing to Terms of Use and sharing contact info. Part of the BigCode Stack initiative. PII (usernames, IPs, emails) has been redacted via regex masking.
- Not source code; companion conversational set to the-stack. Gated like Stack.
Related entries
- Dataset
The Stack
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.
Similar entries
- Dataset UltraData-Code (OpenBMB L0–L3 tiered code pretrain: L2 algorithmic + L3 synthesis)
- Dataset GitHub Code Clean
- Paper BigO(Bench): Can LLMs Generate Code with Controlled Time and Space Complexity?
- Dataset GitHub Code 2025
- Dataset github-top-code
- Paper Cross-Benchmark Transfer from RL on Agentic Coding Tasks