← Datasets

Compare

The Stack v2
#1179 · remove
AlicanKiraz0/Cybersecurity-Dataset-Fenrir-v2.1
#1178 · remove
nex-agi/agent-sft
#1177 · remove
facebook/principia-collection
#1176 · remove
Kinddatasetdatasetdatasetdataset
Published2024202520252025
Licenseother / per-file SPDX; ToU requires original license compliance + SWH LLM principlesApache-2.0odc-bycc-by-nc-sa-4.0
License familyOtherPermissivePermissiveNon-commercial
AccessFree metadata after gate; bulk content agreement requiredFree; <1 GBFree; ~10 GB storageFree download; NC-SA restriction
Language codescodeenen, zhen
Modalitiescode, texttexttexttext
Size—10K to 100K rows10K to 100K rows100K to 1M rows
Downloads (last month)6,0314,406749302
Likes63814812747
Last updated2026-08-032026-04-222025-12-092025-12-19
Taskstext-generationtext-generationtext-generation—
Formats—json—parquet
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 storage~69,008 examples (card total); Hub usedStorage ~10.5 GB554,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, assistantJSONL splits: agentic_coding, agent, chat, deep_research, html, tool_callingParquet (mathematical_object-* / numerical-*); features topic, problem_statement, answer, answer_type
TypeCode corpus / SWHID + metadata (contents on SWH S3)instruction-tuning chat triples (defensive cyber)multi-turn agent SFT with tool definitionssynthetic STEM problem–answer (math objects + numerical)
CostFree metadata after gate; bulk content agreement requiredFree; <1 GBFree; ~10 GB storageFree 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.EnglishChinese and English (card language: zh, en)English
ModalitySource code / text. No images.TextText (+ tool/schema JSON)Text
Domaincode pretraining; multilingual source code; Software Heritagedefensive cybersecurity instruction tuningagentic LLM training (tools, code, HTML, research)math / 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 Nov–Dec 2025; arXiv 2512.04987 Dec 4 2025; Discord 2025-11-20Hub 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 refusalsSFT reference data for agent models; queries from NEX-N1 training regenerated with DeepSeek-V3.1-Nex-N1Derive 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 SFTAgent SFT; tool-calling; coding/HTML agents; Nex-N1 stackReasoning 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)Nex-AGI Team (large author list on arXiv 2512.04987); generator DeepSeek-V3.1-Nex-N1Meta/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 nuanceRegenerated from NEX-N1 query subset; agent scenario mix; bilingualSynthetic 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 messages+tools schema; did not sample JSONL rows 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,870agentic_code 24796; agent 11749; chat 2079; html 8332; tool_calling 9737; deep_research present but untabulatedTwo named splits; answer-type histograms on card
Long contextMixed (file-level; train-* group by repo for full-repo context).Moderate (explanatory security answers)Likely medium–high for agent/tool trajectories (not measured)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 defaultYes (tool responses / multi-turn trajectories)No; answer is final object/number (not CoT traces)
Idea qualityHighHigh for defensive SecOps SFTHigh (open agent ecosystem companion data)High (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 (NexAU/NexA4A/NexGAP ecosystem paper)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 JSONL; large on-disk (~10 GB)Easy (parquet via datasets)
Collection methodDownload (gated) + optional SWH S3HF download; Apache-2.0load_dataset with named splits; or download JSONL siblingsload_dataset splits mathematical_object / numerical
StaticNo (periodic opt-out updates; lastModified 2026-08-03)Yes at Apr 2026 snapshotYes at Hub sha d8d4de5Yes at this Hub revision
ProcessedUnknownYes (curated/synthetic with quality gates)Yes (regenerated responses)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 refusalsSFT reference data for agent models; queries from NEX-N1 training regenerated with DeepSeek-V3.1-Nex-N1Derive mathematical objects and numerical answers from STEM problem statements