Add README with dataset generation details
Browse files
README.md
CHANGED
@@ -1,41 +1,82 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# easyr1-v2-pro-apps-manually-labeled-icon-data-from-yt-4MP
|
2 |
+
|
3 |
+
This dataset was generated using the EasyR1 grounding dataset pipeline.
|
4 |
+
|
5 |
+
## Generation Details
|
6 |
+
|
7 |
+
- **Generated on**: 2025-09-06 00:30:03 UTC
|
8 |
+
- **Script**: `push_easyr1_to_hf.py`
|
9 |
+
- **Data directory**: `datasets`
|
10 |
+
|
11 |
+
## Parameters Used
|
12 |
+
|
13 |
+
- **Maximum samples**: 2000
|
14 |
+
- **Image resize (max megapixels)**: 4.0 MP
|
15 |
+
- **Minimum native image resolution**: 0.0 MP
|
16 |
+
- **Prompt format**: `gta1`
|
17 |
+
- **Output format**: `coordinates`
|
18 |
+
- **Random seed**: 42
|
19 |
+
- **Resampling enabled**: False
|
20 |
+
- **Icon upsampling ratio**: Disabled (random sampling)
|
21 |
+
- **pc-agent-e deduplication**: False
|
22 |
+
- **Debug images enabled**: True (annotated images with red bounding boxes included)
|
23 |
+
|
24 |
+
## Dataset Groups
|
25 |
+
|
26 |
+
The following JSON/JSONL files were used to create this dataset:
|
27 |
+
|
28 |
+
|
29 |
+
### Dataset Group 1
|
30 |
+
- datasets/grounding_annotations.json
|
31 |
+
|
32 |
+
## Dataset Statistics
|
33 |
+
|
34 |
+
- **Total training samples**: 230
|
35 |
+
- **Image dimensions**: Variable
|
36 |
+
- **Columns**: image_path, prompt, normalized_bbox, images, easyr1_prompt, bbox, messages, original_image_width, image_width, image_height, annotated_images
|
37 |
+
|
38 |
+
## System Prompt
|
39 |
+
|
40 |
+
The following system prompt is used for this dataset:
|
41 |
+
|
42 |
+
```
|
43 |
+
You are an expert UI element locator. Given a GUI image and a user's element description, provide the coordinates of the specified element as a single (x,y) point. For elements with area, return the center point.
|
44 |
+
|
45 |
+
Output the coordinate pair exactly:
|
46 |
+
(x,y)
|
47 |
+
```
|
48 |
+
|
49 |
+
## Sample Entry
|
50 |
+
|
51 |
+
|
52 |
+
- **User prompt**: <image>open terminal
|
53 |
+
- **Assistant response**: (216,670)
|
54 |
+
- **Bounding box**: [189, 664, 243, 676]
|
55 |
+
- **Image path**: images/Android App Development Tutorial 15: OnClickListener_scene0012_t000211.750.jpg
|
56 |
+
|
57 |
+
## Usage
|
58 |
+
|
59 |
+
```python
|
60 |
+
from datasets import load_dataset
|
61 |
+
|
62 |
+
dataset = load_dataset("mlfoundations-cua-dev/easyr1-v2-pro-apps-manually-labeled-icon-data-from-yt-4MP")
|
63 |
+
|
64 |
+
# Access the training data
|
65 |
+
train_data = dataset['train']
|
66 |
+
|
67 |
+
# Example: Get the first sample
|
68 |
+
sample = train_data[0]
|
69 |
+
images = sample['images']
|
70 |
+
messages = sample['messages']
|
71 |
+
bbox = sample['bbox']
|
72 |
+
annotated_images = sample['annotated_images'] # Available when debug images are enabled```
|
73 |
+
|
74 |
+
## Prompt Formats
|
75 |
+
|
76 |
+
### gta1
|
77 |
+
|
78 |
+
Standard GTA1 format without resolution information. Outputs coordinates in (x,y) format.
|
79 |
+
|
80 |
+
## License
|
81 |
+
|
82 |
+
Please refer to the original dataset licenses for usage restrictions.
|