← Datasets

Compare

The Stack GitHub Issues
#124 · remove
Institutional Books 1.0
#51 · remove
Kinddatasetdataset
Published20232025
LicenseVarious (governed by The Stack Terms of Use; original repository licenses apply)IDI Early-Access Terms (noncommercial use only, no redistribution, attribution required)
License familyOtherOther
Accessrestrictedrestricted
Language codesenmultilingual
Modalitiestexttext
Size10M to 100M rows—
Downloads (last month)5005,321
Likes52295
Last updated2023-03-202026-08-19
Taskstext-generation—
Formatsparquet—
Scale~30.98M conversations; ~54GB cleaned (card); ~66.6 GB usedStorage983,004 books, 386M pages, 242B tokens (o200k_base)
FormatParquet; content + structured events JSON-like fieldsRaw Text Paged books, no raw scans
TypeConversational issue/PR corpusRaw Text
CostFree after gate; tens of GB downloadFree
LanguagesMostly English (card)43.83% English, 17.30% German, 14.01% French, 4.04% Italian, 3.19% Latin, 2.24% Spanish, 2.05% Russian, 1.45% Greek, 1.24% Dutch, 0.98% Hebrew; 17 languages with more than 1B tokens, 45 with > 100M, 105 with > 10M, 230 with > 1M, 254 languages total
ModalityTextText-only
DomainSoftware engineering / GitHub issues & PRs (mostly English)LANGUAGE AND LITERATURE: 255,665 (23.76%) | LAW: 139,212 (12.94%) | PHILOSOPHY. PSYCHOLOGY. RELIGION: 124,617 (11.58%) | SCIENCE: 120,181 (11.17%) | SOCIAL SCIENCES: 54,865 (5.10%) | AGRICULTURE: 39,770 (3.70%) | AUXILIARY SCIENCES OF HISTORY: 36,811 (3.42%) | MEDICINE: 34,571 (3.21%) | HISTORY OF THE AMERICAS: 29,356 (2.73%) | POLITICAL SCIENCE: 29,279 (2.72%) | GEOGRAPHY. ANTHROPOLOGY. RECREATION: 25,386 (2.36%) | EDUCATION: 24,602 (2.29%) | FINE ARTS: 23,945 (2.23%) | TECHNOLOGY: 18,217 (1.69%) | MUSIC AND BOOKS ON MUSIC: 14,150 (1.32%) | WORLD HISTORY / EUROPE, ASIA, AFRICA, ETC.: 7,839 (0.73%) | MILITARY SCIENCE: 7,458 (0.69%) | GENERAL WORKS: 7,225 (0.67%) | BIBLIOGRAPHY. LIBRARY SCIENCE. INFO RESOURCES: 5,880 (0.55%) | NAVAL SCIENCE: 5,482 (0.51%)
Time periodHub 2023-03-16 to 2023-03-20; Discord mid 1429930543075557406Nearly 50% from 1800s, 25% from 1900s
PurposeCode-adjacent conversational pretraining from issue/PR threadsGeneral Pre-training, Knowledge source, Search, Source Document
Used forCode LM pretraining; SE dialogue modelingNone
AuthorsCrowdsourced GitHub users; curated by BigCode; bots filteredMostly US, Europe, Mostly 1800s & early 1900s.
BiasPublic GitHub projects; English-heavy; bot/short-thread filters change community mix; username maskingUnknown
Text qualityCleaned (bots removed, short dropped, PII regex); still noisy social/tech support textOCR, moderate-low quality (varies)
Sample size127 train parquet shards; variable thread lengths (long comments truncated)0: 71,094 | 1 to 100: 241 | 100 to 200: 65 | 200 to 500: 346 | 500 to 1K: 1,040 | 1K to 3K: 6,185 | 3K to 6K: 14,848 | 6K to 10K: 23,525 | 10K to 30K: 100,263 | 30K to 60K: 110,193 | 60K to 100K: 118,700 | 100K to 300K: 359,241 | 300K to 700K: 206,800 | 700K to 2M: 58,697 | 2M to 4M: 4,335 | 4M to 8M: 302 | 8M to 20M: 24
Long contextMedium - multi-comment threads; very long ones truncated in cleaningYes
Intermediate stepsYes - collect from Stack pipeline, regex clean, bot filter, quality heuristics, PII redactNo
Idea qualityHighHigh
NoveltyMedium-High as large open issue/PR dialogue companion to The StackModerate-High
Text conversionHigh - training-ready content columnRequires processing to fix OCR issues
Collection methodAccept HF gate/ToU; respect provenance licenses; track Stack version removalsDownload
StaticCard lastModified 2023-03-20; Stack family may issue removal updatesUnknown
ProcessedYes - cleaned and PII-redactedPartly
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.Institutional Books 1.0 is a corpus of 983,004 public domain books digitized as part of Harvard Library's participation in the Google Books project and refined by the Institutional Data Initiative (IDI). It contains 242 billion o200k_base tokens across 386 million pages in 254 languages, with extensive volume-level metadata including OCR quality, language distributions, text analysis, and HathiTrust data extensions. The books were published largely in the 19th and 20th centuries. Access is restricted to noncommercial use with no redistribution allowed, requiring agreement to IDI's Early-Access Terms of Use.