Krinos commited on
Commit
4e522bb
·
verified ·
1 Parent(s): 19ce371

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +100 -130
README.md CHANGED
@@ -1,104 +1,71 @@
1
  ---
2
  license: apache-2.0
3
  task_categories:
4
- - question-answering
5
- - visual-question-answering
6
  language:
7
- - en
8
  tags:
9
- - music
10
- - music-understanding
11
- - sheet-music
12
- - abc-notation
13
- - benchmark
14
- - multimodal
15
- pretty_name: 'MSU-Bench: Musical Score Understanding Benchmark'
16
  size_categories:
17
- - n<1K
18
  configs:
19
- - config_name: default
20
- data_files:
21
- - split: test
22
- path: data/test-*
23
- - config_name: flat
24
- data_files:
25
- - split: test
26
- path: flat/test-*
27
- - config_name: nested
28
- data_files:
29
- - split: test
30
- path: nested/test-*
31
  dataset_info:
32
- - config_name: default
33
- features:
34
- - name: song_id
35
- dtype: string
36
- - name: abc_notation
37
- dtype: string
38
- - name: pdf
39
- dtype: binary
40
- - name: images
41
- list: image
42
- - name: questions
43
- struct:
44
- - name: level
45
- list: int32
46
- - name: question
47
- list: string
48
- - name: answer
49
- list: string
50
- splits:
51
- - name: test
52
- num_bytes: 209552791
53
- num_examples: 150
54
- download_size: 415977378
55
- dataset_size: 209552791
56
- - config_name: flat
57
- features:
58
- - name: song_id
59
- dtype: string
60
- - name: abc_notation
61
- dtype: string
62
- - name: pdf
63
- dtype: binary
64
- - name: images
65
- list: image
66
- - name: level
67
- dtype: int32
68
- - name: question
69
- dtype: string
70
- - name: answer
71
- dtype: string
72
- splits:
73
- - name: test
74
- num_bytes: 2427705035
75
- num_examples: 1800
76
- download_size: 2171477267
77
- dataset_size: 2427705035
78
- - config_name: nested
79
- features:
80
- - name: song_id
81
- dtype: string
82
- - name: abc_notation
83
- dtype: string
84
- - name: pdf
85
- dtype: binary
86
- - name: images
87
- list: image
88
- - name: questions
89
- struct:
90
- - name: level
91
- list: int32
92
- - name: question
93
- list: string
94
- - name: answer
95
- list: string
96
- splits:
97
- - name: test
98
- num_bytes: 209552791
99
- num_examples: 150
100
- download_size: 207988689
101
- dataset_size: 209552791
102
  ---
103
 
104
  # MSU-Bench: Musical Score Understanding Benchmark
@@ -108,8 +75,6 @@ dataset_info:
108
 
109
  **Evaluating Large Language Models' Comprehension of Complete Musical Scores**
110
 
111
- > Accepted to **ACL 2026 Main Conference**
112
-
113
  ---
114
 
115
  ## Overview
@@ -139,17 +104,35 @@ MSU-Bench is a human-curated benchmark for evaluating the musical score understa
139
  | **Level 3** - Chord & Harmony | Harmonic structures and progressions | Chord qualities, inversions, cadences, modulations, pedal points |
140
  | **Level 4** - Texture & Form | Large-scale structural analysis | Melodic motifs, thematic organisation, texture types, formal design |
141
 
142
- ## Dataset Structure
 
 
143
 
144
- Each of the 150 samples contains:
 
 
145
 
146
  | Column | Type | Description |
147
  |--------|------|-------------|
148
  | `song_id` | `string` | Unique identifier derived from the score filename |
149
- | `abc_notation` | `string` | Full ABC notation of the score (text-based symbolic representation) |
150
  | `pdf` | `binary` | The original rendered PDF of the score |
151
- | `images` | `list[image]` | Individual page images (PNG) of the score (1-35 pages) |
152
- | `questions` | `struct{level, question, answer}` | 12 questions per score (3 per difficulty level) with reference answers |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
153
 
154
  ### Modalities for Evaluation
155
 
@@ -167,57 +150,44 @@ The benchmark covers 150 scores from the Western art music canon, spanning:
167
 
168
  ## Usage
169
 
170
- ### Loading the Dataset
171
 
172
  ```python
173
  from datasets import load_dataset
174
 
 
175
  ds = load_dataset("Krinos/MSU-Bench", split="test")
 
176
 
177
- # Access a sample
178
  sample = ds[0]
179
- print(sample["song_id"]) # '1._Gnomus_The_Gnome__Promenade_...'
180
- print(sample["abc_notation"][:200])
181
- print(len(sample["images"])) # number of page images
182
- print(sample["questions"]) # {'level': [...], 'question': [...], 'answer': [...]}
183
  ```
184
 
185
- ### Iterating Over Questions
186
 
187
  ```python
188
- # Flatten to one row per question for evaluation
189
- flat_data = []
190
- for sample in ds:
191
- levels = sample["questions"]["level"]
192
- questions = sample["questions"]["question"]
193
- answers = sample["questions"]["answer"]
194
- for lvl, q, a in zip(levels, questions, answers):
195
- flat_data.append({
196
- "song_id": sample["song_id"],
197
- "level": lvl,
198
- "question": q,
199
- "answer": a,
200
- "abc_notation": sample["abc_notation"],
201
- })
202
-
203
- print(f"Total QA pairs: {len(flat_data)}") # 1800
204
  ```
205
 
206
  ### Visual QA with Page Images
207
 
208
  ```python
209
- # Get page images for a score
210
  sample = ds[0]
211
  for i, img in enumerate(sample["images"]):
212
  img.save(f"page_{i}.png")
213
  ```
214
 
215
- ## Evaluation Protocol
216
-
217
- We adopt an **LLM-as-a-judge** framework using majority voting across three models (ChatGPT-5, Claude Sonnet 4, Gemini 2.5 Pro) to evaluate semantic correctness. This approach handles equivalent musical terminology (e.g., "V-I" vs. "authentic cadence") better than strict string matching.
218
-
219
- **Inter-judge agreement:** 83.33% (95% CI: 79.44%-87.22%)
220
-
221
  ## Citation
222
 
223
  ```bibtex
 
1
  ---
2
  license: apache-2.0
3
  task_categories:
4
+ - question-answering
5
+ - visual-question-answering
6
  language:
7
+ - en
8
  tags:
9
+ - music
10
+ - music-understanding
11
+ - sheet-music
12
+ - abc-notation
13
+ - benchmark
14
+ - multimodal
15
+ pretty_name: "MSU-Bench: Musical Score Understanding Benchmark"
16
  size_categories:
17
+ - 1K<n<10K
18
  configs:
19
+ - config_name: nested
20
+ data_files:
21
+ - split: test
22
+ path: nested/test-*
23
+ - config_name: flat
24
+ data_files:
25
+ - split: test
26
+ path: flat/test-*
27
+ default: true
 
 
 
28
  dataset_info:
29
+ - config_name: nested
30
+ features:
31
+ - name: song_id
32
+ dtype: string
33
+ - name: abc_notation
34
+ dtype: string
35
+ - name: pdf
36
+ dtype: binary
37
+ - name: images
38
+ sequence: image
39
+ - name: questions
40
+ struct:
41
+ - name: level
42
+ sequence: int32
43
+ - name: question
44
+ sequence: string
45
+ - name: answer
46
+ sequence: string
47
+ splits:
48
+ - name: test
49
+ num_examples: 150
50
+ - config_name: flat
51
+ features:
52
+ - name: song_id
53
+ dtype: string
54
+ - name: abc_notation
55
+ dtype: string
56
+ - name: pdf
57
+ dtype: binary
58
+ - name: images
59
+ sequence: image
60
+ - name: level
61
+ dtype: int32
62
+ - name: question
63
+ dtype: string
64
+ - name: answer
65
+ dtype: string
66
+ splits:
67
+ - name: test
68
+ num_examples: 1800
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  ---
70
 
71
  # MSU-Bench: Musical Score Understanding Benchmark
 
75
 
76
  **Evaluating Large Language Models' Comprehension of Complete Musical Scores**
77
 
 
 
78
  ---
79
 
80
  ## Overview
 
104
  | **Level 3** - Chord & Harmony | Harmonic structures and progressions | Chord qualities, inversions, cadences, modulations, pedal points |
105
  | **Level 4** - Texture & Form | Large-scale structural analysis | Melodic motifs, thematic organisation, texture types, formal design |
106
 
107
+ ## Dataset Configs
108
+
109
+ The dataset is available in two configurations:
110
 
111
+ ### `flat` (default) 1 question per row, 1,800 rows
112
+
113
+ Each row contains a single question-answer pair alongside the full score data. Best for evaluation pipelines.
114
 
115
  | Column | Type | Description |
116
  |--------|------|-------------|
117
  | `song_id` | `string` | Unique identifier derived from the score filename |
118
+ | `abc_notation` | `string` | Full ABC notation (text-based symbolic representation) |
119
  | `pdf` | `binary` | The original rendered PDF of the score |
120
+ | `images` | `list[image]` | Individual page images (PNG), 135 pages per score |
121
+ | `level` | `int32` | Difficulty level (1–4) |
122
+ | `question` | `string` | The question text |
123
+ | `answer` | `string` | The reference answer |
124
+
125
+ ### `nested` — 12 questions per score, 150 rows
126
+
127
+ Each row contains one complete score with all 12 questions nested in a struct. Best for per-score analysis.
128
+
129
+ | Column | Type | Description |
130
+ |--------|------|-------------|
131
+ | `song_id` | `string` | Unique identifier |
132
+ | `abc_notation` | `string` | Full ABC notation |
133
+ | `pdf` | `binary` | The original rendered PDF |
134
+ | `images` | `list[image]` | Individual page images (PNG) |
135
+ | `questions` | `struct{level, question, answer}` | 12 questions (3 per difficulty level) with reference answers |
136
 
137
  ### Modalities for Evaluation
138
 
 
150
 
151
  ## Usage
152
 
153
+ ### Loading the Flat Config (default)
154
 
155
  ```python
156
  from datasets import load_dataset
157
 
158
+ # Default config: flat (1 question per row)
159
  ds = load_dataset("Krinos/MSU-Bench", split="test")
160
+ print(len(ds)) # 1800
161
 
 
162
  sample = ds[0]
163
+ print(sample["song_id"])
164
+ print(f"Level {sample['level']}: {sample['question']} -> {sample['answer']}")
 
 
165
  ```
166
 
167
+ ### Loading the Nested Config
168
 
169
  ```python
170
+ # Nested config: 12 questions per score
171
+ ds = load_dataset("Krinos/MSU-Bench", "nested", split="test")
172
+ print(len(ds)) # 150
173
+
174
+ sample = ds[0]
175
+ for lvl, q, a in zip(
176
+ sample["questions"]["level"],
177
+ sample["questions"]["question"],
178
+ sample["questions"]["answer"],
179
+ ):
180
+ print(f" L{lvl}: {q} -> {a}")
 
 
 
 
 
181
  ```
182
 
183
  ### Visual QA with Page Images
184
 
185
  ```python
 
186
  sample = ds[0]
187
  for i, img in enumerate(sample["images"]):
188
  img.save(f"page_{i}.png")
189
  ```
190
 
 
 
 
 
 
 
191
  ## Citation
192
 
193
  ```bibtex