Datasets:
docs: add Data Formats section (raw/parquet/tsv) and TSV to structure
Browse files
README.md
CHANGED
|
@@ -106,7 +106,7 @@ All 4,500 benchmark QA pairs and bounding boxes are **strictly annotated by ten
|
|
| 106 |
MultihopSpatial/
|
| 107 |
├── README.md
|
| 108 |
├── teaser_2.png
|
| 109 |
-
├── data/
|
| 110 |
│ ├── multihop_test_4500.json
|
| 111 |
│ ├── multihop_train_6791.json
|
| 112 |
│ └── images/
|
|
@@ -114,6 +114,43 @@ MultihopSpatial/
|
|
| 114 |
│ ├── 000000022612.jpg
|
| 115 |
│ ├── 01ce4fd6-197a-4792-8778-775b03780369_002114.jpeg
|
| 116 |
│ └── ...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 117 |
```
|
| 118 |
|
| 119 |
## Usage
|
|
|
|
| 106 |
MultihopSpatial/
|
| 107 |
├── README.md
|
| 108 |
├── teaser_2.png
|
| 109 |
+
├── data/ # Raw annotations + images
|
| 110 |
│ ├── multihop_test_4500.json
|
| 111 |
│ ├── multihop_train_6791.json
|
| 112 |
│ └── images/
|
|
|
|
| 114 |
│ ├── 000000022612.jpg
|
| 115 |
│ ├── 01ce4fd6-197a-4792-8778-775b03780369_002114.jpeg
|
| 116 |
│ └── ...
|
| 117 |
+
├── parquet/ # datasets-native (images embedded)
|
| 118 |
+
│ ├── train-00000-of-00001.parquet
|
| 119 |
+
│ └── test-00000-of-00001.parquet
|
| 120 |
+
└── multihopspatial.tsv # VLMEvalKit format (base64 images)
|
| 121 |
+
```
|
| 122 |
+
|
| 123 |
+
## Data Formats
|
| 124 |
+
|
| 125 |
+
The same benchmark is shipped in three formats so it drops into different evaluation stacks without any conversion. **All three describe the identical 4,500 test samples** — pick whichever your tool expects.
|
| 126 |
+
|
| 127 |
+
| Format | Files | Images | Primarily used by |
|
| 128 |
+
|---|---|---|---|
|
| 129 |
+
| **Raw JSON + images** | `data/*.json` + `data/images/` | separate `.jpg`/`.jpeg` files | Custom pipelines; the [`msrbench`](https://github.com/youngwanLEE/msrbench) training/benchmark scripts |
|
| 130 |
+
| **Parquet** | `parquet/*.parquet` | embedded (raw bytes) | 🤗 `datasets` (`load_dataset`) and **[lmms-eval](https://github.com/EvolvingLMMs-Lab/lmms-eval)** |
|
| 131 |
+
| **TSV** | `multihopspatial.tsv` | embedded (base64) | **[VLMEvalKit](https://github.com/open-compass/VLMEvalKit)** |
|
| 132 |
+
|
| 133 |
+
> [!NOTE]
|
| 134 |
+
> The Parquet and TSV files embed the **original image bytes verbatim** (no re-encoding), so grounding IoU is identical across harnesses. The `test` split is shared by the `default` and `benchmark` configs.
|
| 135 |
+
|
| 136 |
+
### Parquet — 🤗 `datasets` / lmms-eval
|
| 137 |
+
|
| 138 |
+
```python
|
| 139 |
+
from datasets import load_dataset
|
| 140 |
+
|
| 141 |
+
# Full dataset (train + test)
|
| 142 |
+
ds = load_dataset("etri-vilab/MultihopSpatial")
|
| 143 |
+
|
| 144 |
+
# Benchmark config (test split only) — used by the lmms-eval task
|
| 145 |
+
bench = load_dataset("etri-vilab/MultihopSpatial", "benchmark", split="test")
|
| 146 |
+
```
|
| 147 |
+
|
| 148 |
+
### TSV — VLMEvalKit
|
| 149 |
+
|
| 150 |
+
VLMEvalKit auto-downloads the TSV to `~/LMUData/` on first run:
|
| 151 |
+
|
| 152 |
+
```bash
|
| 153 |
+
python run.py --data MultihopSpatial --model <your_model>
|
| 154 |
```
|
| 155 |
|
| 156 |
## Usage
|