← Datasets

Compare

The Stack v2
#1179 · remove
AlicanKiraz0/Cybersecurity-Dataset-Fenrir-v2.1
#1178 · remove
facebook/principia-collection
#1176 · remove
Kinddatasetdatasetdataset
Published202420252025
Licenseother / per-file SPDX; ToU requires original license compliance + SWH LLM principlesApache-2.0cc-by-nc-sa-4.0
License familyOtherPermissiveNon-commercial
AccessFree metadata after gate; bulk content agreement requiredFree; <1 GBFree download; NC-SA restriction
Language codescodeenen
Modalitiescode, texttexttext
Size—10K to 100K rows100K to 1M rows
Downloads (last month)6,0314,406302
Likes63814847
Last updated2026-08-032026-04-222025-12-19
Taskstext-generationtext-generation—
Formats—jsonparquet
ScaleFull 67.5TB / >3B files / 104.2M repos; dedup 32.1TB; train-full ~900B tokens. Hub metadata usedStorage ~427 GB. size_categories unknown.99,870 rows; ~940 MB Hub storage554,399 rows (248,743 mathematical_object + 305,656 numerical); ~353 MB download
FormatParquet metadata per language config (600+); contents fetched via blob_id from s3://softwareheritage/content/JSONL/parquet chat: system, user, assistantParquet (mathematical_object-* / numerical-*); features topic, problem_statement, answer, answer_type
TypeCode corpus / SWHID + metadata (contents on SWH S3)instruction-tuning chat triples (defensive cyber)synthetic STEM problem–answer (math objects + numerical)
CostFree metadata after gate; bulk content agreement requiredFree; <1 GBFree download; NC-SA restriction
Languages658 langs (card); paper 619. High-resource langs (C, JS, etc.) overrepresented vs niche (Julia, Scala). Natural language in comments mostly English.EnglishEnglish
ModalitySource code / text. No images.TextText
Domaincode pretraining; multilingual source code; Software Heritagedefensive cybersecurity instruction tuningmath / STEM reasoning (PhySH + MSC 2020 topics)
Time periodSWH 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).v2 Hub Oct 2025; lastModified Apr 2026; Discord 2026-04-29Hub 2025-11-04 to 2025-12-19; Discord 2025-11-17; paper TBD
PurposeOpen reproducible Code LLM pretraining corpus with license/provenance metadata and developer opt-outSenior-engineer-level defensive SecOps SFT with alignment refusalsDerive mathematical objects and numerical answers from STEM problem statements
Used forStarCoder2 3B/7B/15B (paper). Hub 6.3K downloads / 626 likes at check; paper 160 upvotes.Cyber defense assistants; safety-tuned security SFTReasoning SFT; math object derivation; numerical STEM QA
AuthorsBigCode 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.Alican Kiraz (synthetic/curated instruction triples)Meta/Facebook synthetic pipeline (GPT-OSS-120B proposer); individual authors not listed
BiasPermissive-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.Framework-centric (OWASP/ATT&CK/NIST/CIS); enterprise cloud-heavy; defensive stance may under-represent research red-team nuanceSynthetic STEM topics; GPT-OSS-120B proposer biases; PhySH/MSC taxonomy coverage skew
Text qualityExact-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.Card claims quality gates (dedup, PII scrub, refusal tests); not independently re-scored this passStructured problem/answer fields; answer types curated; spot-checked card schema only (no row sample download)
Sample sizeNo official train/test split (near-dup leakage risk). Language configs e.g. Python, Dockerfile, default=all.Single train split 99,870Two named splits; answer-type histograms on card
Long contextMixed (file-level; train-* group by repo for full-repo context).Moderate (explanatory security answers)Low–medium (mean answer ~135 tokens; problems STEM statements)
Intermediate stepsYes (SWH traversal; GH Archive metadata; ScanCode license detect; permissive filter; near-dedup; opt-out removals v2.0.1–v2.2.0).Explanatory assistant answers; not CoT-tagged by defaultNo; answer is final object/number (not CoT traces)
Idea qualityHighHigh for defensive SecOps SFTHigh (structured math-object answers vs numeric-only)
NoveltyHigh (largest open SWH-backed code dump with governance; still foundational vs newer niche dumps)Medium (domain SFT pack; strong framework mapping)High (large synthetic math-object derivation set from Meta)
Text conversionMetadata load_dataset works after gated ToU. Bulk contents need SWH/INRIA agreement + AWS credentials. Streaming supported.EasyEasy (parquet via datasets)
Collection methodDownload (gated) + optional SWH S3HF download; Apache-2.0load_dataset splits mathematical_object / numerical
StaticNo (periodic opt-out updates; lastModified 2026-08-03)Yes at Apr 2026 snapshotYes at this Hub revision
ProcessedUnknownYes (curated/synthetic with quality gates)Yes (synthetic generation + type labeling)
SummaryOpen reproducible Code LLM pretraining corpus with license/provenance metadata and developer opt-outSenior-engineer-level defensive SecOps SFT with alignment refusalsDerive mathematical objects and numerical answers from STEM problem statements