| Kind | dataset | dataset |
|---|
| Published | 2024 | 2025 |
|---|
| License | other / per-file SPDX; ToU requires original license compliance + SWH LLM principles | Apache-2.0 |
|---|
| License family | Other | Permissive |
|---|
| Access | Free metadata after gate; bulk content agreement required | Free; <1 GB |
|---|
| Language codes | code | en |
|---|
| Modalities | code, text | text |
|---|
| Size | — | 10K to 100K rows |
|---|
| Downloads (last month) | 6,031 | 4,406 |
|---|
| Likes | 638 | 148 |
|---|
| Last updated | 2026-08-03 | 2026-04-22 |
|---|
| Tasks | text-generation | text-generation |
|---|
| Formats | — | json |
|---|
| Scale | Full 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 |
|---|
| Format | Parquet metadata per language config (600+); contents fetched via blob_id from s3://softwareheritage/content/ | JSONL/parquet chat: system, user, assistant |
|---|
| Type | Code corpus / SWHID + metadata (contents on SWH S3) | instruction-tuning chat triples (defensive cyber) |
|---|
| Cost | Free metadata after gate; bulk content agreement required | Free; <1 GB |
|---|
| Languages | 658 langs (card); paper 619. High-resource langs (C, JS, etc.) overrepresented vs niche (Julia, Scala). Natural language in comments mostly English. | English |
|---|
| Modality | Source code / text. No images. | Text |
|---|
| Domain | code pretraining; multilingual source code; Software Heritage | defensive cybersecurity instruction tuning |
|---|
| 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). | v2 Hub Oct 2025; lastModified Apr 2026; Discord 2026-04-29 |
|---|
| Purpose | Open reproducible Code LLM pretraining corpus with license/provenance metadata and developer opt-out | Senior-engineer-level defensive SecOps SFT with alignment refusals |
|---|
| Used for | StarCoder2 3B/7B/15B (paper). Hub 6.3K downloads / 626 likes at check; paper 160 upvotes. | Cyber defense assistants; safety-tuned security SFT |
|---|
| Authors | 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. | Alican Kiraz (synthetic/curated instruction triples) |
|---|
| 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. | Framework-centric (OWASP/ATT&CK/NIST/CIS); enterprise cloud-heavy; defensive stance may under-represent research red-team nuance |
|---|
| 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. | Card claims quality gates (dedup, PII scrub, refusal tests); not independently re-scored this pass |
|---|
| Sample size | No official train/test split (near-dup leakage risk). Language configs e.g. Python, Dockerfile, default=all. | Single train split 99,870 |
|---|
| Long context | Mixed (file-level; train-* group by repo for full-repo context). | Moderate (explanatory security answers) |
|---|
| Intermediate steps | Yes (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 default |
|---|
| Idea quality | High | High for defensive SecOps SFT |
|---|
| Novelty | High (largest open SWH-backed code dump with governance; still foundational vs newer niche dumps) | Medium (domain SFT pack; strong framework mapping) |
|---|
| Text conversion | Metadata load_dataset works after gated ToU. Bulk contents need SWH/INRIA agreement + AWS credentials. Streaming supported. | Easy |
|---|
| Collection method | Download (gated) + optional SWH S3 | HF download; Apache-2.0 |
|---|
| Static | No (periodic opt-out updates; lastModified 2026-08-03) | Yes at Apr 2026 snapshot |
|---|
| Processed | Unknown | Yes (curated/synthetic with quality gates) |
|---|
| Summary | Open reproducible Code LLM pretraining corpus with license/provenance metadata and developer opt-out | Senior-engineer-level defensive SecOps SFT with alignment refusals |
|---|