Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
task_categories:
|
| 6 |
+
- image-to-text
|
| 7 |
+
- visual-question-answering
|
| 8 |
+
tags:
|
| 9 |
+
- gui-grounding
|
| 10 |
+
- computer-use
|
| 11 |
+
- pixel-coordinates
|
| 12 |
+
- browser-automation
|
| 13 |
+
- commercial-use
|
| 14 |
+
size_categories:
|
| 15 |
+
- 10K<n<100K
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# SeeClick Web Commercial Dataset (MLX-VLM Format)
|
| 19 |
+
|
| 20 |
+
Commercial-use friendly GUI grounding dataset from SeeClick Web data.
|
| 21 |
+
Apache 2.0 licensed - safe for commercial applications.
|
| 22 |
+
|
| 23 |
+
## Dataset Description
|
| 24 |
+
|
| 25 |
+
This dataset contains ~20k examples for training Vision-Language Models to predict
|
| 26 |
+
click coordinates given a screenshot and instruction. Derived from SeeClick Web
|
| 27 |
+
crawled data (Apache 2.0).
|
| 28 |
+
|
| 29 |
+
### Key Features
|
| 30 |
+
|
| 31 |
+
- **License:** Apache 2.0 (commercial use allowed)
|
| 32 |
+
- **Format:** MLX-VLM training format
|
| 33 |
+
- **Examples:** 19,919 total (15,935 train, 1,991 val, 1,993 test)
|
| 34 |
+
- **Platform:** Web screenshots
|
| 35 |
+
- **Coordinate System:** Absolute pixels based on actual image dimensions
|
| 36 |
+
- **Image Resolution:** Primarily 1920x1080 (coordinates scaled to actual image size)
|
| 37 |
+
|
| 38 |
+
### Format
|
| 39 |
+
|
| 40 |
+
Each example follows the MLX-VLM chat format:
|
| 41 |
+
|
| 42 |
+
```json
|
| 43 |
+
{
|
| 44 |
+
"messages": [
|
| 45 |
+
{
|
| 46 |
+
"role": "user",
|
| 47 |
+
"content": [
|
| 48 |
+
{"type": "image"},
|
| 49 |
+
{"type": "text", "text": "Click the Submit button"}
|
| 50 |
+
]
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"role": "assistant",
|
| 54 |
+
"content": [
|
| 55 |
+
{"type": "text", "text": "{\"action\": \"left_click\", \"coordinate\": [1332, 1035]}"}
|
| 56 |
+
]
|
| 57 |
+
}
|
| 58 |
+
],
|
| 59 |
+
"images": ["images/000123.png"],
|
| 60 |
+
"image_width": 1920,
|
| 61 |
+
"image_height": 1080
|
| 62 |
+
}
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
### Coordinate System
|
| 66 |
+
|
| 67 |
+
- **Format:** Absolute pixels [x, y]
|
| 68 |
+
- **Origin:** Top-left corner [0, 0]
|
| 69 |
+
- **Resolution:** Coordinates match actual image dimensions (stored in `image_width`, `image_height` fields)
|
| 70 |
+
- **Action:** Claude Computer Use format
|
| 71 |
+
|
| 72 |
+
**Important:** Coordinates are scaled to the actual screenshot dimensions. Most images are 1920x1080, so a coordinate like [1332, 1035] is in the bottom-right area of the screen. Each example includes `image_width` and `image_height` fields for reference.
|
| 73 |
+
|
| 74 |
+
## Usage
|
| 75 |
+
|
| 76 |
+
### With MLX-VLM
|
| 77 |
+
|
| 78 |
+
```python
|
| 79 |
+
# Train SmolVLM with LoRA
|
| 80 |
+
python -m mlx_vlm.lora \
|
| 81 |
+
--model mlx-community/SmolVLM-256M-Instruct-bf16 \
|
| 82 |
+
--data data/gui-grounding/seeclick-web-commercial \
|
| 83 |
+
--train \
|
| 84 |
+
--batch-size 2 \
|
| 85 |
+
--iters 1000 \
|
| 86 |
+
--learning-rate 1e-4
|
| 87 |
+
```
|
| 88 |
+
|
| 89 |
+
### With Datasets Library
|
| 90 |
+
|
| 91 |
+
```python
|
| 92 |
+
from datasets import load_dataset
|
| 93 |
+
|
| 94 |
+
ds = load_dataset("pierretokns/seeclick-web-commercial-mlx")
|
| 95 |
+
|
| 96 |
+
for example in ds["train"]:
|
| 97 |
+
messages = example["messages"]
|
| 98 |
+
image_path = example["images"][0]
|
| 99 |
+
```
|
| 100 |
+
|
| 101 |
+
## Source Data
|
| 102 |
+
|
| 103 |
+
This dataset is derived from SeeClick Web, which contains:
|
| 104 |
+
- Screenshots crawled from public websites
|
| 105 |
+
- Element annotations with bounding boxes
|
| 106 |
+
- Apache 2.0 license (commercial use allowed)
|
| 107 |
+
|
| 108 |
+
## License
|
| 109 |
+
|
| 110 |
+
**Apache 2.0** - This dataset is safe for commercial use.
|
| 111 |
+
|
| 112 |
+
The original SeeClick Web data was crawled from public websites and released
|
| 113 |
+
under Apache 2.0. No research-only components are included.
|
| 114 |
+
|
| 115 |
+
## Citation
|
| 116 |
+
|
| 117 |
+
```bibtex
|
| 118 |
+
@article{cheng2024seeclick,
|
| 119 |
+
title={SeeClick: Harnessing GUI Grounding for Advanced Visual GUI Agents},
|
| 120 |
+
author={Cheng, Kanzhi and Sun, Qiushi and Chu, Youqi and others},
|
| 121 |
+
journal={arXiv preprint arXiv:2401.10935},
|
| 122 |
+
year={2024}
|
| 123 |
+
}
|
| 124 |
+
```
|