Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
937
4.12k
lmx
stringlengths
198
5.89k
musicxml
stringlengths
2.12k
109k
score_id
stringlengths
7
7
page_system
stringclasses
88 values
source
stringclasses
1 value
split
stringclasses
1 value
measure key:fifths:-1 clef:G2 staff:1 clef:F4 staff:2 D4 voice:1 quarter stem:up staff:1 chord G4 quarter F4 eighth beam:begin chord A4 eighth E4 eighth chord B4 eighth C5 eighth C5 eighth beam:end backup half backup quarter forward half F4 voice:2 quarter stem:down staff:1 backup half backup quarter B3 voice:5 quarter...
<?xml version='1.0' encoding='utf-8'?> <score-partwise version="3.1"><part-list><score-part id="P2"><part-name>Piano</part-name></score-part></part-list><part id="P2"><measure number="38" width="421.63"> <print> <staff-layout number="1"> <staff-distance>113.22</staff-distance> </staff-...
6583477
p3-s4
synthetic
train
measure key:fifths:-1 clef:G2 staff:1 clef:F4 staff:2 D4 voice:1 eighth stem:up staff:1 beam:begin chord G4 eighth D4 eighth beam:end chord G4 eighth sharp chord D5 eighth C4 half sharp chord A4 half chord C5 half sharp backup half backup quarter F3 voice:5 eighth stem:up staff:2 beam:begin E3 eighth beam:end E3 half b...
<?xml version='1.0' encoding='utf-8'?> <score-partwise version="3.1"><part-list><score-part id="P2"><part-name>Piano</part-name></score-part></part-list><part id="P2"><measure number="35" width="451.13"> <print> <staff-layout number="1"> <staff-distance>80.87</staff-distance> </staff-l...
6583477
p3-s3
synthetic
train
measure key:fifths:-1 clef:G2 staff:1 clef:F4 staff:2 D4 voice:1 quarter stem:up staff:1 C4 eighth sharp beam:begin D4 eighth E4 eighth D4 eighth beam:end backup half backup quarter B3 voice:2 half dot stem:down staff:1 backup half backup quarter G3 voice:5 quarter stem:up staff:2 E3 eighth beam:begin F3 eighth G3 eigh...
<?xml version='1.0' encoding='utf-8'?> <score-partwise version="3.1"><part-list><score-part id="P2"><part-name>Piano</part-name></score-part></part-list><part id="P2"><measure number="10" width="421.38"> <print> <staff-layout number="1"> <staff-distance>109.86</staff-distance> </staff-...
6583477
p1-s3
synthetic
train
measure key:fifths:-1 clef:G2 staff:1 clef:F4 staff:2 E4 voice:1 quarter stem:up staff:1 chord B4 quarter D4 quarter dot chord B4 quarter dot C4 eighth chord B4 eighth backup half backup quarter C3 voice:5 quarter stem:down staff:2 chord G3 quarter C3 quarter dot chord F3 quarter dot C3 eighth chord E3 eighth measure C...
<?xml version='1.0' encoding='utf-8'?> <score-partwise version="3.1"><part-list><score-part id="P2"><part-name>Piano</part-name></score-part></part-list><part id="P2"><measure number="32" width="456.24"> <print> <staff-layout number="1"> <staff-distance>111.98</staff-distance> </staff-...
6583477
p3-s2
synthetic
train
measure key:fifths:-1 clef:G2 staff:1 clef:F4 staff:2 A3 voice:1 quarter stem:up staff:1 chord C4 quarter G3 eighth sharp beam:begin chord B3 eighth natural A3 eighth chord C4 eighth G3 eighth sharp chord D4 eighth A3 eighth beam:end chord C4 eighth backup half backup quarter F2 voice:5 quarter stem:up staff:2 chord F3...
<?xml version='1.0' encoding='utf-8'?> <score-partwise version="3.1"><part-list><score-part id="P2"><part-name>Piano</part-name></score-part></part-list><part id="P2"><measure number="6" width="418.26"> <print> <staff-layout number="1"> <staff-distance>115.55</staff-distance> </staff-l...
6583477
p1-s2
synthetic
train
measure key:fifths:-1 clef:G2 staff:1 clef:F4 staff:2 A3 voice:1 quarter stem:up staff:1 chord C4 quarter D4 eighth beam:begin E4 eighth beam:end F4 quarter backup half backup quarter forward quarter B3 voice:2 quarter stem:down staff:1 C4 eighth beam:begin C4 eighth sharp beam:end backup half backup quarter F3 voice:5...
<?xml version='1.0' encoding='utf-8'?> <score-partwise version="3.1"><part-list><score-part id="P2"><part-name>Piano</part-name></score-part></part-list><part id="P2"><measure number="14" width="402.30"> <print> <staff-layout number="1"> <staff-distance>102.36</staff-distance> </staff-...
6583477
p2-s1
synthetic
train
measure key:fifths:-1 time beats:3 beat-type:4 clef:G2 staff:1 clef:F4 staff:2 F4 voice:1 quarter stem:down staff:1 slur:start chord A4 quarter chord F5 quarter E5 eighth stem:up beam:begin D5 eighth beam:end F4 eighth beam:begin chord C5 eighth E4 eighth flat beam:end chord A4 eighth chord E5 eighth flat backup half b...
<?xml version='1.0' encoding='utf-8'?> <score-partwise version="3.1"><part-list><score-part id="P2"><part-name>Piano</part-name></score-part></part-list><part id="P2"><measure number="1" width="317.60"> <print> <staff-layout number="1"> <staff-distance>0.00</staff-distance> </staff-lay...
6583477
p1-s1
synthetic
train
measure key:fifths:-1 clef:G2 staff:1 clef:F4 staff:2 D4 voice:1 quarter stem:up staff:1 chord G4 quarter F4 eighth beam:begin chord A4 eighth E4 eighth chord B4 eighth F4 eighth chord C5 eighth F4 eighth beam:end backup half backup quarter forward quarter C4 voice:2 quarter stem:down staff:1 C4 quarter backup half bac...
<?xml version='1.0' encoding='utf-8'?> <score-partwise version="3.1"><part-list><score-part id="P2"><part-name>Piano</part-name></score-part></part-list><part id="P2"><measure number="18" width="409.60"> <print> <staff-layout number="1"> <staff-distance>121.03</staff-distance> </staff-...
6583477
p2-s2
synthetic
train
measure key:fifths:-1 clef:G2 staff:1 clef:F4 staff:2 rest voice:1 eighth staff:1 G3 eighth stem:up beam:begin slur:start chord B3 eighth G3 eighth chord B3 eighth chord D4 eighth B3 eighth chord D4 eighth chord G4 eighth C4 eighth chord A4 eighth B3 eighth beam:end chord G4 eighth backup half backup quarter forward ha...
<?xml version='1.0' encoding='utf-8'?> <score-partwise version="3.1"><part-list><score-part id="P2"><part-name>Piano</part-name></score-part></part-list><part id="P2"><measure number="29" width="422.17"> <print> <staff-layout number="1"> <staff-distance>152.04</staff-distance> </staff-...
6583477
p3-s1
synthetic
train
measure key:fifths:-1 clef:G2 staff:1 clef:F4 staff:2 A4 voice:1 quarter stem:up staff:1 chord C5 quarter G4 eighth sharp beam:begin slur:start chord D5 eighth A4 eighth chord C5 eighth G4 eighth chord B4 eighth natural A4 eighth beam:end slur:stop chord C5 eighth backup half backup quarter F4 voice:2 half dot stem:dow...
<?xml version='1.0' encoding='utf-8'?> <score-partwise version="3.1"><part-list><score-part id="P2"><part-name>Piano</part-name></score-part></part-list><part id="P2"><measure number="26" width="481.14"> <print> <staff-layout number="1"> <staff-distance>123.02</staff-distance> </staff-...
6583477
p2-s4
synthetic
train
End of preview. Expand in Data Studio

OLiMPiC — OpenScore Lieder Linearized MusicXML Piano Corpus

A HuggingFace-formatted mirror of the OLiMPiC dataset for end-to-end optical music recognition of pianoform music.

Dataset description

OLiMPiC provides system-level (one staff row) crops of piano scores paired with ground-truth annotations in Linearized MusicXML (LMX) format. Each sample is one system — the smallest unit that makes musical sense for training sequence models.

  • Synthetic variant: 17,945 rendered systems (train/dev/test)
  • Scanned variant: ~2,900 real IMSLP scans (dev/test only)
  • Source: OpenScore Lieder corpus (1,356 manually verified scores)

Format

{
    "image":       PIL.Image,   # system-level crop (one row of grand staff)
    "lmx":         str,         # Linearized MusicXML token sequence
    "musicxml":    str,         # full MusicXML for this system
    "score_id":    str,         # OpenScore score identifier
    "page_system": str,         # e.g. "p2-s3" (page 2, system 3)
    "source":      str,         # "synthetic" or "scanned"
    "split":       str,         # "train", "dev", or "test"
}

Usage

from datasets import load_dataset

ds = load_dataset("zzsi/olimpic")
example = ds["train"][0]
print(example["lmx"][:200])
example["image"].show()

License

CC BY-SA 4.0

Attribution

Please cite the original work:

@inproceedings{OLiMPiC,
  title     = {Practical End-to-End Optical Music Recognition for Pianoform Music},
  author    = {Fier, Jiří and Hajič, Jan},
  booktitle = {International Conference on Document Analysis and Recognition (ICDAR)},
  year      = {2024}
}

Original dataset: https://github.com/ufal/olimpic-icdar24 Original authors: Jiří Fier, Jan Hajič (UFAL, Charles University)

Downloads last month
46