← Datasets

Compare

KernelBook
#105 · remove
Natural Reasoning
#93 · remove
wikipedia-monthly
#91 · remove
Kinddatasetdatasetdataset
Published202520252025
Licenseothercc-by-nc-4.0cc-by-sa-4.0
License familyOtherNon-commercialCopyleft
Accessfreefreefree
Language codesenenab, 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
Modalitiestexttexttext
Size10K to 100K rows1M to 10M rows—
Downloads (last month)2422,9806,276
Likes5758482
Last updated2026-06-092025-02-212026-10-03
Tasks—text-generationtext-generation
Formatsparquetjson—
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.Public HF subset: datasetsServerInfo 1,145,824 train rows (card ~1.1M); size_categories 1M<n<10M; parquet export 1.9 GB (9 files, 3 columns); repo full.jsonl 4.2 GB LFS plus 1.1 MB paper PDF. Paper: 2.8M unique questions (not fully released). Avg question 55 words. Hub 52.2K downloads / 580 likes at check. Gated=false.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.JSONL (full.jsonl) and parquet viewer export. Columns: question, reference_answer, responses (list of {response_model, response}). Card format:json.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 translationAnnotated reasoning corpus / question + optional reference answer + teacher responseRaw-text encyclopedia pretrain corpus / per-language Wikipedia articles + tokenizer/n-gram artifacts
CostFreeFreeFree
LanguagesEnglish 100% (card language:en) plus Python/Triton source. Comments inherit GitHub-repo language mix; not quantified. No LID table.English 100% (card language:en). Questions and Llama teacher traces are English; source DCLM is English web and FineMath is English math web. No LID table on the card.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 (English + LaTeX in STEM items)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 codegeneral reasoning (STEM physics/CS/math plus economics, social science, law); knowledge-distillation SFT; self-training / RLVRWikipedia 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.Paper arXiv 2502.13124 published 2025-02-18 (HTML v4 on Hub). HF createdAt 2025-01-30; lastModified 2025-02-21. Questions backtranslated from DCLM-baseline and FineMath pretraining documents (those corpora' own crawl cutoffs). Discord posted 2025-09-30.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 kernels2.8M challenging, web-grounded reasoning questions with reference answers for distilling and self-training reasoners beyond narrow math/code contestsMonthly 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.Paper: SFT distillation into Llama3.1-8B-Instruct and Qwen2.5-7B; unsupervised self-training with external RM or self-rewarding; long-CoT elicitation vs LIMO/s1K. Hub 52.2K downloads / 580 likes at check. Discord posted the HF pointer.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.Synthetic questions backtranslated by an LLM from DCLM-baseline and FineMath documents (human web/math authors underneath). Teacher traces: Llama-3.3-70B-Instruct on the card/preview (paper §2.2 also names Llama-3-70B-Instruct). Curated by Meta + NYU (Yuan, Yu, Jiang, Padthe, Li, Kulikov, Cho, Wang, Tian, Weston, Li).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.Backtranslated from DCLM+FineMath so English-web and math-web priors dominate. Broader than MetaMathQA/NuminaMath/OpenMathInstruct-2 (math-only) but still STEM-heavy vs a general web mix; paper topic classifier vs WebInstruct shows more Physics/CS/Social Science mass. Open-ended vs short-verifiable mix. Residual teacher-model style from Llama-3.3-70B-Instruct.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.Paper: 93% high-quality under majority of three LLM judges (R1-Distill-Qwen-32B / Qwen2.5-72B-Instruct / Llama-3-70B-Instruct, 7–10/10); human 100-item mean 6.45 vs 5.92 next-best. Median Llama3.3-70B response 434 words (harder proxy). MinHash question dedup (word-level, sim 0.55). 13-gram decontam vs MATH/GPQA/MMLU-Pro/MMLU-STEM removed 0.026%. Reference answers extracted from source docs can be noisy; paper still uses them for KD filtering and RLVR.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.Single default train split 1,145,824. Card 1.1M subset reference-answer mix: 18.29% missing, 9.71% single-word, 21.58% short, 50.42% long. Paper 2.8M: 81.68% have a reference answer; 10.7% single-word / 20.0% short (2–9 words) / 50.9% long (≥10). No official val/test.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).Mixed (questions ~55 words; teacher CoTs median 434 words; long reference answers are document summaries rather than book-length).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 (LLM rates DCLM/FineMath docs on completeness/complexity/correctness/reasoning; synthesize self-contained question; extract reference answer from the doc if possible; Llama teacher response; MinHash dedup; 13-gram decontam). No extra human annotation in the pipeline.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 qualityHighHighHigh
NoveltyHigh (public paired PyTorch/Triton kernel dump in KernelBench format)High (2.8M wild reasoning questions from pretraining docs rather than GSM8K/MATH rewrites; public 1.1M subset)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 JSONL/parquet; load_dataset('facebook/natural_reasoning'). ~1.9 GB parquet / 4.2 GB jsonl.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 methodDownloadDownloadDownload
StaticUnknown (HF lastModified 2026-06-09 is a license refresh; code snapshot is one-shot Stack v1 / PyTorch 2.5.0)Unknown (HF lastModified 2025-02-21; public dump is the 1.1M subset of the paper's 2.8M)No (monthly pipeline; latest aliases the current dump; HF lastModified 2026-03-14; card 2026-03-14 21:06 UTC).
ProcessedUnknownUnknownUnknown
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.[NaturalReasoning](https://arxiv.org/abs/2502.13124) is a large-scale dataset for general reasoning tasks. It consists of high-quality challenging reasoning questions backtranslated from pretraining corpora [DCLM](https://github.com/mlfoundations/dclm) and [FineMath](https://huggingface.co/datasets/HuggingFaceTB/finemath). The questions have been deduplicated and decontaminated from popular reasoning benchmarks including MATH, GPQA, MMLU-Pro, MMLU-STEM.This repository provides **monthly, multilingual dumps of Wikipedia**, processed and prepared for easy use in NLP projects.