← Datasets

Compare

KernelBook
#105 · remove
wikipedia-monthly
#91 · remove
Kinddatasetdataset
Published20252025
Licenseothercc-by-sa-4.0
License familyOtherCopyleft
Accessfreefree
Language codesenab, ace, ady, af, ak, als, alt, am, ami, an, ang, ann, anp, ar, arc, ary, arz, as, ast, atj, av, avk, awa, ay, az, azb, ba, ban, bar, bbc, bcl, bdr, be, bew, bg, bh, bi, bjn, blk, bm, bn, bo, bpy, br, bs, btm, bug, bxr, ca, cdo, ce, ceb, ch, cho, chr, chy, ckb, co, cr, crh, cs, csb, cu, cv, cy, da, dag, de, dga, din, diq, dsb, dtp, dty, dv, dz, ee, el, eml, en, multilingual
Modalitiestexttext
Size10K to 100K rows—
Downloads (last month)2426,276
Likes5782
Last updated2026-06-092026-10-03
Tasks—text-generation
Formatsparquet—
ScaleHub datasets-server: 18,162 train rows / 12 columns; size_categories 10K<n<100K. Parquet download_size 87,425,771 bytes (~87.4 MB); uncompressed dataset_size 400,578,833 (~400.6 MB). JSON twin dataset_permissive.json 416.4 MB. Hub usedStorage 604,388,003 bytes (~604.4 MB). Hub 829 downloads / 57 likes at check.Card current export 62.8M articles / 343 languages (all-exports column also 62.8M / 361 langs). size_categories tag 100M<n<1B vs 62.8M — catalog card 62.8M; Hub tag is inflated by latest+dated aliases plus 1000/5000/10000 subsample splits. usedStorage Unknown. Hub overview 134.3K downloads / 77 likes at check. gated=false. YAML train n for some large editions look rounded (it 580,000 / no 470,000 / ro 100,000) — per-lang n not independently counted.
Formatparquet (dataset_permissive.parquet) and JSON (dataset_permissive.json). Columns: entry_point, original_triton_code, python_code, triton_code, repo_name, module_name, synthetic, uuid, licenses, stars, sha, repo_link.Parquet under dated dump dirs plus latest.{lang} aliases. Splits train / 1000 / 5000 / 10000. Also SentencePiece models, n-gram pickles, vocabulous dictionaries, stats JSON per language in older 20250720/{lang} trees. Schema columns not independently listed here (viewer returned a full article).
TypePaired code corpus / PyTorch→Triton kernel translationRaw-text encyclopedia pretrain corpus / per-language Wikipedia articles + tokenizer/n-gram artifacts
CostFreeFree
LanguagesEnglish 100% (card language:en) plus Python/Triton source. Comments inherit GitHub-repo language mix; not quantified. No LID table.Card current export 343 languages / all exports 361. YAML one config pair per edition (latest.{lang} aliases 20260301.{lang}). Per-language percents Unknown without summing train splits. Some editions 0 rows in YAML (e.g. na, nan, nds-nl, sh). English n Unknown independently here — do not copy FineWiki en 6,614,655 as this dump's n.
ModalityText-only (Python + Triton source). No PTX/cubin binaries in the schema.Text-only (Wikipedia article text). Tokenizer/n-gram artifacts are side files, not extra article n.
DomainGPU kernels; PyTorch nn.Module to Triton translation; compiler-generated kernels; KernelBench-style codeWikipedia encyclopedia; multilingual pre-training; n-gram/tokenizer artifacts
Time periodHF createdAt 2025-03-14; lastModified 2026-06-09 (Researcher Reciprocity license v1.0 dated 2026-06-09). Citation month May 2025. Triton generated with PyTorch 2.5.0 inductor. Source repos/hashes from The Stack v1 GitHub snapshot, not a live crawl.Card last updated 2026-03-14 21:06 UTC (March 2026 export). YAML dated configs 20260301.{lang} with latest.{lang} aliases. On-disk also has 20250701.{lang} and 20250720/{lang} dirs from earlier dumps. Discord posted 2025-09-30. Live monthly pipeline, not a frozen FineWiki snapshot.
PurposeTrain models to translate PyTorch modules into equivalent Triton kernelsMonthly multilingual Wikipedia dumps processed for NLP/pre-training — XML dump parse plus a 9-stage pipeline (normalize, SentencePiece, n-grams, article scoring, representative samples)
Used forGPU Mode / popcorn-kernels research and KernelBench-format kernel generation. Hub 829 downloads / 57 likes at check. Discord posted the HF URL. Sibling GPUMODE/pytorch_scrape_inductor_data is gated=manual — skipped; this is the public permissive slice.None named on the card beyond NLP/pre-training. Hub overview 134.3K downloads / 77 likes at check. Discord posted the HF URL. DOI 10.57967/hf/6575.
AuthorsPublic GitHub authors on permissively licensed PyTorch repos (MIT/Apache-2.0/BSD/MPL/Unlicense/zlib listed). Curated by Sahan Paliskara and Mark Saroufim (GPU Mode). Triton is TorchInductor output, not human-written kernels. `synthetic` bool column marks some rows.Omar Kamali processing pipeline over official Wikimedia XML dumps. Article text by Wikipedia contributors. Independent of HuggingFaceFW FineWiki and Open Index Markdown.
BiasStack v1 GitHub PyTorch modules that compiled and unit-tested, not general CUDA/Triton. Permissive-license subset only. Popular/starred repos overweighted (`stars` column). Inductor/PyTorch 2.5.0 kernel style, not hand-tuned kernels. KernelBench format transform. Parent bigcode/the-stack remains gated — this derived slice is public.Inherits Wikipedia edition mix (English/Cebuano/German-heavy article counts on sibling dumps). Community-edited encyclopedia, not web crawl. Distinct from already-cataloged FineWiki (HuggingFaceFW 61,550,610 pages / 325 langs / 184.7 GB quality-filtered) and Open Wikipedia Markdown (65,922,463 articles / 367 langs) — this is a monthly dated dump plus tokenizer/n-gram artifacts, not those two conversions.
Text qualityExtracted torch.nn modules with generated unit tests; modules that could not be tested were dropped. Triton from torch.compile then rewritten toward KernelBench format. Residual compiler boilerplate and version-locked kernels (card: use PyTorch 2.5.0 to run). Not independently re-executed here.Source is official Wikimedia dumps. Per-lang README: 9-stage pipeline (unscript normalize, SentencePiece, vocabulous LID, n-grams, article scoring, coverage samples). Residual: YAML 1000/5000/10000 splits exist even when train n < that size (empty/padded Unknown); some train n look rounded; quality not independently re-parsed here.
Sample sizeSingle default train 18,162. No official val/test or language configs. JSON and parquet are the same permissive set. Gated siblings (pytorch_scrape_inductor_data, synthetic_data) are not this file.Card 62.8M articles across 343 current-export languages. latest.{lang} aliases 20260301.{lang} — do not add them. Splits 1000/5000/10000 are representative subsets, not extra n. Older on-disk 20250701/20250720 dirs are prior months, not extra current-export n. No val/test.
Long contextNo (single-module Python/Triton pairs; not full-repo context).Yes (full Wikipedia articles). Exact token histogram Unknown without aggregating parquet.
Intermediate stepsYes (Stack v1 repo+hash collection; nn.Module extraction; unit-test generation; torch.compile Triton; KernelBench-style rewrite; license/star/SHA metadata). Scripts: github.com/pytorch-labs/popcorn-kernels/tree/main/github_pytorch_index.Yes (download Wikimedia XML; parse; unscript normalize; train SentencePiece; vocabulous dictionary; 2/3/4-gram models; article scoring; coverage-optimized samples; Hub publish). Pipeline v1.0.0 on the 20250720/ab README.
Idea qualityHighHigh
NoveltyHigh (public paired PyTorch/Triton kernel dump in KernelBench format)Medium (public monthly Wikipedia dump on Hub vs already-cataloged FineWiki / Open Wikipedia Markdown; still the dump-channel monthly pointer with dated configs)
Text conversionReady parquet; load_dataset('GPUMODE/KernelBook') or pandas.read_parquet. ~87.4 MB parquet / ~416 MB JSON.Ready parquet; load_dataset('omarkamali/wikipedia-monthly', 'latest.en', split='train', streaming=True). Do not load every latest.* + 20260301.* config (aliases). Prefer train over 1000/5000/10000 subsets. Streaming required.
Collection methodDownloadDownload
StaticUnknown (HF lastModified 2026-06-09 is a license refresh; code snapshot is one-shot Stack v1 / PyTorch 2.5.0)No (monthly pipeline; latest aliases the current dump; HF lastModified 2026-03-14; card 2026-03-14 21:06 UTC).
ProcessedUnknownUnknown
Summary`dataset_permissive{.json/.parquet}` is a curated collection of pairs of pytorch programs and equivalent triton code (generated by torch inductor) which can be used to train models to translate pytorch code to triton code.This repository provides **monthly, multilingual dumps of Wikipedia**, processed and prepared for easy use in NLP projects.