641071660J commited on
Commit
92bc678
·
verified ·
1 Parent(s): 016c26c

Add GUICAD annotations and release preparation metadata

Browse files
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: GUICAD
3
+ language:
4
+ - en
5
+ tags:
6
+ - gui-agent
7
+ - cad
8
+ - freecad
9
+ - multimodal
10
+ - imitation-learning
11
+ size_categories:
12
+ - 100K<n<1M
13
+ configs:
14
+ - config_name: default
15
+ data_files:
16
+ - split: train
17
+ path: annotations/train_final.jsonl.gz
18
+ - split: test
19
+ path: annotations/test_final.jsonl.gz
20
+ ---
21
+
22
+ # GUICAD
23
+
24
+ **Upload in progress.** Please wait for `metadata/release_manifest.json` with `status: complete` before downloading the full release.
25
+
26
+ GUICAD contains screenshot-conditioned GUI action supervision for creating three-view 2D engineering drawings in FreeCAD's Draft workbench from an isometric part image and a geometric description.
27
+
28
+ This release preserves the existing server dataset as of 2026-11-04. It does not add terminal `finish` examples, repair images, change action labels, or redefine the training/test split.
29
+
30
+ | Split | Action examples | Unique parts | GUI screenshots |
31
+ |---|---:|---:|---:|
32
+ | Train | 112,844 | 1,683 | 112,844 |
33
+ | Test | 29,239 | 414 | 29,239 |
34
+
35
+ Each example references two images: an ISO reference and the FreeCAD screenshot **before** the annotated action. Supported source action labels are `click`, `double_click`, and `type`. Click labels use normalized screen coordinates; type payloads may contain numeric fields, Tab, and Enter. The current task description can include explicit primitive parameters and coordinates, so this release provides geometry-conditioned action supervision rather than independently measuring geometry inference from the ISO image alone.
36
+
37
+ ## Files
38
+
39
+ - `annotations/train_final.jsonl.gz`, `annotations/test_final.jsonl.gz`: byte-preserved canonical annotations after decompression.
40
+ - `images/iso_images.tar`: one reference image per part.
41
+ - `images/train-*.tar`, `images/test-*.tar`: GUI screenshots, sharded by part and split, retaining original relative paths.
42
+ - `subsets/`: existing correction-SFT, GRPO, and evaluation subset annotations for reproducing earlier experiments. These are subsets or derived training records, **not additional independent splits**. In particular, `test_50.jsonl` was used during development; the accompanying 364-part manifest describes the remainder of the canonical test split.
43
+ - `metadata/source_manifest.json`: original annotation hashes, split statistics, and packaging provenance.
44
+ - `metadata/image_manifests/*.jsonl.gz`: SHA-256, size, and original path for every packaged image.
45
+ - `metadata/release_manifest.json`, `SHA256SUMS`: release payload verification.
46
+ - `extract_dataset.py`: safe extraction and checksum verification.
47
+
48
+ The root-level server `train_final.jsonl.gz` was a redundant compressed copy; this release regenerates compressed canonical annotations from the verified `train_final.jsonl` source. Model checkpoints, model predictions, credentials, and training logs are not part of this dataset release.
49
+
50
+ ## Download and use
51
+
52
+ ```bash
53
+ pip install -U huggingface_hub
54
+ hf download QLU-LLM/CAD --repo-type dataset --local-dir GUICAD
55
+ python GUICAD/extract_dataset.py --snapshot GUICAD --output GUI_upload
56
+ ```
57
+
58
+ Use a fresh output directory. The extracted layout is:
59
+
60
+ ```text
61
+ GUI_upload/
62
+ train_final.jsonl
63
+ test_final.jsonl
64
+ iso_images/<part_id>.png
65
+ trajectory/<part_id>/<step>_01_before.png
66
+ ...existing subset annotation files...
67
+ ```
68
+
69
+ Resolve each annotation's `images` entries relative to `GUI_upload`. The two-image order remains ISO reference first, current GUI screenshot second. `messages`, `present_task`, `task_progress`, label columns, bounding boxes, and source identifiers are retained exactly as in the canonical JSONL files.
70
+
71
+ This archive-based release is intended for full local reconstruction; the repository viewer is not a substitute for extracting the image archives. Original annotation records remain the authoritative schema.
annotations/test_final.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f740e86a64dd8e149ea38878c3b573f856d0ed18b6c8375a88f042cd88aef90
3
+ size 2693962
annotations/train_final.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b32b8cedb2ccf7dbc74ebacb77f61bda6ea79921d94e525afb4b27feefa7db2
3
+ size 10278347
extract_dataset.py ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Reconstruct the original GUICAD layout from a downloaded repository snapshot."""
2
+ import argparse, gzip, hashlib, json, shutil, tarfile
3
+ from pathlib import Path, PurePosixPath
4
+ p=argparse.ArgumentParser();p.add_argument("--snapshot",type=Path,default=Path("."));p.add_argument("--output",type=Path,default=Path("GUI_upload"));a=p.parse_args()
5
+ manifest=json.loads((a.snapshot/"metadata/release_manifest.json").read_text(encoding="utf-8"))
6
+ if manifest.get("status")!="complete":raise SystemExit("The repository release is not complete.")
7
+ for record in manifest["files"]:
8
+ path=a.snapshot/record["path"]
9
+ h=hashlib.sha256()
10
+ with path.open("rb") as f:
11
+ for chunk in iter(lambda:f.read(4*1024*1024),b""):h.update(chunk)
12
+ if h.hexdigest()!=record["sha256"]:raise SystemExit("Checksum mismatch: "+record["path"])
13
+ a.output.mkdir(parents=True,exist_ok=True)
14
+ for archive in sorted((a.snapshot/"images").glob("*.tar")):
15
+ with tarfile.open(archive,"r") as stream:
16
+ for member in stream:
17
+ rel=PurePosixPath(member.name)
18
+ if not member.isfile() or rel.is_absolute() or ".." in rel.parts:raise SystemExit("Unsafe archive member")
19
+ target=a.output.joinpath(*rel.parts)
20
+ if not target.resolve().is_relative_to(a.output.resolve()):raise SystemExit("Unsafe output path")
21
+ target.parent.mkdir(parents=True,exist_ok=True)
22
+ with stream.extractfile(member) as src,target.open("xb") as dst:shutil.copyfileobj(src,dst,1024*1024)
23
+ for folder in ["annotations","subsets"]:
24
+ for source in sorted((a.snapshot/folder).glob("*.gz")):
25
+ with gzip.open(source,"rb") as src,(a.output/source.name[:-3]).open("xb") as dst:shutil.copyfileobj(src,dst,1024*1024)
26
+ print("Dataset extracted and release checksums verified:",a.output.resolve())
metadata/source_manifest.json ADDED
@@ -0,0 +1,286 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "release_id": "server-snapshot-20261104",
3
+ "splits": {
4
+ "train": {
5
+ "rows": 112844,
6
+ "parts": 1683,
7
+ "screenshots": 112844,
8
+ "screenshot_bytes": 19805029816,
9
+ "actions": {
10
+ "click": 49728,
11
+ "type": 62438,
12
+ "double_click": 678
13
+ },
14
+ "annotation_file": "train_final.jsonl",
15
+ "annotation_sha256": "08b69723e0772997fdff1a218174d983beef4969d5ad42f07e6e4eeb1ecbd4fa",
16
+ "annotation_bytes": 501394959
17
+ },
18
+ "test": {
19
+ "rows": 29239,
20
+ "parts": 414,
21
+ "screenshots": 29239,
22
+ "screenshot_bytes": 5126960017,
23
+ "actions": {
24
+ "click": 12928,
25
+ "type": 16118,
26
+ "double_click": 193
27
+ },
28
+ "annotation_file": "test_final.jsonl",
29
+ "annotation_sha256": "a0a9c3bd89641b33b4c45237157374f0db0e64711d6cf6a1260a419c47bdda7d",
30
+ "annotation_bytes": 132567380
31
+ }
32
+ },
33
+ "annotations": [
34
+ {
35
+ "source": "action_grpo_click_calibrated.json",
36
+ "remote_path": "subsets/action_grpo_click_calibrated.json.gz",
37
+ "bytes": 9718,
38
+ "sha256": "c8415162db6c0b6ca331de86a98cd8428b718243800487fa562c58ee0b9791e4"
39
+ },
40
+ {
41
+ "source": "test_364_manifest.json",
42
+ "remote_path": "subsets/test_364_manifest.json.gz",
43
+ "bytes": 21235,
44
+ "sha256": "98dd69671db939454cb581a0dd173bd953c93efa81fa48ab6141d6f32c622efb"
45
+ },
46
+ {
47
+ "source": "test_50.jsonl",
48
+ "remote_path": "subsets/test_50.jsonl.gz",
49
+ "bytes": 14697828,
50
+ "sha256": "ca1c3b0764f4774dca7b51d0b2bb9fd6660224d6e97e201974645895a45c5a32"
51
+ },
52
+ {
53
+ "source": "test_final.jsonl",
54
+ "remote_path": "annotations/test_final.jsonl.gz",
55
+ "bytes": 132567380,
56
+ "sha256": "a0a9c3bd89641b33b4c45237157374f0db0e64711d6cf6a1260a419c47bdda7d"
57
+ },
58
+ {
59
+ "source": "train_action_correction_sft_v1.jsonl",
60
+ "remote_path": "subsets/train_action_correction_sft_v1.jsonl.gz",
61
+ "bytes": 3104396,
62
+ "sha256": "518383793363f083ec19d0e819f4e7dc508f0c493b3708843227fa8f4a088308"
63
+ },
64
+ {
65
+ "source": "train_action_correction_sft_v1_gt8192.jsonl",
66
+ "remote_path": "subsets/train_action_correction_sft_v1_gt8192.jsonl.gz",
67
+ "bytes": 37908,
68
+ "sha256": "76cf058e113be2bbbd236113ac357288facc3f26deace2e664045d4430b5085a"
69
+ },
70
+ {
71
+ "source": "train_action_grpo.jsonl",
72
+ "remote_path": "subsets/train_action_grpo.jsonl.gz",
73
+ "bytes": 74131332,
74
+ "sha256": "33c7bbba0dd0f904f2cf4d95ccc19d54f5d5886316a9fbefcf6ddb3eaf3de923"
75
+ },
76
+ {
77
+ "source": "train_action_grpo_click_calibrated.jsonl",
78
+ "remote_path": "subsets/train_action_grpo_click_calibrated.jsonl.gz",
79
+ "bytes": 58307740,
80
+ "sha256": "c1b306c8c673ea0fc04a7c5ef6802f689eb24f999bae256042b63142c7fe5e07"
81
+ },
82
+ {
83
+ "source": "train_action_grpo_correction_balanced_v2.jsonl",
84
+ "remote_path": "subsets/train_action_grpo_correction_balanced_v2.jsonl.gz",
85
+ "bytes": 52435,
86
+ "sha256": "669188704bfb231b09382f504574ee9a969bd87415912a283207c32749f601ca"
87
+ },
88
+ {
89
+ "source": "train_action_grpo_correction_balanced_v2.merged_groups.jsonl",
90
+ "remote_path": "subsets/train_action_grpo_correction_balanced_v2.merged_groups.jsonl.gz",
91
+ "bytes": 334628,
92
+ "sha256": "e079c960c0c9415406ca5fe3c32a0b68e6725798f2dd3b1baa2230732286c2a7"
93
+ },
94
+ {
95
+ "source": "train_action_grpo_correction_balanced_v2.merged_reference.jsonl",
96
+ "remote_path": "subsets/train_action_grpo_correction_balanced_v2.merged_reference.jsonl.gz",
97
+ "bytes": 303592,
98
+ "sha256": "07bd6daec4e4f9c49de3e10a9d9e7e80209543b675a304f3be6a5cda90b75e38"
99
+ },
100
+ {
101
+ "source": "train_action_grpo_targeted256_targeted480_correction75_k8_v1_20260902.jsonl",
102
+ "remote_path": "subsets/train_action_grpo_targeted256_targeted480_correction75_k8_v1_20260902.jsonl.gz",
103
+ "bytes": 1652680,
104
+ "sha256": "2c440e2723a6aa74b7ec5f66265e930d5561ed05ac7b894410d922a002617046"
105
+ },
106
+ {
107
+ "source": "train_final.jsonl",
108
+ "remote_path": "annotations/train_final.jsonl.gz",
109
+ "bytes": 501394959,
110
+ "sha256": "08b69723e0772997fdff1a218174d983beef4969d5ad42f07e6e4eeb1ecbd4fa"
111
+ },
112
+ {
113
+ "source": "val_action_grpo.jsonl",
114
+ "remote_path": "subsets/val_action_grpo.jsonl.gz",
115
+ "bytes": 830451,
116
+ "sha256": "85d7a4b6cefb51ee56c76f45c6aaf27610137daa9cf597a46dc2ab584ef2f180"
117
+ }
118
+ ],
119
+ "image_archive_plan": [
120
+ {
121
+ "path": "images/iso_images.tar",
122
+ "images": 2097,
123
+ "source_bytes": 10089110
124
+ },
125
+ {
126
+ "path": "images/train-00000.tar",
127
+ "images": 4307,
128
+ "source_bytes": 792428682
129
+ },
130
+ {
131
+ "path": "images/train-00001.tar",
132
+ "images": 4478,
133
+ "source_bytes": 791909600
134
+ },
135
+ {
136
+ "path": "images/train-00002.tar",
137
+ "images": 4470,
138
+ "source_bytes": 803049728
139
+ },
140
+ {
141
+ "path": "images/train-00003.tar",
142
+ "images": 4523,
143
+ "source_bytes": 802869348
144
+ },
145
+ {
146
+ "path": "images/train-00004.tar",
147
+ "images": 4562,
148
+ "source_bytes": 802960935
149
+ },
150
+ {
151
+ "path": "images/train-00005.tar",
152
+ "images": 4535,
153
+ "source_bytes": 798723992
154
+ },
155
+ {
156
+ "path": "images/train-00006.tar",
157
+ "images": 4547,
158
+ "source_bytes": 802396020
159
+ },
160
+ {
161
+ "path": "images/train-00007.tar",
162
+ "images": 4544,
163
+ "source_bytes": 787868053
164
+ },
165
+ {
166
+ "path": "images/train-00008.tar",
167
+ "images": 4673,
168
+ "source_bytes": 791654104
169
+ },
170
+ {
171
+ "path": "images/train-00009.tar",
172
+ "images": 4546,
173
+ "source_bytes": 782125103
174
+ },
175
+ {
176
+ "path": "images/train-00010.tar",
177
+ "images": 4639,
178
+ "source_bytes": 799606786
179
+ },
180
+ {
181
+ "path": "images/train-00011.tar",
182
+ "images": 4554,
183
+ "source_bytes": 797026967
184
+ },
185
+ {
186
+ "path": "images/train-00012.tar",
187
+ "images": 4635,
188
+ "source_bytes": 798330144
189
+ },
190
+ {
191
+ "path": "images/train-00013.tar",
192
+ "images": 4677,
193
+ "source_bytes": 805047025
194
+ },
195
+ {
196
+ "path": "images/train-00014.tar",
197
+ "images": 4610,
198
+ "source_bytes": 804730637
199
+ },
200
+ {
201
+ "path": "images/train-00015.tar",
202
+ "images": 4506,
203
+ "source_bytes": 798463267
204
+ },
205
+ {
206
+ "path": "images/train-00016.tar",
207
+ "images": 4453,
208
+ "source_bytes": 798498526
209
+ },
210
+ {
211
+ "path": "images/train-00017.tar",
212
+ "images": 4524,
213
+ "source_bytes": 805206591
214
+ },
215
+ {
216
+ "path": "images/train-00018.tar",
217
+ "images": 4443,
218
+ "source_bytes": 782604848
219
+ },
220
+ {
221
+ "path": "images/train-00019.tar",
222
+ "images": 4548,
223
+ "source_bytes": 800323177
224
+ },
225
+ {
226
+ "path": "images/train-00020.tar",
227
+ "images": 4628,
228
+ "source_bytes": 795479356
229
+ },
230
+ {
231
+ "path": "images/train-00021.tar",
232
+ "images": 4492,
233
+ "source_bytes": 797544058
234
+ },
235
+ {
236
+ "path": "images/train-00022.tar",
237
+ "images": 4673,
238
+ "source_bytes": 802415627
239
+ },
240
+ {
241
+ "path": "images/train-00023.tar",
242
+ "images": 4636,
243
+ "source_bytes": 794459600
244
+ },
245
+ {
246
+ "path": "images/train-00024.tar",
247
+ "images": 3641,
248
+ "source_bytes": 669307642
249
+ },
250
+ {
251
+ "path": "images/test-00000.tar",
252
+ "images": 4462,
253
+ "source_bytes": 804409861
254
+ },
255
+ {
256
+ "path": "images/test-00001.tar",
257
+ "images": 4509,
258
+ "source_bytes": 801063946
259
+ },
260
+ {
261
+ "path": "images/test-00002.tar",
262
+ "images": 4596,
263
+ "source_bytes": 800641494
264
+ },
265
+ {
266
+ "path": "images/test-00003.tar",
267
+ "images": 4593,
268
+ "source_bytes": 803386278
269
+ },
270
+ {
271
+ "path": "images/test-00004.tar",
272
+ "images": 4503,
273
+ "source_bytes": 805197305
274
+ },
275
+ {
276
+ "path": "images/test-00005.tar",
277
+ "images": 4709,
278
+ "source_bytes": 782455460
279
+ },
280
+ {
281
+ "path": "images/test-00006.tar",
282
+ "images": 1867,
283
+ "source_bytes": 329805673
284
+ }
285
+ ]
286
+ }
subsets/action_grpo_click_calibrated.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bec5c2c4fb37be0b9a913fa6ffebc4264f8787d32cb71bed63f13b74d8bd7fec
3
+ size 2281
subsets/test_364_manifest.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:357724dcc7d723eada6a65c1dc5752fcfe0300ba012c3d079235464daa74047b
3
+ size 3627
subsets/test_50.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3c5f256ac7c1ad6a294dbcb8511bfe4136639f30db87ee337aa555630b74776
3
+ size 304178
subsets/train_action_correction_sft_v1.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee70fc200914d842e24e768ecfbf04cd04584f0469b9cadf53c1247e61108264
3
+ size 295598
subsets/train_action_correction_sft_v1_gt8192.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b88347470c400bc055667d9a807d6e04475d34bfc4248b26b1d402d107e816e0
3
+ size 6398
subsets/train_action_grpo.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12034f2bf00bf415989330f08d22d8bc176c582ae3fc58bf5e6c417b29d80e96
3
+ size 2257169
subsets/train_action_grpo_click_calibrated.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:302b8ab8b3355e7f9086fab03107f6cee7122237f16753f373ac8f9edfbaa07a
3
+ size 2275510
subsets/train_action_grpo_correction_balanced_v2.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e4902e69c84d213102bbbd4e3846228a123a61e41750d159797570f00f76a61
3
+ size 6621
subsets/train_action_grpo_correction_balanced_v2.merged_groups.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8df3db84cfb3c878d36eb4abbbacda09e88ee545bb5c6e6473e711a84996606d
3
+ size 22903
subsets/train_action_grpo_correction_balanced_v2.merged_reference.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90f30f1d2fb18589e6ea55b45fb5e73634662ccd699f57a89e7b62bd82fa70ed
3
+ size 28635
subsets/train_action_grpo_targeted256_targeted480_correction75_k8_v1_20260902.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a07ca10575517f9d67524fe07e19be5e08fa60b045f0f4e4fd60a8d715313fa
3
+ size 157987
subsets/val_action_grpo.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a31c4546bcc5708f59c4d16f5b5a4c24a5ee49288674552a244abba2b1487099
3
+ size 26679