anas-awadalla commited on
Commit
5cd5870
·
verified ·
1 Parent(s): baa9f92

Add files using upload-large-folder tool

Browse files
.DS_Store ADDED
Binary file (6.15 kB). View file
 
README.md CHANGED
@@ -1,76 +0,0 @@
1
- # ui-vision-grounding-4MP
2
-
3
- This dataset was generated from UI-Vision annotations using the conversion pipeline.
4
-
5
- ## Generation Details
6
-
7
- - **Generated on**: 2025-09-10 12:58:39 UTC
8
- - **Script**: `convert_ui_vision_to_hf.py`
9
- - **Images directory**: `ui-vision/images`
10
-
11
- ## Parameters Used
12
-
13
- - **Maximum samples**: None
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
- - **Debug images enabled**: False
20
-
21
- ## Annotation Files
22
-
23
- The following annotation files were used to create this dataset:
24
-
25
- - ui-vision/annotations/layout_grounding/layout_grounding.json
26
- - ui-vision/annotations/element_grounding/element_grounding_spatial.json
27
- - ui-vision/annotations/element_grounding/element_grounding_basic.json
28
- - ui-vision/annotations/element_grounding/element_grounding_functional.json
29
-
30
- ## Dataset Statistics
31
-
32
- - **Total training samples**: 5790
33
- - **Columns**: image_path, abs_image_path, prompt, normalized_bbox, images, easyr1_prompt, bbox, messages, original_image_width, image_width, image_height
34
-
35
- ## System Prompt
36
-
37
- ```
38
- 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.
39
-
40
- Output the coordinate pair exactly:
41
- (x,y)
42
- ```
43
-
44
- ## Sample Entry
45
-
46
-
47
- - **User prompt**: <image>
48
- Locate the specified region.
49
- - **Assistant response**: (107,33)
50
- - **Bounding box**: [80, 6, 134, 60]
51
- - **Image path**: element_grounding/f8ce11340042f598b0c6f1ae49e75f4a.png
52
-
53
- ## Usage
54
-
55
- ```python
56
- from datasets import load_dataset
57
-
58
- dataset = load_dataset("mlfoundations-cua-dev/ui-vision-grounding-4MP")
59
-
60
- train = dataset['train']
61
- sample = train[0]
62
- images = sample['images']
63
- messages = sample['messages']
64
- bbox = sample['bbox']
65
-
66
- ```
67
-
68
- ## Prompt Formats
69
-
70
- ### gta1
71
-
72
- Standard GTA1 format without resolution information. Outputs coordinates in (x,y) format.
73
-
74
- ## License
75
-
76
- Please refer to the original dataset licenses for usage restrictions.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dataset_dict.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"splits": ["train"]}
train/data-00000-of-00008.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65e23053d0f615856ac87c147c66670a02117816921a32e40dc728c71aaa7526
3
+ size 480172944
train/data-00001-of-00008.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a30ccee9c6d1f1efa0815318b081ccc1cfc6507cf12a4b7e9aea5643f87dbf9
3
+ size 502289192
train/data-00002-of-00008.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee16d2ea6a7fb015f7df9a38816da656717d571a7a50e92ca7d8e4d8d8f45880
3
+ size 493767560
train/data-00003-of-00008.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a8eee628b70da8e672935a714fa13acbf0900a316581052a7f4dc62c3295172
3
+ size 510720784
train/data-00004-of-00008.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32d02388d86313ced330ea58fcd6548640539600523e6dd9a41a67ace2b9be64
3
+ size 486864624
train/data-00005-of-00008.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d8665edcfb9e5093fcbe882c6048ecd795648d9721827ba588fb2cc29230d36
3
+ size 514405448
train/data-00006-of-00008.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:560fd769ab2c09e6e064d120dae5bc9dfde3ffa8098878ae6413a7def6976cf8
3
+ size 472482688
train/data-00007-of-00008.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b31278c1ea57f249ad3e0896e63ed2fe81aecba7442f0c51dfb186b93f34f11
3
+ size 490693192
train/dataset_info.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "citation": "",
3
+ "description": "",
4
+ "features": {
5
+ "image_path": {
6
+ "dtype": "string",
7
+ "_type": "Value"
8
+ },
9
+ "abs_image_path": {
10
+ "dtype": "string",
11
+ "_type": "Value"
12
+ },
13
+ "prompt": {
14
+ "dtype": "string",
15
+ "_type": "Value"
16
+ },
17
+ "normalized_bbox": {
18
+ "feature": {
19
+ "dtype": "float64",
20
+ "_type": "Value"
21
+ },
22
+ "_type": "List"
23
+ },
24
+ "images": {
25
+ "feature": {
26
+ "_type": "Image"
27
+ },
28
+ "_type": "List"
29
+ },
30
+ "easyr1_prompt": {
31
+ "dtype": "string",
32
+ "_type": "Value"
33
+ },
34
+ "bbox": {
35
+ "feature": {
36
+ "dtype": "int64",
37
+ "_type": "Value"
38
+ },
39
+ "_type": "List"
40
+ },
41
+ "messages": {
42
+ "feature": {
43
+ "content": {
44
+ "dtype": "string",
45
+ "_type": "Value"
46
+ },
47
+ "role": {
48
+ "dtype": "string",
49
+ "_type": "Value"
50
+ }
51
+ },
52
+ "_type": "List"
53
+ },
54
+ "original_image_width": {
55
+ "dtype": "int64",
56
+ "_type": "Value"
57
+ },
58
+ "image_width": {
59
+ "dtype": "int64",
60
+ "_type": "Value"
61
+ },
62
+ "image_height": {
63
+ "dtype": "int64",
64
+ "_type": "Value"
65
+ },
66
+ "annotated_images": {
67
+ "feature": {
68
+ "_type": "Image"
69
+ },
70
+ "_type": "List"
71
+ }
72
+ },
73
+ "homepage": "",
74
+ "license": ""
75
+ }
train/state.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_data_files": [
3
+ {
4
+ "filename": "data-00000-of-00008.arrow"
5
+ },
6
+ {
7
+ "filename": "data-00001-of-00008.arrow"
8
+ },
9
+ {
10
+ "filename": "data-00002-of-00008.arrow"
11
+ },
12
+ {
13
+ "filename": "data-00003-of-00008.arrow"
14
+ },
15
+ {
16
+ "filename": "data-00004-of-00008.arrow"
17
+ },
18
+ {
19
+ "filename": "data-00005-of-00008.arrow"
20
+ },
21
+ {
22
+ "filename": "data-00006-of-00008.arrow"
23
+ },
24
+ {
25
+ "filename": "data-00007-of-00008.arrow"
26
+ }
27
+ ],
28
+ "_fingerprint": "ba014aff6423ffb2",
29
+ "_format_columns": [
30
+ "image_path",
31
+ "abs_image_path",
32
+ "prompt",
33
+ "normalized_bbox",
34
+ "images",
35
+ "easyr1_prompt",
36
+ "bbox",
37
+ "messages",
38
+ "original_image_width",
39
+ "image_width",
40
+ "image_height",
41
+ "annotated_images"
42
+ ],
43
+ "_format_kwargs": {},
44
+ "_format_type": null,
45
+ "_output_all_columns": false,
46
+ "_split": null
47
+ }