Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -34,6 +34,17 @@ Each row is a single (instruction, UI element) pair with normalized bounding-box
|
|
| 34 |
| validation | ~10% scenarios | Domain holdout |
|
| 35 |
| test | ~15% scenarios | Domain holdout |
|
| 36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
## Images
|
| 38 |
|
| 39 |
Screenshot images are hosted in the `images/` directory of this repository.
|
|
@@ -53,12 +64,30 @@ img = Image.open(path)
|
|
| 53 |
|
| 54 |
## Usage
|
| 55 |
|
|
|
|
|
|
|
| 56 |
```python
|
| 57 |
from datasets import load_dataset
|
|
|
|
| 58 |
ds = load_dataset("e1879/showui-web-processed")
|
| 59 |
print(ds["train"][0]["instruction"])
|
| 60 |
```
|
| 61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
## Credit
|
| 63 |
|
| 64 |
Source dataset: [showlab/ShowUI-web](https://huggingface.co/datasets/showlab/ShowUI-web)
|
|
|
|
| 34 |
| validation | ~10% scenarios | Domain holdout |
|
| 35 |
| test | ~15% scenarios | Domain holdout |
|
| 36 |
|
| 37 |
+
## Repository Layout
|
| 38 |
+
|
| 39 |
+
The dataset repo contains both row-level parquet artifacts and image files:
|
| 40 |
+
|
| 41 |
+
- `flat.parquet` — full flattened table (all rows)
|
| 42 |
+
- `splits/train.parquet` — train split
|
| 43 |
+
- `splits/val.parquet` — validation split
|
| 44 |
+
- `splits/test.parquet` — test split
|
| 45 |
+
- `splits/splits.json` — split metadata
|
| 46 |
+
- `images/...` — screenshot and UI metadata files
|
| 47 |
+
|
| 48 |
## Images
|
| 49 |
|
| 50 |
Screenshot images are hosted in the `images/` directory of this repository.
|
|
|
|
| 64 |
|
| 65 |
## Usage
|
| 66 |
|
| 67 |
+
Load train split via `datasets`:
|
| 68 |
+
|
| 69 |
```python
|
| 70 |
from datasets import load_dataset
|
| 71 |
+
|
| 72 |
ds = load_dataset("e1879/showui-web-processed")
|
| 73 |
print(ds["train"][0]["instruction"])
|
| 74 |
```
|
| 75 |
|
| 76 |
+
Or load parquet artifacts directly from the dataset repo:
|
| 77 |
+
|
| 78 |
+
```python
|
| 79 |
+
import pandas as pd
|
| 80 |
+
from huggingface_hub import hf_hub_download
|
| 81 |
+
|
| 82 |
+
train_path = hf_hub_download(
|
| 83 |
+
repo_id="e1879/showui-web-processed",
|
| 84 |
+
repo_type="dataset",
|
| 85 |
+
filename="splits/train.parquet",
|
| 86 |
+
)
|
| 87 |
+
train_df = pd.read_parquet(train_path)
|
| 88 |
+
print(train_df.shape)
|
| 89 |
+
```
|
| 90 |
+
|
| 91 |
## Credit
|
| 92 |
|
| 93 |
Source dataset: [showlab/ShowUI-web](https://huggingface.co/datasets/showlab/ShowUI-web)
|