zzsi commited on
Commit
f267af6
·
verified ·
1 Parent(s): 5239521

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +74 -37
README.md CHANGED
@@ -1,39 +1,76 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: image
5
- dtype: image
6
- - name: lmx
7
- dtype: string
8
- - name: musicxml
9
- dtype: string
10
- - name: score_id
11
- dtype: string
12
- - name: page_system
13
- dtype: string
14
- - name: source
15
- dtype: string
16
- - name: split
17
- dtype: string
18
- splits:
19
- - name: train
20
- num_bytes: 1647853186
21
- num_examples: 15014
22
- - name: dev
23
- num_bytes: 316417090
24
- num_examples: 2876
25
- - name: test
26
- num_bytes: 334323314
27
- num_examples: 2986
28
- download_size: 1715698697
29
- dataset_size: 2298593590
30
- configs:
31
- - config_name: default
32
- data_files:
33
- - split: train
34
- path: data/train-*
35
- - split: dev
36
- path: data/dev-*
37
- - split: test
38
- path: data/test-*
39
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: cc-by-sa-4.0
3
+ task_categories:
4
+ - image-to-text
5
+ language:
6
+ - en
7
+ tags:
8
+ - music
9
+ - optical-music-recognition
10
+ - omr
11
+ - sheet-music
12
+ - musicxml
13
+ - piano
14
+ size_categories:
15
+ - 10K<n<100K
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  ---
17
+
18
+ # OLiMPiC — OpenScore Lieder Linearized MusicXML Piano Corpus
19
+
20
+ A HuggingFace-formatted mirror of the [OLiMPiC dataset](https://github.com/ufal/olimpic-icdar24)
21
+ for end-to-end optical music recognition of pianoform music.
22
+
23
+ ## Dataset description
24
+
25
+ OLiMPiC provides system-level (one staff row) crops of piano scores paired with
26
+ ground-truth annotations in Linearized MusicXML (LMX) format. Each sample is one
27
+ system — the smallest unit that makes musical sense for training sequence models.
28
+
29
+ - **Synthetic variant**: 17,945 rendered systems (train/dev/test)
30
+ - **Scanned variant**: ~2,900 real IMSLP scans (dev/test only)
31
+ - **Source**: OpenScore Lieder corpus (1,356 manually verified scores)
32
+
33
+ ## Format
34
+
35
+ ```python
36
+ {
37
+ "image": PIL.Image, # system-level crop (one row of grand staff)
38
+ "lmx": str, # Linearized MusicXML token sequence
39
+ "musicxml": str, # full MusicXML for this system
40
+ "score_id": str, # OpenScore score identifier
41
+ "page_system": str, # e.g. "p2-s3" (page 2, system 3)
42
+ "source": str, # "synthetic" or "scanned"
43
+ "split": str, # "train", "dev", or "test"
44
+ }
45
+ ```
46
+
47
+ ## Usage
48
+
49
+ ```python
50
+ from datasets import load_dataset
51
+
52
+ ds = load_dataset("zzsi/olimpic")
53
+ example = ds["train"][0]
54
+ print(example["lmx"][:200])
55
+ example["image"].show()
56
+ ```
57
+
58
+ ## License
59
+
60
+ [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
61
+
62
+ ## Attribution
63
+
64
+ Please cite the original work:
65
+
66
+ ```bibtex
67
+ @inproceedings{OLiMPiC,
68
+ title = {Practical End-to-End Optical Music Recognition for Pianoform Music},
69
+ author = {Fier, Jiří and Hajič, Jan},
70
+ booktitle = {International Conference on Document Analysis and Recognition (ICDAR)},
71
+ year = {2024}
72
+ }
73
+ ```
74
+
75
+ Original dataset: <https://github.com/ufal/olimpic-icdar24>
76
+ Original authors: Jiří Fier, Jan Hajič (UFAL, Charles University)