← Datasets

Compare

Britannica Illustrated Pages
#884 · remove
The Stack v2
#1179 · remove
GPUMODE/KernelBook
#1173 · remove
Kinddatasetdatasetdataset
Published202620242025
Licenseother (license_name: public-domain-by-publication-date-pre-1930)other / per-file SPDX; ToU requires original license compliance + SWH LLM principlesJune 9 Researcher Reciprocity License (other). Training/improving AI services triggers reciprocity clause. Underlying repo licenses still apply.
License familyOtherOtherOther
AccessungatedFree metadata after gate; bulk content agreement requiredFree download; legal friction if training commercial models without reciprocity
Language codesencodeen
Modalitiesimage, tabular, textcode, textcode, text
Size1M to 10M rows—10K to 100K rows
Downloads (last month)1,1976,031242
Likes4963857
Last updated2026-08-262026-08-032026-06-09
Tasksimage-classificationtext-generation—
Formatsparquet—parquet
Scale115,293 illustrated pages (975,345 scored pages); 700,480 crop instances at score>=0.10 (411,385 at >=0.30)Full 67.5TB / >3B files / 104.2M repos; dedup 32.1TB; train-full ~900B tokens. Hub metadata usedStorage ~427 GB. size_categories unknown.18,162 train rows (datasets-server); 12 columns; ~87 MB parquet / ~401 MB memory; Hub size_categories 10K<n<100K
FormatJPEG page images (600px thumbnails embedded; full-resolution JP2 via HF bucket links); Parquet metadataParquet metadata per language config (600+); contents fetched via blob_id from s3://softwareheritage/content/dataset_permissive.parquet / .json on Hub
TypedatasetCode corpus / SWHID + metadata (contents on SWH S3)paired code translation (PyTorch → Triton)
CostFreeFree metadata after gate; bulk content agreement requiredFree download; legal friction if training commercial models without reciprocity
Languagesen658 langs (card); paper 619. High-resource langs (C, JS, etc.) overrepresented vs niche (Julia, Scala). Natural language in comments mostly English.English metadata; Python (PyTorch) and Triton code
Modality—Source code / text. No images.Text (code)
DomainHistorical encyclopedia illustration mining / GLAMcode pretraining; multilingual source code; Software HeritageGPU kernel / PyTorch-to-Triton code translation
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).Stack v1 GitHub PyTorch sources; Inductor w/ PyTorch 2.5.0; software cite 2025-05; Hub 2026-06-09; Discord 1428356240630747206 (2025-10-16)
PurposeBrowsing, training, and illustration-rate analysis over historical Britannica editionsOpen reproducible Code LLM pretraining corpus with license/provenance metadata and developer opt-outPaired pytorch↔triton data to train models that emit KernelBench-like Triton from PyTorch modules
Used for—StarCoder2 3B/7B/15B (paper). Hub 6.3K downloads / 626 likes at check; paper 160 upvotes.Kernel codegen model training; compiler/transpiler research; KernelBench-adjacent eval
Authorsbiglam (BigLAM, BigScience/Hugging Face)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.GPU Mode (Paliskara, Saroufim). Code derived from permissive GitHub PyTorch repos via Stack v1 hashes.
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.Only modules that compiled + got unit tests; Stack/GitHub popularity skew; permissive-license filter; PyTorch 2.5.0 Inductor idiosyncrasies
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.Executable-oriented pairs with tests; Triton reshaped toward KernelBench. Still synthetic compiler output — may not match hand-written kernels.
Sample size—No official train/test split (near-dup leakage risk). Language configs e.g. Python, Dockerfile, default=all.18,162 single train split; star/repo metadata uneven
Long context—Mixed (file-level; train-* group by repo for full-repo context).Sometimes (full module + triton can be long)
Intermediate steps—Yes (SWH traversal; GH Archive metadata; ScanCode license detect; permissive filter; near-dedup; opt-out removals v2.0.1–v2.2.0).N/A (code pairs; not natural-language CoT)
Idea quality—HighHigh
Novelty—High (largest open SWH-backed code dump with governance; still foundational vs newer niche dumps)Medium-High (focused Inductor-derived PyTorch-Triton pairs with reciprocity license)
Text conversion—Metadata load_dataset works after gated ToU. Bulk contents need SWH/INRIA agreement + AWS credentials. Streaming supported.Ready parquet/json via datasets
Collection method—Download (gated) + optional SWH S3Hub download of dataset_permissive.parquet; use PyTorch 2.5.0 if re-running Triton
Static—No (periodic opt-out updates; lastModified 2026-08-03)Yes (fixed release files; no monthly refresh observed)
Processed—UnknownYes (module extract, tests, Inductor, KernelBench-style transform)
Summary115,293 illustrated pages from Britannica 1st (1768–71) to 14th (1929), selected by a page classifier from 975,345 pages in 1,160 volumes (838 IA items). 82% of illustrated pages are text pages (≥100 OCR words) with embedded figures — not full-page plates. Configs: pages (default images+metadata), crop_masks (bboxes/masks), manifest (scores/OCR words/provenance for all 975,345 pages). Illustration rate rises from ~3–4% (3rd–6th) to ~15–16% (9th–12th).Open reproducible Code LLM pretraining corpus with license/provenance metadata and developer opt-outPaired pytorch↔triton data to train models that emit KernelBench-like Triton from PyTorch modules