JessicaE commited on
Commit
d58acdf
·
verified ·
1 Parent(s): 90cc502

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: 1040
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
+ - 1K<n<10K
41
+ tags:
42
+ - engineering
43
+ - simulation
44
+ - stratified-subset
45
+ ---
46
+
47
+ # OpenSeeSimE-Fluid-Mini
48
+
49
+ A **stratified 1% subset** of [`cmudrc/OpenSeeSimE-Fluid`](https://huggingface.co/datasets/cmudrc/OpenSeeSimE-Fluid), intended for quicker iteration, smoke tests, and baseline training on reduced data.
50
+
51
+ ## Subset Provenance
52
+
53
+ - **Parent dataset**: [`cmudrc/OpenSeeSimE-Fluid`](https://huggingface.co/datasets/cmudrc/OpenSeeSimE-Fluid) (98,326 rows total)
54
+ - **Rows in this subset**: **1,040** (1.06% of parent)
55
+ - **Parquet shards**: 3 | **Storage**: ~11.61 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
+ | Heat Exchanger | 220 | 21.15 |
67
+ | Mixing Pipe | 220 | 21.15 |
68
+ | Bent Pipe | 204 | 19.62 |
69
+ | Converging Nozzle | 204 | 19.62 |
70
+ | Heat Sink | 192 | 18.46 |
71
+
72
+ ### By `media_type`
73
+
74
+ | media_type | rows |
75
+ |:-------------|-------:|
76
+ | image | 520 |
77
+ | video | 520 |
78
+
79
+ ### By `(source_file, question_type)`
80
+
81
+ | source_file | Binary | Multiple Choice | Spatial | Total |
82
+ |:------------------|---------:|------------------:|----------:|--------:|
83
+ | Bent Pipe | 82 | 82 | 40 | 204 |
84
+ | Converging Nozzle | 82 | 82 | 40 | 204 |
85
+ | Heat Exchanger | 88 | 88 | 44 | 220 |
86
+ | Heat Sink | 76 | 72 | 44 | 192 |
87
+ | Mixing Pipe | 88 | 88 | 44 | 220 |
88
+
89
+ ## Deviations from Parent
90
+
91
+ - **Nested**: `Mini` is a strict subset of `Fluid-Small`, which is a strict subset of `cmudrc/OpenSeeSimE-Fluid`. Any row appearing in `Mini` also appears in `Fluid-Small`.
92
+
93
+ ## Feature Schema
94
+
95
+ Identical to the parent dataset. See [`cmudrc/OpenSeeSimE-Fluid`](https://huggingface.co/datasets/cmudrc/OpenSeeSimE-Fluid) 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