Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- visual-question-answering
|
| 5 |
+
- multiple-choice
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
pretty_name: SAT (Spatial Aptitude Test)
|
| 9 |
+
size_categories:
|
| 10 |
+
- n<1K
|
| 11 |
+
configs:
|
| 12 |
+
- config_name: default
|
| 13 |
+
data_files:
|
| 14 |
+
- split: test
|
| 15 |
+
path: data/test-*.parquet
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# SAT (Spatial Aptitude Test) — re-hosted for lmms-eval
|
| 19 |
+
|
| 20 |
+
This is a re-hosted copy of [`array/SAT`](https://huggingface.co/datasets/array/SAT)
|
| 21 |
+
prepared for upstream-friendly use with
|
| 22 |
+
[`EvolvingLMMs-Lab/lmms-eval`](https://github.com/EvolvingLMMs-Lab/lmms-eval).
|
| 23 |
+
|
| 24 |
+
## What changed vs. `array/SAT`
|
| 25 |
+
|
| 26 |
+
The original parquet uses a nested `list<binary>` schema for image bytes that
|
| 27 |
+
fails pyarrow chunked-array conversion when `load_dataset` is called without
|
| 28 |
+
`streaming=True`. lmms-eval's `api/task.py` calls `load_dataset` with
|
| 29 |
+
`num_proc=1`, which is incompatible with streaming, so neither path works
|
| 30 |
+
out-of-the-box.
|
| 31 |
+
|
| 32 |
+
The re-host fixes this by:
|
| 33 |
+
|
| 34 |
+
1. **Storing images as `Sequence(Image())`** instead of raw nested binary —
|
| 35 |
+
`datasets` handles the parquet encoding correctly and non-streaming loads
|
| 36 |
+
succeed.
|
| 37 |
+
2. **Pre-shuffling the answer order** with a fixed seed (`random.Random(42)`)
|
| 38 |
+
and storing `correct_answer_idx` directly. The upstream fork's
|
| 39 |
+
`api/task.py` originally shuffled answer order at load time with a
|
| 40 |
+
non-deterministic seed; baking this in makes the eval reproducible and
|
| 41 |
+
removes the need for any framework patch.
|
| 42 |
+
|
| 43 |
+
All other fields (`question`, `question_type`, `correct_answer`) are passed
|
| 44 |
+
through unchanged.
|
| 45 |
+
|
| 46 |
+
## Schema
|
| 47 |
+
|
| 48 |
+
| Field | Type | Description |
|
| 49 |
+
|-----------------------|----------------------------|------------------------------------------|
|
| 50 |
+
| `image_bytes` | `Sequence(Image())` | 1 or 2 RGB JPEGs per item |
|
| 51 |
+
| `question` | `Value("string")` | Question text |
|
| 52 |
+
| `answers` | `Sequence(Value("string"))`| Two answer choices, **shuffled** seed=42 |
|
| 53 |
+
| `correct_answer_idx` | `Value("int32")` | 0 or 1, index into `answers` |
|
| 54 |
+
| `correct_answer` | `Value("string")` | Full text of the correct answer |
|
| 55 |
+
| `question_type` | `Value("string")` | One of `obj_movement`, `ego_movement`, `action_conseq`, `perspective`, `goal_aim` |
|
| 56 |
+
|
| 57 |
+
## Stats
|
| 58 |
+
|
| 59 |
+
- 150 test items, single `test` split
|
| 60 |
+
- Image count per item: 1 (104 items) or 2 (46 items)
|
| 61 |
+
- Answer count per item: 2 (binary MCQ)
|
| 62 |
+
- Question types: `action_conseq` 37, `goal_aim` 34, `perspective` 33,
|
| 63 |
+
`obj_movement` 23, `ego_movement` 23
|
| 64 |
+
|
| 65 |
+
## License
|
| 66 |
+
|
| 67 |
+
Inherits from the original `array/SAT` release. Use under the original
|
| 68 |
+
licensing terms.
|
| 69 |
+
|
| 70 |
+
## Citation
|
| 71 |
+
|
| 72 |
+
```bibtex
|
| 73 |
+
@article{ray2025sat,
|
| 74 |
+
title={SAT: Dynamic Spatial Aptitude Training for Multimodal Language Models},
|
| 75 |
+
author={Ray, Arijit and Duan, Jiafei and Tan, Reuben and Bashkirova, Dina and Hendrix, Rose and Ehsani, Kiana and Kembhavi, Aniruddha and Plummer, Bryan A and Krishna, Ranjay and Zeng, Kuo-Hao and others},
|
| 76 |
+
journal={arXiv preprint arXiv:2412.07755},
|
| 77 |
+
year={2025}
|
| 78 |
+
}
|
| 79 |
+
```
|