Datasets:
Add stratified-subset README
Browse files
README.md
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: 1120
|
| 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-Structural-Mini
|
| 48 |
+
|
| 49 |
+
A **stratified 1% 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**: **1,120** (1.09% of parent)
|
| 55 |
+
- **Parquet shards**: 1 | **Storage**: ~1.73 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 | 240 | 21.43 |
|
| 67 |
+
| Dog Bone | 220 | 19.64 |
|
| 68 |
+
| Hip Implant | 220 | 19.64 |
|
| 69 |
+
| Pressure Vessel | 220 | 19.64 |
|
| 70 |
+
| Wall Bracket | 220 | 19.64 |
|
| 71 |
+
|
| 72 |
+
### By `media_type`
|
| 73 |
+
|
| 74 |
+
| media_type | rows |
|
| 75 |
+
|:-------------|-------:|
|
| 76 |
+
| image | 560 |
|
| 77 |
+
| video | 560 |
|
| 78 |
+
|
| 79 |
+
### By `(source_file, question_type)`
|
| 80 |
+
|
| 81 |
+
| source_file | Binary | Multiple Choice | Spatial | Total |
|
| 82 |
+
|:----------------|---------:|------------------:|----------:|--------:|
|
| 83 |
+
| Beams | 72 | 120 | 48 | 240 |
|
| 84 |
+
| Dog Bone | 66 | 110 | 44 | 220 |
|
| 85 |
+
| Hip Implant | 66 | 110 | 44 | 220 |
|
| 86 |
+
| Pressure Vessel | 66 | 110 | 44 | 220 |
|
| 87 |
+
| Wall Bracket | 66 | 110 | 44 | 220 |
|
| 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 |
+
- **Nested**: `Mini` is a strict subset of `Structural-Small`, which is a strict subset of `cmudrc/OpenSeeSimE-Structural`. Any row appearing in `Mini` also appears in `Structural-Small`.
|
| 93 |
+
|
| 94 |
+
## Feature Schema
|
| 95 |
+
|
| 96 |
+
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.
|
| 97 |
+
|
| 98 |
+
```python
|
| 99 |
+
{
|
| 100 |
+
'file_name': str, # Unique identifier
|
| 101 |
+
'source_file': str, # Base simulation model
|
| 102 |
+
'question': str, # Question text
|
| 103 |
+
'question_type': str, # 'Binary', 'Multiple Choice', 'Spatial'
|
| 104 |
+
'question_id': int, # Question identifier (1-20)
|
| 105 |
+
'answer': str, # Ground truth answer
|
| 106 |
+
'answer_choices': list[str], # Options
|
| 107 |
+
'correct_choice_idx': int, # Index of correct answer
|
| 108 |
+
'image': Image, # PIL Image (1920x1440) or null for video rows
|
| 109 |
+
'video': Video, # Video bytes or null for image rows
|
| 110 |
+
'media_type': str, # 'image' or 'video'
|
| 111 |
+
}
|
| 112 |
+
```
|
| 113 |
+
|
| 114 |
+
## Intended Use
|
| 115 |
+
|
| 116 |
+
- Fast smoke-testing of VLM evaluation pipelines before running the full benchmark
|
| 117 |
+
- Baseline training (e.g. CNN baselines) on a reduced footprint
|
| 118 |
+
- Iteration on metric/aggregation code without 100k+ row overhead
|
| 119 |
+
|
| 120 |
+
For rigorous benchmarking, use the parent dataset.
|
| 121 |
+
|
| 122 |
+
## License
|
| 123 |
+
|
| 124 |
+
MIT — same as parent. Free for academic and commercial use with attribution.
|
| 125 |
+
|
| 126 |
+
## Citation
|
| 127 |
+
|
| 128 |
+
```bibtex
|
| 129 |
+
@article{ezemba2024opensesime,
|
| 130 |
+
title={OpenSeeSimE: A Large-Scale Benchmark to Assess Vision-Language Model Question Answering Capabilities in Engineering Simulations},
|
| 131 |
+
author={Ezemba, Jessica and Pohl, Jason and Tucker, Conrad and McComb, Christopher},
|
| 132 |
+
year={2025}
|
| 133 |
+
}
|
| 134 |
+
```
|
| 135 |
+
|
| 136 |
+
## Contact
|
| 137 |
+
|
| 138 |
+
**Jessica Ezemba** — jezemba@andrew.cmu.edu
|
| 139 |
+
Department of Mechanical Engineering, Carnegie Mellon University
|