Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,43 +1,65 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
-
|
| 5 |
-
|
| 6 |
-
-
|
| 7 |
-
|
| 8 |
-
-
|
| 9 |
-
|
| 10 |
-
-
|
| 11 |
-
|
| 12 |
-
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
- name: instruments
|
| 17 |
-
list: string
|
| 18 |
-
- name: page
|
| 19 |
-
dtype: int64
|
| 20 |
-
- name: n_pages
|
| 21 |
-
dtype: int64
|
| 22 |
-
splits:
|
| 23 |
-
- name: train
|
| 24 |
-
num_bytes: 637321476
|
| 25 |
-
num_examples: 8447
|
| 26 |
-
- name: dev
|
| 27 |
-
num_bytes: 41652427
|
| 28 |
-
num_examples: 584
|
| 29 |
-
- name: test
|
| 30 |
-
num_bytes: 19547420
|
| 31 |
-
num_examples: 271
|
| 32 |
-
download_size: 637847338
|
| 33 |
-
dataset_size: 698521323
|
| 34 |
-
configs:
|
| 35 |
-
- config_name: default
|
| 36 |
-
data_files:
|
| 37 |
-
- split: train
|
| 38 |
-
path: data/train-*
|
| 39 |
-
- split: dev
|
| 40 |
-
path: data/dev-*
|
| 41 |
-
- split: test
|
| 42 |
-
path: data/test-*
|
| 43 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
- lilypond
|
| 14 |
+
size_categories:
|
| 15 |
+
- 1K<n<10K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
---
|
| 17 |
+
|
| 18 |
+
# OpenScore — Full-Page Score Images
|
| 19 |
+
|
| 20 |
+
Full-page score images rendered from the [OpenScore](https://github.com/OpenScore)
|
| 21 |
+
corpora via [LilyPond](https://lilypond.org), paired with source MusicXML.
|
| 22 |
+
|
| 23 |
+
## Corpora
|
| 24 |
+
|
| 25 |
+
| Corpus | Scores | Staves/system | Source |
|
| 26 |
+
|--------|--------|---------------|--------|
|
| 27 |
+
| Lieder | ~1,460 | 3 (voice + piano) | [OpenScore/Lieder](https://github.com/OpenScore/Lieder) |
|
| 28 |
+
| Quartets | ~122 | 4 (violin I/II + viola + cello) | [OpenScore/StringQuartets](https://github.com/OpenScore/StringQuartets) |
|
| 29 |
+
| Orchestra | ~94 movements | 10–20+ (full orchestra) | [MarkGotham/Hauptstimme](https://github.com/MarkGotham/Hauptstimme) |
|
| 30 |
+
|
| 31 |
+
## Format
|
| 32 |
+
|
| 33 |
+
```python
|
| 34 |
+
{
|
| 35 |
+
"image": PIL.Image, # full-page score render (LilyPond Emmentaler font)
|
| 36 |
+
"score_id": str, # e.g. "lc6583477"
|
| 37 |
+
"composer": str,
|
| 38 |
+
"opus": str,
|
| 39 |
+
"title": str,
|
| 40 |
+
"corpus": str, # "lieder" or "quartets"
|
| 41 |
+
"instruments": list[str],
|
| 42 |
+
"page": int, # 1-indexed
|
| 43 |
+
"n_pages": int,
|
| 44 |
+
}
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
## Usage
|
| 48 |
+
|
| 49 |
+
```python
|
| 50 |
+
from datasets import load_dataset
|
| 51 |
+
ds = load_dataset("zzsi/openscore")
|
| 52 |
+
example = ds["train"][0]
|
| 53 |
+
example["image"].show()
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
## License
|
| 57 |
+
|
| 58 |
+
Source scores: [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
|
| 59 |
+
LilyPond renders: same license as source scores.
|
| 60 |
+
|
| 61 |
+
## Attribution
|
| 62 |
+
|
| 63 |
+
- OpenScore Lieder corpus: https://github.com/OpenScore/Lieder
|
| 64 |
+
- OpenScore String Quartets: https://github.com/OpenScore/StringQuartets
|
| 65 |
+
- OpenScore Orchestra (Hauptstimme): https://github.com/MarkGotham/Hauptstimme
|