Card: arXiv/GitHub links, fix load_dataset repo id, de-anonymize
Browse files
README.md
CHANGED
|
@@ -164,6 +164,12 @@ configs:
|
|
| 164 |
|
| 165 |
# PitchBench
|
| 166 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 167 |
A benchmark for testing what audio / acoustic signals **Audio Language Models (ALMs)** do
|
| 168 |
and don't understand. PitchBench probes pitch perception across 29 controlled
|
| 169 |
experiments — single-pitch ID, onsets/offsets, chords, sequences, contour, audio
|
|
@@ -179,18 +185,18 @@ question (`prompt*`) asked of the model, and the ground-truth answer fields
|
|
| 179 |
from datasets import load_dataset
|
| 180 |
|
| 181 |
# Load one experiment (configurations match experiment IDs)
|
| 182 |
-
ds = load_dataset("
|
| 183 |
print(ds[0]["audio"], ds[0]["prompt_midi"], ds[0]["gt_midi"])
|
| 184 |
|
| 185 |
# d7b has two audio columns: audio_1 (reference tone) and audio_2 (target tone)
|
| 186 |
-
ds_d7b = load_dataset("
|
| 187 |
"pitchbench_d7b_pitch_with_reference_split", split="test")
|
| 188 |
print(ds_d7b[0]["audio_1"], ds_d7b[0]["audio_2"], ds_d7b[0]["gt_midi"])
|
| 189 |
|
| 190 |
# Iterate every experiment
|
| 191 |
import datasets
|
| 192 |
-
for cfg in datasets.get_dataset_config_names("
|
| 193 |
-
ds = load_dataset("
|
| 194 |
print(cfg, len(ds))
|
| 195 |
```
|
| 196 |
|
|
@@ -407,8 +413,9 @@ Stimuli are generated deterministically from the configuration in
|
|
| 407 |
`pitchbench.config` (`EVAL=True` benchmark constants). The subset published
|
| 408 |
here is the seeded stratified sample used in the paper — reproduced by
|
| 409 |
`apply_default_sampling(EXP_NAME, all_conds, None, seed=42)` over the output
|
| 410 |
-
of each experiment's `build_conditions(...)`. Source code is
|
| 411 |
-
|
|
|
|
| 412 |
|
| 413 |
## License
|
| 414 |
|
|
|
|
| 164 |
|
| 165 |
# PitchBench
|
| 166 |
|
| 167 |
+
[](https://arxiv.org/abs/2605.26176)
|
| 168 |
+
[](https://github.com/vaclisinc/PitchBench)
|
| 169 |
+
[](https://pypi.org/project/pitchbench/)
|
| 170 |
+
|
| 171 |
+
Paper: [PitchBench: Measuring Pitch Hearing in Audio-Language Models](https://arxiv.org/abs/2605.26176)
|
| 172 |
+
|
| 173 |
A benchmark for testing what audio / acoustic signals **Audio Language Models (ALMs)** do
|
| 174 |
and don't understand. PitchBench probes pitch perception across 29 controlled
|
| 175 |
experiments — single-pitch ID, onsets/offsets, chords, sequences, contour, audio
|
|
|
|
| 185 |
from datasets import load_dataset
|
| 186 |
|
| 187 |
# Load one experiment (configurations match experiment IDs)
|
| 188 |
+
ds = load_dataset("vaclis/PitchBench", "pitchbench_a1_single_pitch_id", split="test")
|
| 189 |
print(ds[0]["audio"], ds[0]["prompt_midi"], ds[0]["gt_midi"])
|
| 190 |
|
| 191 |
# d7b has two audio columns: audio_1 (reference tone) and audio_2 (target tone)
|
| 192 |
+
ds_d7b = load_dataset("vaclis/PitchBench",
|
| 193 |
"pitchbench_d7b_pitch_with_reference_split", split="test")
|
| 194 |
print(ds_d7b[0]["audio_1"], ds_d7b[0]["audio_2"], ds_d7b[0]["gt_midi"])
|
| 195 |
|
| 196 |
# Iterate every experiment
|
| 197 |
import datasets
|
| 198 |
+
for cfg in datasets.get_dataset_config_names("vaclis/PitchBench"):
|
| 199 |
+
ds = load_dataset("vaclis/PitchBench", cfg, split="test")
|
| 200 |
print(cfg, len(ds))
|
| 201 |
```
|
| 202 |
|
|
|
|
| 413 |
`pitchbench.config` (`EVAL=True` benchmark constants). The subset published
|
| 414 |
here is the seeded stratified sample used in the paper — reproduced by
|
| 415 |
`apply_default_sampling(EXP_NAME, all_conds, None, seed=42)` over the output
|
| 416 |
+
of each experiment's `build_conditions(...)`. Source code is available at
|
| 417 |
+
[github.com/vaclisinc/PitchBench](https://github.com/vaclisinc/PitchBench)
|
| 418 |
+
(`pip install pitchbench`).
|
| 419 |
|
| 420 |
## License
|
| 421 |
|