oscarqjh commited on
Commit
16e2866
·
1 Parent(s): cbee660

Add MMSI-Video-Bench dataset

Browse files
Files changed (3) hide show
  1. README.md +101 -0
  2. data/test-00000-of-00001.parquet +3 -0
  3. dataset_info.json +18 -0
README.md ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - visual-question-answering
5
+ - video-text-to-text
6
+ language:
7
+ - en
8
+ tags:
9
+ - video
10
+ - spatial-intelligence
11
+ - multimodal
12
+ - benchmark
13
+ size_categories:
14
+ - 1K<n<10K
15
+ ---
16
+
17
+ # MMSI-Video-Bench
18
+
19
+ A video-based spatial intelligence benchmark for evaluating Multimodal Large Language Models (MLLMs).
20
+
21
+ ## Dataset Description
22
+
23
+ MMSI-Video-Bench tests models on:
24
+ - Spatial reasoning
25
+ - Motion understanding
26
+ - Planning and prediction
27
+ - Cross-video reasoning
28
+
29
+ ## Dataset Structure
30
+
31
+ ```
32
+ MMSI-Video-Bench/
33
+ ├── data/
34
+ │ └── test-00000-of-00001.parquet # 1106 samples
35
+ ├── frames.zip # Extracted video frames
36
+ ├── ref_images.zip # Reference images
37
+ ├── videos.zip # Original videos
38
+ └── README.md
39
+ ```
40
+
41
+ ### Parquet Columns
42
+
43
+ | Column | Type | Description |
44
+ |--------|------|-------------|
45
+ | `id` | string | Unique question ID (e.g., "question_0000") |
46
+ | `type` | string | Question category |
47
+ | `system_prompt` | string | System prompt |
48
+ | `task_prompt` | string | Task description |
49
+ | `user_prompt` | string | User question |
50
+ | `format_prompt` | string | Answer format instructions |
51
+ | `ori_question` | string | Original question text |
52
+ | `options` | list[string] | Answer choices (A-F) |
53
+ | `ground_truth` | string | Correct answer letter |
54
+ | `video_list` | list[dict] | Video metadata (path, start, end, base_fps) |
55
+ | `frames_list` | list[list[string]] | Paths to extracted frames per video |
56
+ | `ref_images` | list[string] | Paths to reference images |
57
+
58
+ ## Usage
59
+
60
+ ```python
61
+ import pandas as pd
62
+ from datasets import load_dataset
63
+
64
+ # Option 1: Load parquet directly
65
+ df = pd.read_parquet("hf://datasets/oscarqjh/MMSI-Video-Bench/data/test-00000-of-00001.parquet")
66
+
67
+ # Option 2: Load with datasets library
68
+ dataset = load_dataset("oscarqjh/MMSI-Video-Bench")
69
+
70
+ # Access a sample
71
+ sample = dataset["train"][0]
72
+ print(sample["id"])
73
+ print(sample["ori_question"])
74
+ print(sample["options"])
75
+ print(sample["ground_truth"])
76
+
77
+ # Video paths are relative to the extracted zip files
78
+ # e.g., sample["video_list"][0]["path"] = "question_0000/video.mp4"
79
+ # After extracting videos.zip: videos/question_0000/video.mp4
80
+ ```
81
+
82
+ ### Extracting Media Files
83
+
84
+ ```bash
85
+ # Download and extract
86
+ wget https://huggingface.co/datasets/oscarqjh/MMSI-Video-Bench/resolve/main/frames.zip
87
+ wget https://huggingface.co/datasets/oscarqjh/MMSI-Video-Bench/resolve/main/ref_images.zip
88
+ wget https://huggingface.co/datasets/oscarqjh/MMSI-Video-Bench/resolve/main/videos.zip
89
+
90
+ unzip frames.zip -d frames/
91
+ unzip ref_images.zip -d ref_images/
92
+ unzip videos.zip -d videos/
93
+ ```
94
+
95
+ ## Citation
96
+
97
+ Please cite the original MMSI-Video-Bench paper if you use this dataset.
98
+
99
+ ## License
100
+
101
+ CC-BY-4.0
data/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5914ea0e10d908afa1334485e7d7a0bb4c7344fa4be63920bebac62506b1be47
3
+ size 1553640
dataset_info.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "description": "MMSI-Video-Bench: A video-based spatial intelligence benchmark for MLLMs",
3
+ "license": "cc-by-4.0",
4
+ "features": {
5
+ "id": {"dtype": "string"},
6
+ "type": {"dtype": "string"},
7
+ "system_prompt": {"dtype": "string"},
8
+ "task_prompt": {"dtype": "string"},
9
+ "user_prompt": {"dtype": "string"},
10
+ "format_prompt": {"dtype": "string"},
11
+ "ori_question": {"dtype": "string"},
12
+ "options": {"sequence": {"dtype": "string"}},
13
+ "ground_truth": {"dtype": "string"},
14
+ "video_list": {"sequence": {"struct": {"path": {"dtype": "string"}, "start": {"dtype": "float64"}, "end": {"dtype": "float64"}, "base_fps": {"dtype": "float64"}}}},
15
+ "frames_list": {"sequence": {"sequence": {"dtype": "string"}}},
16
+ "ref_images": {"sequence": {"dtype": "string"}}
17
+ }
18
+ }