HideOnBush commited on
Commit
8b51f0c
·
verified ·
1 Parent(s): 4463437

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +139 -30
README.md CHANGED
@@ -22,10 +22,10 @@ dataset_info:
22
  dtype: string
23
  splits:
24
  - name: train
25
- num_bytes: 829716650.0
26
  num_examples: 513
27
  download_size: 634842012
28
- dataset_size: 829716650.0
29
  - config_name: grounding_cross_letter_to_letter
30
  features:
31
  - name: ref_image
@@ -48,10 +48,10 @@ dataset_info:
48
  dtype: string
49
  splits:
50
  - name: train
51
- num_bytes: 829529694.0
52
  num_examples: 513
53
  download_size: 634800583
54
- dataset_size: 829529694.0
55
  - config_name: grounding_task_a_icl_outside
56
  features:
57
  - name: test_image
@@ -80,10 +80,10 @@ dataset_info:
80
  dtype: image
81
  splits:
82
  - name: train
83
- num_bytes: 1241840521.0
84
  num_examples: 500
85
  download_size: 1182653732
86
- dataset_size: 1241840521.0
87
  - config_name: grounding_task_a_icl_within
88
  features:
89
  - name: test_image
@@ -112,10 +112,10 @@ dataset_info:
112
  dtype: image
113
  splits:
114
  - name: train
115
- num_bytes: 1242503348.0
116
  num_examples: 500
117
  download_size: 1178297566
118
- dataset_size: 1242503348.0
119
  - config_name: grounding_task_a_zero_shot
120
  features:
121
  - name: test_image
@@ -144,10 +144,10 @@ dataset_info:
144
  dtype: image
145
  splits:
146
  - name: train
147
- num_bytes: 414286389.0
148
  num_examples: 500
149
  download_size: 392568896
150
- dataset_size: 414286389.0
151
  - config_name: grounding_task_b_icl_outside
152
  features:
153
  - name: test_image
@@ -176,10 +176,10 @@ dataset_info:
176
  dtype: image
177
  splits:
178
  - name: train
179
- num_bytes: 1244099842.0
180
  num_examples: 500
181
  download_size: 1190169899
182
- dataset_size: 1244099842.0
183
  - config_name: grounding_task_b_icl_within
184
  features:
185
  - name: test_image
@@ -208,10 +208,10 @@ dataset_info:
208
  dtype: image
209
  splits:
210
  - name: train
211
- num_bytes: 1242524691.0
212
  num_examples: 500
213
  download_size: 1178307472
214
- dataset_size: 1242524691.0
215
  - config_name: grounding_task_b_zero_shot
216
  features:
217
  - name: test_image
@@ -240,10 +240,10 @@ dataset_info:
240
  dtype: image
241
  splits:
242
  - name: train
243
- num_bytes: 414307752.0
244
  num_examples: 500
245
  download_size: 392578566
246
- dataset_size: 414307752.0
247
  - config_name: task1_image
248
  features:
249
  - name: test_image
@@ -268,10 +268,10 @@ dataset_info:
268
  sequence: image
269
  splits:
270
  - name: train
271
- num_bytes: 2798691043.0
272
  num_examples: 451
273
  download_size: 503903932
274
- dataset_size: 2798691043.0
275
  - config_name: task1_three_view
276
  features:
277
  - name: test_image
@@ -292,10 +292,10 @@ dataset_info:
292
  sequence: string
293
  splits:
294
  - name: train
295
- num_bytes: 284294342.0
296
  num_examples: 496
297
  download_size: 102854693
298
- dataset_size: 284294342.0
299
  - config_name: task2_three_view
300
  features:
301
  - name: test_image
@@ -318,10 +318,10 @@ dataset_info:
318
  dtype: string
319
  splits:
320
  - name: train
321
- num_bytes: 3892767363.0
322
  num_examples: 830
323
  download_size: 2404052070
324
- dataset_size: 3892767363.0
325
  - config_name: task3_image
326
  features:
327
  - name: test_image
@@ -364,10 +364,10 @@ dataset_info:
364
  dtype: image
365
  splits:
366
  - name: train
367
- num_bytes: 5289841601.0
368
  num_examples: 857
369
  download_size: 900918270
370
- dataset_size: 5289841601.0
371
  - config_name: task3_missing_part_image
372
  features:
373
  - name: test_image
@@ -412,10 +412,10 @@ dataset_info:
412
  dtype: image
413
  splits:
414
  - name: train
415
- num_bytes: 1145957667.0
416
  num_examples: 240
417
  download_size: 739016032
418
- dataset_size: 1145957667.0
419
  - config_name: task3_missing_part_three_view
420
  features:
421
  - name: test_image
@@ -460,10 +460,10 @@ dataset_info:
460
  dtype: image
461
  splits:
462
  - name: train
463
- num_bytes: 74622484.0
464
  num_examples: 137
465
  download_size: 38017522
466
- dataset_size: 74622484.0
467
  - config_name: task3_three_view
468
  features:
469
  - name: test_image
@@ -500,10 +500,10 @@ dataset_info:
500
  dtype: image
501
  splits:
502
  - name: train
503
- num_bytes: 198269281.0
504
  num_examples: 309
505
  download_size: 76367968
506
- dataset_size: 198269281.0
507
  configs:
508
  - config_name: grounding_cross_coord_to_coord
509
  data_files:
@@ -565,4 +565,113 @@ configs:
565
  data_files:
566
  - split: train
567
  path: task3_three_view/train-*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
568
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  dtype: string
23
  splits:
24
  - name: train
25
+ num_bytes: 829716650
26
  num_examples: 513
27
  download_size: 634842012
28
+ dataset_size: 829716650
29
  - config_name: grounding_cross_letter_to_letter
30
  features:
31
  - name: ref_image
 
48
  dtype: string
49
  splits:
50
  - name: train
51
+ num_bytes: 829529694
52
  num_examples: 513
53
  download_size: 634800583
54
+ dataset_size: 829529694
55
  - config_name: grounding_task_a_icl_outside
56
  features:
57
  - name: test_image
 
80
  dtype: image
81
  splits:
82
  - name: train
83
+ num_bytes: 1241840521
84
  num_examples: 500
85
  download_size: 1182653732
86
+ dataset_size: 1241840521
87
  - config_name: grounding_task_a_icl_within
88
  features:
89
  - name: test_image
 
112
  dtype: image
113
  splits:
114
  - name: train
115
+ num_bytes: 1242503348
116
  num_examples: 500
117
  download_size: 1178297566
118
+ dataset_size: 1242503348
119
  - config_name: grounding_task_a_zero_shot
120
  features:
121
  - name: test_image
 
144
  dtype: image
145
  splits:
146
  - name: train
147
+ num_bytes: 414286389
148
  num_examples: 500
149
  download_size: 392568896
150
+ dataset_size: 414286389
151
  - config_name: grounding_task_b_icl_outside
152
  features:
153
  - name: test_image
 
176
  dtype: image
177
  splits:
178
  - name: train
179
+ num_bytes: 1244099842
180
  num_examples: 500
181
  download_size: 1190169899
182
+ dataset_size: 1244099842
183
  - config_name: grounding_task_b_icl_within
184
  features:
185
  - name: test_image
 
208
  dtype: image
209
  splits:
210
  - name: train
211
+ num_bytes: 1242524691
212
  num_examples: 500
213
  download_size: 1178307472
214
+ dataset_size: 1242524691
215
  - config_name: grounding_task_b_zero_shot
216
  features:
217
  - name: test_image
 
240
  dtype: image
241
  splits:
242
  - name: train
243
+ num_bytes: 414307752
244
  num_examples: 500
245
  download_size: 392578566
246
+ dataset_size: 414307752
247
  - config_name: task1_image
248
  features:
249
  - name: test_image
 
268
  sequence: image
269
  splits:
270
  - name: train
271
+ num_bytes: 2798691043
272
  num_examples: 451
273
  download_size: 503903932
274
+ dataset_size: 2798691043
275
  - config_name: task1_three_view
276
  features:
277
  - name: test_image
 
292
  sequence: string
293
  splits:
294
  - name: train
295
+ num_bytes: 284294342
296
  num_examples: 496
297
  download_size: 102854693
298
+ dataset_size: 284294342
299
  - config_name: task2_three_view
300
  features:
301
  - name: test_image
 
318
  dtype: string
319
  splits:
320
  - name: train
321
+ num_bytes: 3892767363
322
  num_examples: 830
323
  download_size: 2404052070
324
+ dataset_size: 3892767363
325
  - config_name: task3_image
326
  features:
327
  - name: test_image
 
364
  dtype: image
365
  splits:
366
  - name: train
367
+ num_bytes: 5289841601
368
  num_examples: 857
369
  download_size: 900918270
370
+ dataset_size: 5289841601
371
  - config_name: task3_missing_part_image
372
  features:
373
  - name: test_image
 
412
  dtype: image
413
  splits:
414
  - name: train
415
+ num_bytes: 1145957667
416
  num_examples: 240
417
  download_size: 739016032
418
+ dataset_size: 1145957667
419
  - config_name: task3_missing_part_three_view
420
  features:
421
  - name: test_image
 
460
  dtype: image
461
  splits:
462
  - name: train
463
+ num_bytes: 74622484
464
  num_examples: 137
465
  download_size: 38017522
466
+ dataset_size: 74622484
467
  - config_name: task3_three_view
468
  features:
469
  - name: test_image
 
500
  dtype: image
501
  splits:
502
  - name: train
503
+ num_bytes: 198269281
504
  num_examples: 309
505
  download_size: 76367968
506
+ dataset_size: 198269281
507
  configs:
508
  - config_name: grounding_cross_coord_to_coord
509
  data_files:
 
565
  data_files:
566
  - split: train
567
  path: task3_three_view/train-*
568
+ license: mit
569
+ task_categories:
570
+ - question-answering
571
+ - image-text-to-text
572
+ - visual-question-answering
573
+ language:
574
+ - en
575
+ tags:
576
+ - Manufacturing
577
+ - 3D
578
+ - Industry
579
+ - Engineering
580
+ pretty_name: Forge
581
+ size_categories:
582
+ - 1K<n<10K
583
  ---
584
+
585
+
586
+ <div align="center">
587
+ <h1>
588
+ <img src="forge_icon.png" alt="FORGE Logo" height="50" style="vertical-align:middle; margin-right:10px;" />
589
+ FORGE: A Benchmark for Manufacturing Anomaly Detection with VLMs
590
+ </h1>
591
+ </div>
592
+
593
+ <p align="center">
594
+ &nbsp;&nbsp;🌐&nbsp;<a href="https://ai4manufacturing.github.io/forge-web/">Website</a>&nbsp;&nbsp; | &nbsp;&nbsp;📑&nbsp;<a href="">Paper</a>&nbsp;&nbsp; | &nbsp;&nbsp;💻&nbsp;<a href="https://github.com/AI4Manufacturing/FORGE">Code</a>&nbsp;&nbsp; | &nbsp;&nbsp;🤗&nbsp;<a href="https://huggingface.co/datasets/AI4Manufacturing/forge">Dataset</a>&nbsp;&nbsp;
595
+ </p>
596
+
597
+ <div align="center">
598
+ <img src="pipeline.png" width="100%" alt="FORGE Pipeline Overview">
599
+ </div>
600
+
601
+ ## Overview
602
+
603
+ **FORGE** evaluates Vision-Language Models on industrial manufacturing anomaly detection. It covers three core tasks across photo and three-view rendered modalities, plus spatial grounding ablations. All images are embedded -- no external files needed.
604
+
605
+ ## Quick Start
606
+
607
+ ```python
608
+ from datasets import load_dataset
609
+
610
+ ds = load_dataset("AI4Manufacturing/forge", "task1_three_view", split="train")
611
+ print(ds[0].keys())
612
+ ds[0]["test_image"] # PIL Image
613
+ ```
614
+
615
+ ## Configs
616
+
617
+ ### Core Tasks
618
+
619
+ | Config | Cases | Task | Modality |
620
+ |--------|------:|------|----------|
621
+ | `task1_image` | 451 | Wrong model detection (MCQ) | Photo |
622
+ | `task1_three_view` | 496 | Wrong model detection (letter) | Three-View |
623
+ | `task2_three_view` | 830 | Anomaly classification (normal + defect type) | Three-View |
624
+ | `task3_image` | 857 | Extra/wrong part detection (MCQ) | Photo |
625
+ | `task3_three_view` | 309 | Extra/wrong part detection (letter) | Three-View |
626
+ | `task3_missing_part_image` | 240 | Missing part identification (MCQ) | Photo |
627
+ | `task3_missing_part_three_view` | 137 | Missing part identification (MCQ) | Three-View |
628
+
629
+ ### Grounding Ablation (Single-Image)
630
+
631
+ | Config | Cases | Description |
632
+ |--------|------:|-------------|
633
+ | `grounding_task_a_zero_shot` | 500 | Coord → Letter, zero-shot |
634
+ | `grounding_task_a_icl_within` | 500 | Coord → Letter, ICL (same image) |
635
+ | `grounding_task_a_icl_outside` | 500 | Coord → Letter, ICL (cross image) |
636
+ | `grounding_task_b_zero_shot` | 500 | Letter → Coord, zero-shot |
637
+ | `grounding_task_b_icl_within` | 500 | Letter → Coord, ICL (same image) |
638
+ | `grounding_task_b_icl_outside` | 500 | Letter → Coord, ICL (cross image) |
639
+
640
+ ### Grounding Ablation (Cross-Image)
641
+
642
+ | Config | Cases | Description |
643
+ |--------|------:|-------------|
644
+ | `grounding_cross_letter_to_letter` | 513 | Match parts by letter across images |
645
+ | `grounding_cross_coord_to_coord` | 513 | Match parts by coordinate across images |
646
+
647
+ **Total: 6,846 cases across 15 configs**
648
+
649
+ ## Data Fields
650
+
651
+ Each row is self-contained with all images embedded. Unused image slots hold a 1x1 placeholder. Use `n_normal_refs` / `n_icl_examples` to know how many are real.
652
+
653
+ **Task 1/3 Image** -- `test_image`, `grounding_image`, `assembly_name`, `assembly_description`, `error_case`, `ref_image_0..4`, `icl_ori_image_0..2`, `icl_grounding_image_0..2`, `n_normal_refs`, `n_icl_examples`
654
+
655
+ **Task 1/3 Three-View** -- `test_image`, `gt_parts` (JSON), `query_description`, `scenario_name`, `error_case`, `ref_image_0..4`, `icl_image_0..2`, `icl_gt_letters` (JSON), `n_normal_refs`, `n_icl_examples`
656
+
657
+ **Task 2 Three-View** -- `test_image`, `defect_type`, `is_normal`, `component_type`, `component_description`, `ref_image_0..4`, `icl_image_0..2`, `icl_metadata` (JSON), `n_normal_refs`, `n_icl_examples`
658
+
659
+ **Missing Part** -- `test_image`, `assembly_name`, `assembly_description`, `choices_text`, `gt_letter`, `gt_answer`, `mcq_mapping` (JSON), `ref_image_0..4`, `icl_image_0..2`, `icl_gt_letters` (JSON), `n_normal_refs`, `n_icl_examples`
660
+
661
+ **Grounding (single)** -- `test_image`, `target_coord` (JSON), `target_letter`, `choices` (JSON), `gt_choice_letter`, `icl_image_0..2`, `icl_metadata` (JSON), `n_icl_examples`
662
+
663
+ **Grounding (cross)** -- `ref_image`, `test_image`, `ref_hint`, `ref_hint_coord` (JSON), `test_choices` (JSON), `test_mcq_options` (JSON), `gt_answer`
664
+
665
+ ## Evaluation Code
666
+
667
+ See the [FORGE GitHub repo](https://github.com/AI4Manufacturing/FORGE) for the full evaluation toolkit supporting OpenRouter, OpenAI, Anthropic, Google, and vLLM backends.
668
+
669
+ ## Citation
670
+
671
+ ```bibtex
672
+ @article{jianforge2026,
673
+ title={FORGE: A Benchmark for Manufacturing Anomaly Detection with VLMs},
674
+ author={Jian, Xiangru and Xu, Hao and Pang, Wei and Zhao, Xinjian and Tao, Chengyu and Zhang, Qixin and Zhang, Xikun and Zhang, Chao and Deng, Guanzhi and Xue, Alex and Du, Juan and Yu, Tianshu and Tarr, Garth and Sun, Qiuzhuang and Tao, Dacheng},
675
+ year={2026}
676
+ }
677
+ ```