JessicaE commited on
Commit
96f0a38
·
verified ·
1 Parent(s): fa66eda

Add stratified-subset README

Browse files
Files changed (1) hide show
  1. README.md +138 -0
README.md ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ dataset_info:
3
+ features:
4
+ - name: file_name
5
+ dtype: string
6
+ - name: source_file
7
+ dtype: string
8
+ - name: question
9
+ dtype: string
10
+ - name: question_type
11
+ dtype: string
12
+ - name: question_id
13
+ dtype: int32
14
+ - name: answer
15
+ dtype: string
16
+ - name: answer_choices
17
+ list: string
18
+ - name: correct_choice_idx
19
+ dtype: int32
20
+ - name: image
21
+ dtype: image
22
+ - name: video
23
+ dtype: video
24
+ - name: media_type
25
+ dtype: string
26
+ splits:
27
+ - name: test
28
+ num_examples: 10343
29
+ configs:
30
+ - config_name: default
31
+ data_files:
32
+ - split: test
33
+ path: data/test-*
34
+ license: mit
35
+ task_categories:
36
+ - visual-question-answering
37
+ language:
38
+ - en
39
+ size_categories:
40
+ - 10K<n<100K
41
+ tags:
42
+ - engineering
43
+ - simulation
44
+ - stratified-subset
45
+ ---
46
+
47
+ # OpenSeeSimE-Structural-Small
48
+
49
+ A **stratified 10% subset** of [`cmudrc/OpenSeeSimE-Structural`](https://huggingface.co/datasets/cmudrc/OpenSeeSimE-Structural), intended for quicker iteration, smoke tests, and baseline training on reduced data.
50
+
51
+ ## Subset Provenance
52
+
53
+ - **Parent dataset**: [`cmudrc/OpenSeeSimE-Structural`](https://huggingface.co/datasets/cmudrc/OpenSeeSimE-Structural) (102,678 rows total)
54
+ - **Rows in this subset**: **10,343** (10.07% of parent)
55
+ - **Parquet shards**: 4 | **Storage**: ~15.60 GB
56
+ - **Sampling**: per-stratum shuffle with `numpy.random.default_rng(42)`, then take `ceil(n * fraction)` from each stratum. Any non-empty stratum contributes at least 1 row.
57
+ - **Strata**: `(source_file, question_type, media_type, question_id)` — all four jointly.
58
+ - **Nesting**: `Mini ⊂ Small ⊂ parent`. The same shuffled prefix is taken for every fraction, so the 1% subset is a literal subset of the 10% subset.
59
+
60
+ ## Composition
61
+
62
+ ### By `source_file`
63
+
64
+ | source_file | rows | pct |
65
+ |:----------------|-------:|------:|
66
+ | Beams | 2088 | 20.19 |
67
+ | Pressure Vessel | 2074 | 20.05 |
68
+ | Dog Bone | 2061 | 19.93 |
69
+ | Hip Implant | 2060 | 19.92 |
70
+ | Wall Bracket | 2060 | 19.92 |
71
+
72
+ ### By `media_type`
73
+
74
+ | media_type | rows |
75
+ |:-------------|-------:|
76
+ | image | 5192 |
77
+ | video | 5151 |
78
+
79
+ ### By `(source_file, question_type)`
80
+
81
+ | source_file | Binary | Multiple Choice | Spatial | Total |
82
+ |:----------------|---------:|------------------:|----------:|--------:|
83
+ | Beams | 627 | 1045 | 416 | 2088 |
84
+ | Dog Bone | 619 | 1030 | 412 | 2061 |
85
+ | Hip Implant | 618 | 1030 | 412 | 2060 |
86
+ | Pressure Vessel | 622 | 1040 | 412 | 2074 |
87
+ | Wall Bracket | 618 | 1030 | 412 | 2060 |
88
+
89
+ ## Deviations from Parent
90
+
91
+ - **`Beam` → `Beams` relabel**: 20 rows in the parent dataset were mislabeled `source_file='Beam'` (singular) when they should have been `'Beams'` (plural). In this subset, those rows have been merged into `'Beams'`. The 5 `source_file` classes in this subset are: `Beams`, `Dog Bone`, `Hip Implant`, `Pressure Vessel`, `Wall Bracket`.
92
+
93
+ ## Feature Schema
94
+
95
+ Identical to the parent dataset. See [`cmudrc/OpenSeeSimE-Structural`](https://huggingface.co/datasets/cmudrc/OpenSeeSimE-Structural) for full documentation of simulation generation, ground-truth extraction, preprocessing, limitations, and intended use.
96
+
97
+ ```python
98
+ {
99
+ 'file_name': str, # Unique identifier
100
+ 'source_file': str, # Base simulation model
101
+ 'question': str, # Question text
102
+ 'question_type': str, # 'Binary', 'Multiple Choice', 'Spatial'
103
+ 'question_id': int, # Question identifier (1-20)
104
+ 'answer': str, # Ground truth answer
105
+ 'answer_choices': list[str], # Options
106
+ 'correct_choice_idx': int, # Index of correct answer
107
+ 'image': Image, # PIL Image (1920x1440) or null for video rows
108
+ 'video': Video, # Video bytes or null for image rows
109
+ 'media_type': str, # 'image' or 'video'
110
+ }
111
+ ```
112
+
113
+ ## Intended Use
114
+
115
+ - Fast smoke-testing of VLM evaluation pipelines before running the full benchmark
116
+ - Baseline training (e.g. CNN baselines) on a reduced footprint
117
+ - Iteration on metric/aggregation code without 100k+ row overhead
118
+
119
+ For rigorous benchmarking, use the parent dataset.
120
+
121
+ ## License
122
+
123
+ MIT — same as parent. Free for academic and commercial use with attribution.
124
+
125
+ ## Citation
126
+
127
+ ```bibtex
128
+ @article{ezemba2024opensesime,
129
+ title={OpenSeeSimE: A Large-Scale Benchmark to Assess Vision-Language Model Question Answering Capabilities in Engineering Simulations},
130
+ author={Ezemba, Jessica and Pohl, Jason and Tucker, Conrad and McComb, Christopher},
131
+ year={2025}
132
+ }
133
+ ```
134
+
135
+ ## Contact
136
+
137
+ **Jessica Ezemba** — jezemba@andrew.cmu.edu
138
+ Department of Mechanical Engineering, Carnegie Mellon University