anas-awadalla commited on
Commit
38f366e
·
verified ·
1 Parent(s): f15fd66

Add README with dataset generation details

Browse files
Files changed (1) hide show
  1. README.md +82 -41
README.md CHANGED
@@ -1,41 +1,82 @@
1
- ---
2
- dataset_info:
3
- features:
4
- - name: image_path
5
- dtype: string
6
- - name: prompt
7
- dtype: string
8
- - name: normalized_bbox
9
- sequence: float64
10
- - name: images
11
- sequence: image
12
- - name: easyr1_prompt
13
- dtype: string
14
- - name: bbox
15
- sequence: int64
16
- - name: messages
17
- list:
18
- - name: content
19
- dtype: string
20
- - name: role
21
- dtype: string
22
- - name: original_image_width
23
- dtype: int64
24
- - name: image_width
25
- dtype: int64
26
- - name: image_height
27
- dtype: int64
28
- - name: annotated_images
29
- sequence: image
30
- splits:
31
- - name: train
32
- num_bytes: 219661361.0
33
- num_examples: 230
34
- download_size: 190017455
35
- dataset_size: 219661361.0
36
- configs:
37
- - config_name: default
38
- data_files:
39
- - split: train
40
- path: data/train-*
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.