← Datasets

Compare

TikTok Videos 4.5B (dams2005 mirror; Discord kuben-developer 404)
#894 · remove
The Stack v2
#1179 · remove
GPUMODE/KernelBook
#1173 · remove
Kinddatasetdatasetdataset
Published200520242025
Licenseother (research-use)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
Accessungated on dams2005 mirrorFree metadata after gate; bulk content agreement requiredFree download; legal friction if training commercial models without reciprocity
Language codesar, en, es, id, ptcodeen
Modalitiestabular, textcode, textcode, text
Size1B to 10B rows—10K to 100K rows
Downloads (last month)7116,031242
Likes163857
Last updated2026-09-022026-08-032026-06-09
Taskstext-classification, text-generation, feature-extractiontext-generation—
Formatsparquet—parquet
Scale—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
Format—Parquet metadata per language config (600+); contents fetched via blob_id from s3://softwareheritage/content/dataset_permissive.parquet / .json on Hub
Type—Code corpus / SWHID + metadata (contents on SWH S3)paired code translation (PyTorch → Triton)
Cost—Free metadata after gate; bulk content agreement requiredFree download; legal friction if training commercial models without reciprocity
Languages—658 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)
Domain—code 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)
Purpose—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
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
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.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)
Summary4.5 billion TikTok video records with captions, engagement counts, sound identifiers and timing. Collected via TikTok Android private HTTP API over ~3 weeks; deduped on content_id. 27 zstd Parquet files (~289 GB). No creator IDs, no media URLs. Discord URL kuben-developer/tiktok-videos-4b is Hub 404; cataloged from live mirror dams2005/tiktok-videos-4b (identical usedStorage; card load_dataset still cites kuben-developer).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