← Datasets

Compare

The Stack v2
#1179 · remove
nex-agi/agent-sft
#1177 · remove
Kinddatasetdataset
Published20242025
Licenseother / per-file SPDX; ToU requires original license compliance + SWH LLM principlesodc-by
License familyOtherPermissive
AccessFree metadata after gate; bulk content agreement requiredFree; ~10 GB storage
Language codescodeen, zh
Modalitiescode, texttext
Size—10K to 100K rows
Downloads (last month)6,031749
Likes638127
Last updated2026-08-032025-12-09
Taskstext-generationtext-generation
ScaleFull 67.5TB / >3B files / 104.2M repos; dedup 32.1TB; train-full ~900B tokens. Hub metadata usedStorage ~427 GB. size_categories unknown.~69,008 examples (card total); Hub usedStorage ~10.5 GB
FormatParquet metadata per language config (600+); contents fetched via blob_id from s3://softwareheritage/content/JSONL splits: agentic_coding, agent, chat, deep_research, html, tool_calling
TypeCode corpus / SWHID + metadata (contents on SWH S3)multi-turn agent SFT with tool definitions
CostFree metadata after gate; bulk content agreement requiredFree; ~10 GB storage
Languages658 langs (card); paper 619. High-resource langs (C, JS, etc.) overrepresented vs niche (Julia, Scala). Natural language in comments mostly English.Chinese and English (card language: zh, en)
ModalitySource code / text. No images.Text (+ tool/schema JSON)
Domaincode pretraining; multilingual source code; Software Heritageagentic LLM training (tools, code, HTML, research)
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).Hub Nov–Dec 2025; arXiv 2512.04987 Dec 4 2025; Discord 2025-11-20
PurposeOpen reproducible Code LLM pretraining corpus with license/provenance metadata and developer opt-outSFT reference data for agent models; queries from NEX-N1 training regenerated with DeepSeek-V3.1-Nex-N1
Used forStarCoder2 3B/7B/15B (paper). Hub 6.3K downloads / 626 likes at check; paper 160 upvotes.Agent SFT; tool-calling; coding/HTML agents; Nex-N1 stack
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.Nex-AGI Team (large author list on arXiv 2512.04987); generator DeepSeek-V3.1-Nex-N1
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.Regenerated from NEX-N1 query subset; agent scenario mix; bilingual
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.Structured messages+tools schema; did not sample JSONL rows this pass
Sample sizeNo official train/test split (near-dup leakage risk). Language configs e.g. Python, Dockerfile, default=all.agentic_code 24796; agent 11749; chat 2079; html 8332; tool_calling 9737; deep_research present but untabulated
Long contextMixed (file-level; train-* group by repo for full-repo context).Likely medium–high for agent/tool trajectories (not measured)
Intermediate stepsYes (SWH traversal; GH Archive metadata; ScanCode license detect; permissive filter; near-dedup; opt-out removals v2.0.1–v2.2.0).Yes (tool responses / multi-turn trajectories)
Idea qualityHighHigh (open agent ecosystem companion data)
NoveltyHigh (largest open SWH-backed code dump with governance; still foundational vs newer niche dumps)High (NexAU/NexA4A/NexGAP ecosystem paper)
Text conversionMetadata load_dataset works after gated ToU. Bulk contents need SWH/INRIA agreement + AWS credentials. Streaming supported.Easy JSONL; large on-disk (~10 GB)
Collection methodDownload (gated) + optional SWH S3load_dataset with named splits; or download JSONL siblings
StaticNo (periodic opt-out updates; lastModified 2026-08-03)Yes at Hub sha d8d4de5
ProcessedUnknownYes (regenerated responses)
SummaryOpen reproducible Code LLM pretraining corpus with license/provenance metadata and developer opt-outSFT reference data for agent models; queries from NEX-N1 training regenerated with DeepSeek-V3.1-Nex-N1