← Datasets

Compare

SVGen Dataset
#108 · remove
KernelBook
#105 · remove
Kinddatasetdataset
Published20232025
Licenseccother
License familyOtherOther
Accessfreefree
Language codesenen
Modalitiescode, texttext
Size100K to 1M rows10K to 100K rows
Downloads (last month)69242
Likes1357
Last updated2023-10-222026-06-09
Taskstext-generation—
Formatsparquetparquet
ScaleHub 216,543 train rows / 5 cols; parquet ~211.2 MB. Card claims ~300k. Downloads ~1.8K / likes 13.Hub 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.
Formatparquet/json fields: input, output, description, source, licenseparquet (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.
TypeSVG code corpus (text modality)Paired code corpus / PyTorch→Triton kernel translation
CostFreeFree
LanguagesEnglish labels/descriptions (card language:en). SVG markup is code.English 100% (card language:en) plus Python/Triton source. Comments inherit GitHub-repo language mix; not quantified. No LID table.
ModalityText/code (SVG). Not paired raster in this repo.Text-only (Python + Triton source). No PTX/cubin binaries in the schema.
DomainSVG vector code; icons/emoji; text-to-SVGGPU kernels; PyTorch nn.Module to Triton translation; compiler-generated kernels; KernelBench-style code
Time periodHF createdAt/lastModified 2023-10-22. Discord 2025-10-17.HF 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.
PurposeAggregate public SVG sources into labeled input/output pairs for generation and design ML.Train models to translate PyTorch modules into equivalent Triton kernels
Used forSVG code generation/understanding; icon corpora; not raster GUI grounding.GPU 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.
AuthorsPackager umuthopeyildirim. Sources: SVG-Repo, Noto Emoji vector, InstructSVG.Public 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.
BiasIcon/emoji-heavy public SVG repos; license mix per row. Description quality uneven (author notes BLIP generation struggled).Stack 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.
Text qualitySVG outputs look structural in schema; descriptions may be weak/empty. Check per-row license before commercial use.Extracted 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.
Sample sizetrain 216543 (card ~300k mismatch).Single 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.
Long contextMedium (SVG strings can be long; not independently measured)No (single-module Python/Triton pairs; not full-repo context).
Intermediate stepsNo (direct SVG outputs; not CoT)Yes (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.
Idea qualityMediumHigh
NoveltyLow-Medium (useful SVG aggregate; older 2023 pack)High (public paired PyTorch/Triton kernel dump in KernelBench format)
Text conversionHigh (ungated parquet)Ready parquet; load_dataset('GPUMODE/KernelBook') or pandas.read_parquet. ~87.4 MB parquet / ~416 MB JSON.
Collection methodDownloadDownload
StaticYes (lastModified 2023-10-22)Unknown (HF lastModified 2026-06-09 is a license refresh; code snapshot is one-shot Stack v1 / PyTorch 2.5.0)
ProcessedPartial (aggregation; descriptions incomplete)Unknown
SummarySVGen is a comprehensive dataset containing 300,000 SVG vector codes from a diverse set of sources including SVG-Repo, Noto Emoji, and InstructSVG. The dataset aims to provide a wide range of SVG files suitable for various applications including web development, design, and machine learning research.`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.