Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
1.05k
1.05k
transcription_kern
stringlengths
1.22k
4.86k
transcription_xml
stringlengths
44.7k
188k
*clefF4 *clefG2 *k[f#c#g#d#] *k[f#c#g#d#] 16C#L 4.G#( 4.g#( 16En . 16C# . 16FF#J . 16C#L . 16E . 16C# 8F# 8f# 16FF#J . = = * *^ 16F#L 4dd#) 4d# 16B . . 16F# . . 16AAnJ . . 16F#L 4bb[ 16bL 16B . 16ff# 16F# . 16dd# 16AAJ . 16b[J = = = 16E#L 4b] 4bb] 16gg#L 16B . 16ddn 16E# . 16b 16GG#J . 16g#J 16F#L 4ddn( 16dnL 16B . 16g...
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 2.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd"> <score-partwise version="2.0"> <part-list> <score-part id="P1"> <part-name>XPart 1</part-name> </score-part> <score-part id="P2"> <part-name>XPar...
"*clefF4\t*clefG2\n*k[f#c#g#d#a#]\t*k[f#c#g#d#a#]\n2BBB 2FF#\t12r\n.\t12f#(L\n.\t12bJ\n.\t12dd#L\n.\(...TRUNCATED)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE score-partwise PUBLIC \"-//Recordare//DTD Mus(...TRUNCATED)
"*clefF4\t*clefG2\n*k[b-e-]\t*k[b-e-]\n8DD 8BB-\t8dd 8ff# 8aa 8ddd\n8r\t8r\n12C# 12c#L\t4r\n12d 12dd(...TRUNCATED)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE score-partwise PUBLIC \"-//Recordare//DTD Mus(...TRUNCATED)
"*clefF4\t*clefG2\n*k[f#c#g#]\t*k[f#c#g#]\n*M3/4\t*M3/4\n*\t*^\n2.AA[\t4r\t12r\n.\t.\t12AL\n.\t.\t12(...TRUNCATED)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE score-partwise PUBLIC \"-//Recordare//DTD Mus(...TRUNCATED)
"*clefF4\t*clefG2\n*k[f#c#g#]\t*k[f#c#g#]\n4DD\t8fff#( 8dddd(L\n.\t8eee# 8cccc#\n4D 4F# 4B\t8gggn 8e(...TRUNCATED)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE score-partwise PUBLIC \"-//Recordare//DTD Mus(...TRUNCATED)
"*clefF4\t*clefG2\n*k[b-]\t*k[b-]\n8AA(L\t4.ee(\n8AJ\t.\n8c# 8gL\t.\n8A\t8aL\n.\t8ccnq\n8c# 8g\t8b-\(...TRUNCATED)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE score-partwise PUBLIC \"-//Recordare//DTD Mus(...TRUNCATED)
"*clefF4\t*clefG2\n*k[f#c#g#d#]\t*k[f#c#g#d#]\n*^\t*\n8BB\t8r\t8bb)\n*clefG2\t*\t*\n4a(\t4.B[\t16bb((...TRUNCATED)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE score-partwise PUBLIC \"-//Recordare//DTD Mus(...TRUNCATED)
"*clefF4\t*clefG2\n*k[b-]\t*k[b-]\n*M3/4\t*M3/4\n8F( 8A(L\t2cc(\n8c\t.\n8F 8A\t.\n8c\t.\n8F 8B-\t4ee(...TRUNCATED)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE score-partwise PUBLIC \"-//Recordare//DTD Mus(...TRUNCATED)
"*k[f#c#]\t*k[f#c#]\n.\t8ccc#q(\n4AA 4F# 4c#\t4fff#;)[\n8BBBq( 8BBq(\t.\n4BBB;) 4BB) 4F# 4d\t208fff#(...TRUNCATED)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE score-partwise PUBLIC \"-//Recordare//DTD Mus(...TRUNCATED)
"*clefF4\t*clefG2\n*k[]\t*k[]\n16G(\t16g[\n=!|:\t=!|:\n8CC)[ 8C)[L\t32g]L\n.\t64r\n.\t64g([K\n.\t32e(...TRUNCATED)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE score-partwise PUBLIC \"-//Recordare//DTD Mus(...TRUNCATED)
End of preview. Expand in Data Studio

Polish Historical-Scan OMR Benchmark

A page-level Optical Music Recognition (OMR) evaluation benchmark of 112 real historical score scans, paired with both **kern (Humdrum) and MusicXML ground-truth transcriptions.

Derived from the PRAIG/polish-scores dataset, with kern normalization and a manual-fix pass applied. Released as the real-scan half of the Transcoda evaluation suite alongside btrkeks/verovio-synth-omr and the btrkeks/transcoda-59M-zeroshot-v1 model.

Intended Use

Evaluation only. Do not include in training data.

In the Transcoda paper and benchmarks, no Polish samples are used for model training or selection — this dataset exists exclusively to measure out-of-distribution OMR performance on real historical scans.

Dataset Structure

A single unsplit table.

Column Type Description
image Image (RGB) Scan of a Polish historical score page, resized to 1485 × 1050 pixels (width × height).
transcription_kern string Ground-truth **kern (Humdrum) transcription.
transcription_xml string Ground-truth MusicXML transcription of the same content.

Image contract: each scan is resized to width 1050 preserving aspect ratio, then bottom-padded with white or top-cropped to height 1485.

Provenance

  1. Upstream: PRAIG/polish-scores (curated by the Pattern Recognition and Artificial Intelligence Group, University of Alicante).
  2. Raw .ekern transcriptions extracted from the upstream dataset.
  3. Converted to standard **kern by stripping the extra .ekern annotation symbols.
  4. Multi-pass normalization (spine cleanup, interpretation spacing repair, rest folding, etc.).
  5. Manual curation pass to fix transcription errors discovered during benchmark validation.
  6. Images resized to the 1485 × 1050 page contract.

Loading

from datasets import load_dataset

ds = load_dataset("btrkeks/polish-scores")
sample = ds["train"][0]
sample["image"]                 # PIL.Image, 1050 × 1485
sample["transcription_kern"]    # str (**kern)
sample["transcription_xml"]     # str (MusicXML)

Benchmark Numbers

OMR-NED on this dataset (lower is better):

Model Params OMR-NED ↓
SMT++ 11M 80.16%
Legato 943M 86.73%
Transcoda 59M (beam search) 59M 63.97%
Transcoda FCMAE + ConvNeXt-V2-Base 120M 60.7%

See scripts/benchmark/README.md in the project repository for reproduction commands and full ablations.

License

The upstream PRAIG/polish-scores dataset does not declare a license at the time of this writing. This derivative is therefore released under license: other until upstream terms are clarified.

If you intend to redistribute or use this data commercially, please contact PRAIG (University of Alicante) directly about the original scans, and treat this card's other license as a placeholder rather than a grant.

Limitations

  • Small (112 samples) — high per-sample variance in metrics; use as a qualitative OOD probe, not a high-precision leaderboard.
  • Historical scans include genuine degradation (paper aging, ink bleed, faint staves, hand-written annotations).
  • Manual curation was applied; transcriptions reflect the curator's reading, not necessarily the upstream PRAIG ground truth.

Citation

Please cite both the upstream PRAIG dataset and the Transcoda paper when using this benchmark:

@misc{dratschuk2026transcodaendtoendzeroshotoptical,
      title={Transcoda: End-to-End Zero-Shot Optical Music Recognition via Data-Centric Synthetic Training},
      author={Daniel Dratschuk and Paul Swoboda},
      year={2026},
      eprint={2605.10835},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2605.10835},
}

@misc{praig_polish_scores,
  title  = {Polish Scores Dataset},
  author = {Pattern Recognition and Artificial Intelligence Group (PRAIG)},
  howpublished = {\url{https://huggingface.co/datasets/PRAIG/polish-scores}}
}
Downloads last month
62

Models trained or fine-tuned on btrkeks/polish-scores

Paper for btrkeks/polish-scores