Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,119 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
task_categories:
|
| 6 |
+
- text-generation
|
| 7 |
+
- image-to-text
|
| 8 |
+
- feature-extraction
|
| 9 |
+
pretty_name: WebUI
|
| 10 |
+
size_categories:
|
| 11 |
+
- 10K<n<100K
|
| 12 |
---
|
| 13 |
+
|
| 14 |
+
# π WebUI
|
| 15 |
+
|
| 16 |
+
A high-quality dataset for training AI models to understand and generate modern websites.
|
| 17 |
+
|
| 18 |
+
The dataset contains structured webpage samples including HTML, screenshots, UI element annotations, semantic labels, color palettes, fonts, layout metadata, and accessibility information. Each sample represents a complete webpage that can be used for web generation, UI understanding, or multimodal training. :contentReference[oaicite:0]{index=0}
|
| 19 |
+
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
## β¨ Features
|
| 23 |
+
|
| 24 |
+
- π Complete HTML pages
|
| 25 |
+
- πΌοΈ Full-page screenshots
|
| 26 |
+
- π± Desktop, tablet, and mobile layouts
|
| 27 |
+
- π¨ Extracted color palettes
|
| 28 |
+
- π€ Font metadata
|
| 29 |
+
- π¦ Structured UI elements
|
| 30 |
+
- π Bounding boxes
|
| 31 |
+
- βΏ Accessibility labels
|
| 32 |
+
- π·οΈ Page categories
|
| 33 |
+
- π Original source URLs
|
| 34 |
+
|
| 35 |
+
---
|
| 36 |
+
|
| 37 |
+
## Example Uses
|
| 38 |
+
|
| 39 |
+
- Fine-tune LLMs for HTML generation
|
| 40 |
+
- Website recreation from screenshots
|
| 41 |
+
- UI parsing
|
| 42 |
+
- Layout understanding
|
| 43 |
+
- Frontend code generation
|
| 44 |
+
- Vision-language model training
|
| 45 |
+
- Accessibility research
|
| 46 |
+
|
| 47 |
+
---
|
| 48 |
+
|
| 49 |
+
## Dataset Structure
|
| 50 |
+
|
| 51 |
+
Each record includes fields similar to:
|
| 52 |
+
|
| 53 |
+
```json
|
| 54 |
+
{
|
| 55 |
+
"id": "...",
|
| 56 |
+
"url": "...",
|
| 57 |
+
"title": "...",
|
| 58 |
+
"page_type": "...",
|
| 59 |
+
"device_type": "...",
|
| 60 |
+
"html": "...",
|
| 61 |
+
"elements": [...],
|
| 62 |
+
"images": [...],
|
| 63 |
+
"colors": [...],
|
| 64 |
+
"fonts": [...],
|
| 65 |
+
"screenshot": "..."
|
| 66 |
+
}
|
| 67 |
+
```
|
| 68 |
+
|
| 69 |
+
---
|
| 70 |
+
|
| 71 |
+
## Loading
|
| 72 |
+
|
| 73 |
+
```python
|
| 74 |
+
from datasets import load_dataset
|
| 75 |
+
|
| 76 |
+
dataset = load_dataset("xlelords/webui")
|
| 77 |
+
|
| 78 |
+
print(dataset["train"][0])
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
---
|
| 82 |
+
|
| 83 |
+
## Recommended Models
|
| 84 |
+
|
| 85 |
+
- Qwen 3 4B
|
| 86 |
+
- Gemma 3 4B
|
| 87 |
+
- Llama 3.2 3B
|
| 88 |
+
- SmolLM2
|
| 89 |
+
- Phi-4 Mini
|
| 90 |
+
- TinyLlama
|
| 91 |
+
|
| 92 |
+
---
|
| 93 |
+
|
| 94 |
+
## Example Prompts
|
| 95 |
+
|
| 96 |
+
- Create a responsive SaaS landing page.
|
| 97 |
+
- Build a modern portfolio website.
|
| 98 |
+
- Generate a beautiful login screen.
|
| 99 |
+
- Design an AI dashboard.
|
| 100 |
+
- Create an ecommerce homepage.
|
| 101 |
+
- Generate a banking dashboard.
|
| 102 |
+
- Build a travel booking website.
|
| 103 |
+
- Make a glassmorphism pricing page.
|
| 104 |
+
|
| 105 |
+
---
|
| 106 |
+
|
| 107 |
+
## Citation
|
| 108 |
+
|
| 109 |
+
If you use this dataset in your work, please cite the Hugging Face dataset repository.
|
| 110 |
+
|
| 111 |
+
---
|
| 112 |
+
|
| 113 |
+
## License
|
| 114 |
+
|
| 115 |
+
Apache-2.0
|
| 116 |
+
|
| 117 |
+
---
|
| 118 |
+
|
| 119 |
+
Made for developers, researchers, and anyone building the next generation of AI-powered web design tools.
|