Datasets:
File size: 3,314 Bytes
4826012 b466c14 4826012 b466c14 4826012 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | ---
pretty_name: OneSearch-MI-Bench
language:
- en
task_categories:
- visual-question-answering
tags:
- benchmark
- visual-search
- multi-image
size_categories:
- n<1K
configs:
- config_name: default
data_files:
- split: test
path: test.jsonl
---
# OneSearch-MI
OneSearch-MI contains 301 questions and 910 unique PNG images. Each question
uses multiple images in a fixed order. The images retain their original bytes,
resolution and aspect ratio; no resizing or recompression is applied.
## Files
```text
README.md
prepare.py
test.jsonl
media.jsonl
media/
0000.png
...
```
Media is distributed in `mi-00001.zip`. Extract all media archives into this
directory, preserving their paths. Each archive is at most 10 GB
(10,000,000,000 bytes). All images needed by this benchmark are included;
the video benchmark is not required.
`test.jsonl` contains one record per question:
| Field | Meaning |
| --- | --- |
| `id` | Stable sample ID, represented as a string |
| `question` | Question given to the model |
| `answer` | Reference answer for evaluation; not an actor input |
| `images` | Ordered image paths relative to this MI dataset directory |
| `n_images` | Number of images in this sample |
| `structure` | Question structure |
| `difficulty` | Difficulty label |
| `num_hops` | Annotated reasoning hop count |
| `knowledge_domain` | Knowledge category |
**Preserve the order of `images`.** The first list element becomes `img_1`,
the second becomes `img_2`, and so on. Numeric filenames are media identifiers,
not the input sequence; sorting the filenames can change the sample.
Multiple questions may share an image. `media.jsonl` has one entry per unique
PNG, including its relative path, byte size, width and height.
## Prepare inference inputs
The loader requires Python 3.9 or newer and uses only the standard library.
It makes no model or judge calls and does not modify the images.
Check image byte sizes, PNG dimensions and sample references:
```bash
python prepare.py --verify-only
```
Expose this MI dataset directory through an HTTP(S) media server reachable by
the inference backend. Set `MEDIA_BASE_URL` to that directory's URL, then run:
```bash
python prepare.py --media-base-url "$MEDIA_BASE_URL"
```
This produces:
- `runtime/mi.csv`: `index,question,answer` for inference and evaluation.
- `runtime/mi_manifest.jsonl`: ordered image URLs for the multi-image pipeline.
Each manifest record has `case_id` equal to the sample `id`, `ok: true`,
`modality: "multi_image"`, `n_images`, and ordered `image_urls`. It contains
no reference answer, source-video metadata or annotations. The question is
loaded from the CSV; the reference answer is reserved for evaluation.
From the OneSearch-VL code repository, with `DATA_ROOT` pointing to this MI
dataset directory:
```bash
python onesearch_vl/run_infer_mi.py \
--model 8b --checkpoint /models/your-checkpoint \
--csv "$DATA_ROOT/runtime/mi.csv" \
--manifest "$DATA_ROOT/runtime/mi_manifest.jsonl" \
--output-dir outputs/onesearch_mi
bash onesearch_vl/run_eval.sh image \
--csv "$DATA_ROOT/runtime/mi.csv" \
--traj_dir outputs/onesearch_mi
```
Configure inference, search and evaluation credentials in the code repository
before running those commands. No evaluation results are included in this package.
|