Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
280
280
completion
stringlengths
236
2.17M
<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="1080" viewBox="0 0 1080 1080"> <defs> <linearGradient id="bg_gradient" x1="100%" y1="0%" x2="0%" y2="0%"> <stop offset="0%" stop-color="#ebedec" stop-opacity="1" /> <stop offset="20%" stop-color="#2a2409" stop-opacity="1" /> <stop offset="40%" sto...
<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="1080" viewBox="0 0 1080 1080"> <rect x="0" y="0" width="100%" height="100%" fill="#605d5b" /> <defs> <linearGradient id="gradient_7845" x1="50%" y1="50%" x2="49.0%" y2="0.0095%"> <stop offset="0%" stop-color="#605d5b" /> <stop offset="33.6%" stop-co...
<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="1080" viewBox="0 0 1080 1080"> <rect x="0" y="0" width="100%" height="100%" fill="#5bae6f" /> <defs> <linearGradient id="gradient_2579" x1="0%" y1="0%" x2="0%" y2="100%"> <stop offset="0%" stop-color="#8fde94" /> <stop offset="13.2%" stop-color="#5b...
<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="1080" viewBox="0 0 1080 1080"> <rect x="0" y="0" width="100%" height="100%" fill="#eab1ea" /> <defs> <linearGradient id="gradient_3201" x1="50%" y1="50%" x2="50.7%" y2="0.00551%"> <stop offset="0%" stop-color="#774e05" /> <stop offset="17%" stop-col...
<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="1080" viewBox="0 0 1080 1080"> <rect x="0" y="0" width="100%" height="100%" fill="#a2d9c9" /> <defs> <linearGradient id="gradient_8422" x1="0%" y1="0%" x2="100%" y2="100%"> <stop offset="0%" stop-color="#670c9d" stop-opacity="0.801" /> <stop offset=...
<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="1080" viewBox="0 0 1080 1080"> <rect x="0" y="0" width="100%" height="100%" fill="#a18799" /> <circle cx="1247.6" cy="776" r="75" fill="#f2eae0" /> <defs> <mask id="content-mask-166746"> <circle cx="60" cy="90.2" r="60" fill="white" /> </mask> </de...
<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="1080" viewBox="0 0 1080 1080"> <rect x="0" y="0" width="100%" height="100%" fill="#019747" /> <g transform="matrix(0.9 0 0 0.9 937.1 817.7)"> <g> <path d="M168,102a95.55,95.55,0,0,0,56,18V80a56,56,0,0,1-56-56H128V156a28,28,0,1,1-40-25.31V88c-31.83,5.67...
<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="1080" viewBox="0 0 1080 1080"> <rect x="0" y="0" width="100%" height="100%" fill="#171b18" /> <circle cx="-35.4" cy="707.9" r="133" fill="#1b4da5" stroke="#dff9eb" stroke-width="5" /> <image width="218" height="218" alt="Icon of dots-six-vertical" href="da...
<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="1080" viewBox="0 0 1080 1080"> <rect x="0" y="0" width="100%" height="100%" fill="#cdeaea" /> <text style="font-size: 32px; font-weight: normal; font-family: Delius Swash Caps;" fill="#fc718f"> <tspan x="103" y="103" dominant-baseline="hanging">fidget bin...
<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="1080" viewBox="0 0 1080 1080"> <defs> <linearGradient id="bg_gradient" x1="100%" y1="0%" x2="0%" y2="0%"> <stop offset="0%" stop-color="#78b9cd" stop-opacity="1" x="0" y="0" /> <stop offset="100%" stop-color="#d00809" stop-opacity="1" x="0" y="0" /> ...
<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="1080" viewBox="0 0 1080 1080"> <rect x="0" y="0" width="100%" height="100%" fill="#b9ebd1" /> <circle cx="652.9" cy="279" r="138" fill="#b9ebd1" stroke="#888461" stroke-width="2" /> <defs> <mask id="content-mask-862388"> <circle cx="189.5" cy="126" r=...
<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="1080" viewBox="0 0 1080 1080"> <rect x="0" y="0" width="100%" height="100%" fill="#9c8886" /> <line x1="522.8" y1="52.4" x2="-195.4" y2="807.9" stroke="#061a15" stroke-width="1" opacity="0.6" /> </svg>
<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="1080" viewBox="0 0 1080 1080"> <rect x="0" y="0" width="100%" height="100%" fill="#5a454c" /> <rect x="121.3" y="544.1" width="189" height="189" rx="27" ry="27" fill="#373c12" /> <defs> <mask id="content-mask-447291"> <rect x="0" y="0" width="157" hei...
<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="1080" viewBox="0 0 1080 1080"> <defs> <linearGradient id="bg_gradient" x1="100%" y1="0%" x2="0%" y2="100%"> <stop offset="0%" stop-color="#d9d7c1" stop-opacity="1" /> <stop offset="100%" stop-color="#cc74be" stop-opacity="1" /> </linearGradient> <...
<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="1080" viewBox="0 0 1080 1080"> <rect x="0" y="0" width="100%" height="100%" fill="#f2ecf9" /> <text x="1066.1" y="833.6" font-family="Playfair Display" font-size="107px" font-weight="Black" fill="#feeffc" text-anchor="middle" dominant-baseline="middle" tran...
<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="1080" viewBox="0 0 1080 1080"> <rect x="0" y="0" width="100%" height="100%" fill="#12452d" /> <text x="846.9" y="237.4" font-family="Noto Serif" font-size="107px" font-weight="ExtraBold" fill="#3d216a" text-anchor="middle" dominant-baseline="middle" transfo...
<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="1080" viewBox="0 0 1080 1080"> <rect x="0" y="0" width="100%" height="100%" fill="#294f42" /> <text style="font-size: 76px; font-weight: Bold; font-family: Oswald;" fill="#ebf0f8" stroke="#140f07" stroke-width="1.4"> <tspan x="193" y="38" dominant-baselin...
<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="1080" viewBox="0 0 1080 1080"> <rect x="0" y="0" width="100%" height="100%" fill="#1d232b" /> <text style="font-size: 107px; font-weight: ExtraBold; font-family: Playfair Display;" fill="#663256" stroke="#fff" stroke-width="1.8"> <tspan x="68" y="34" domi...
End of preview. Expand in Data Studio

SVG Basic Benchmark Dataset (svg_basic_benchmark_v0)

Presto Design is proud to announce this public benchmark to help advance the field of machine-powered graphic design.

Why This Matters

Professional graphic design is increasingly reliant on Large Language Models (LLMs) due to their unique capabilities that traditional image generation models like Stable Diffusion cannot match. LLMs excel at:

  • Working with branded assets and specific stock photos
  • Utilizing brand-specific fonts and typography
  • Creating scalable, resolution-independent designs
  • Maintaining precise control over design elements
  • Generating semantic, editable markup (SVG)

As a leader in developing cutting-edge LLM-powered graphic design models, Presto Design recognizes that LLMs have historically struggled with graphic design tasks. This benchmark represents a "fifth grader test" for LLMs - given an image, can they perfectly replicate it?

This fundamental capability is a crucial stepping stone toward developing truly creative and professional design systems.

Dataset Contents

  • 2000 test samples, each containing:
    • image: A rendered PNG version of the SVG poster (280x280 pixels for speed and efficiency)
    • completion: The full SVG markup for the poster

Design Features

The benchmark tests comprehensive understanding of SVG features including:

  • Backgrounds: Plain colors, gradients, or background images with controlled opacity
  • Layouts: Text wrapping and random layouts with weighted distribution
  • Text: Various font styles, sizes, and colors using a consistent color scheme
  • Shapes: Geometric shapes and masked images
  • Images: Integration of stock photos from the Unsplash dataset with proper attribution
  • Advanced Features: masks, gradients, strokes, icons
  • Color Replication

Technical Details

  • SVG files are fully valid and renderable
  • Images are resized to maintain performance
  • Color schemes are programmatically generated for consistency
  • All external resources (images, fonts) are properly embedded

Usage

This dataset is primarily used for:

  1. Benchmarking SVG generation models
  2. Testing SVG manipulation and rendering capabilities
  3. Evaluating layout algorithm performance
  4. Validating text placement and wrapping functionality

Resources

Dataset Structure

The dataset is organized with the following structure:

  • test/: Contains 2000 examples across 1 chunks

Loading the Dataset

You can load this dataset using the Hugging Face datasets library:

from datasets import load_dataset

# Load the entire dataset
dataset = load_dataset("Presto-Design/svg_basic_benchmark_v0")

# Or load specific splits
dataset = load_dataset("Presto-Design/svg_basic_benchmark_v0", split="test")
Downloads last month
9