Skip to content

Dataset · HuggingFaceM4

WebSight: screenshots and website HTML/CSS

HuggingFaceM4/WebSight

A large synthetic dataset of screenshot-to-HTML/CSS-code pairs for image-based UI generation.

What's inside

WebSight is a large synthetic dataset with HTML/CSS code of artificially generated English websites and corresponding screenshots. The size is 1 to 10 million examples. In version v0.1, sites are laid out in HTML + CSS without real images, in v0.2 in HTML + Tailwind CSS. The data is intended for screenshot-to-UI-code generation tasks.

What you can do with it

  • Train a screenshot-to-code model
  • Fine-tune VLM for HTML/CSS generation
  • Evaluate UI generation from screenshots
Languages
English
Size
1M–10M rows
Downloads this month
18.9K
Likes
412

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("HuggingFaceM4/WebSight")