File size: 2,894 Bytes
e6ed320
 
dc1d73b
e6ed320
 
 
 
 
 
 
5e2c3bd
e6ed320
5e2c3bd
 
 
 
e6ed320
 
5e2c3bd
e6ed320
5e2c3bd
 
dc1d73b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4033937
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e6ed320
 
 
 
 
dc1d73b
 
 
 
4033937
 
 
 
e6ed320
cd14d13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
---
dataset_info:
- config_name: default
  features:
  - name: image
    dtype: image
  - name: category
    dtype: string
  - name: question_id
    dtype: string
  - name: question
    dtype: string
  - name: choices
    list: string
  - name: answer
    dtype: int64
  splits:
  - name: test
    num_bytes: 281192667
    num_examples: 191
  download_size: 281175185
  dataset_size: 281192667
- config_name: direct_attributes
  features:
  - name: image
    dtype: image
  - name: category
    dtype: string
  - name: question_id
    dtype: string
  - name: question
    dtype: string
  - name: choices
    list: string
  - name: answer
    dtype: int64
  splits:
  - name: test
    num_bytes: 169304473
    num_examples: 115
  download_size: 168837509
  dataset_size: 169304473
- config_name: relative_position
  features:
  - name: image
    dtype: image
  - name: category
    dtype: string
  - name: question_id
    dtype: string
  - name: question
    dtype: string
  - name: choices
    list: string
  - name: answer
    dtype: int64
  splits:
  - name: test
    num_bytes: 111888168
    num_examples: 76
  download_size: 112339908
  dataset_size: 111888168
configs:
- config_name: default
  data_files:
  - split: test
    path: data/test-*
- config_name: direct_attributes
  data_files:
  - split: test
    path: direct_attributes/test-*
- config_name: relative_position
  data_files:
  - split: test
    path: relative_position/test-*
---
# vstar_bench (Reformatted)

This dataset is a **reformatted version** of
[`craigwu/vstar_bench`](https://huggingface.co/datasets/craigwu/vstar_bench).

The underlying data (images, questions, choices, and answers) is **unchanged**.
Only the representation has been normalized to make it easier to use in
standard multiple-choice (MCQ) and instruction-following evaluation pipelines.

---

## Dataset Format

Each example contains:

- `question` (`string`): question text  
- `choices` (`List[str]`): answer options (no letter prefixes)  
- `answer` (`int`): correct option index (0-based)  
- `image` (`Image`): associated image  

---

## Reconstructing MCQ Prompt

The original letter-based MCQ format can be reconstructed as follows:

```python
from datasets import load_dataset

ds = load_dataset("ohjoonhee/vstar_bench")
row = ds["test"][0]

question = row["question"]
choices = row["choices"]
answer = row["answer"]

post_prompt = "Answer with the option's letter from the given choices directly."

choices = [f"({chr(i + ord('A'))}) {choice}" for i, choice in enumerate(choices)]
text = "\n".join([question] + choices + [post_prompt])
print(text)

label = ["A", "B", "C", "D"][answer]
print(label)
```

## Notes
- Fully reversible to the original dataset format
- No samples were modified, added, or removed

For the original dataset, see:
[`craigwu/vstar_bench`](https://huggingface.co/datasets/craigwu/vstar_bench/viewer/default/test)