Update README.md
Browse files
README.md
CHANGED
|
@@ -1,24 +1,83 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-4.0
|
| 3 |
-
dataset_info:
|
| 4 |
-
features:
|
| 5 |
-
- name: id
|
| 6 |
-
dtype: string
|
| 7 |
-
- name: start_time
|
| 8 |
-
dtype: int32
|
| 9 |
-
- name: question
|
| 10 |
-
dtype: string
|
| 11 |
-
- name: answer
|
| 12 |
-
dtype: string
|
| 13 |
-
splits:
|
| 14 |
-
- name: train
|
| 15 |
-
num_bytes: 10915894
|
| 16 |
-
num_examples: 5873
|
| 17 |
-
download_size: 3025628
|
| 18 |
-
dataset_size: 10915894
|
| 19 |
-
configs:
|
| 20 |
-
- config_name: default
|
| 21 |
-
data_files:
|
| 22 |
-
- split: train
|
| 23 |
-
path: data/train-*
|
| 24 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
dataset_info:
|
| 4 |
+
features:
|
| 5 |
+
- name: id
|
| 6 |
+
dtype: string
|
| 7 |
+
- name: start_time
|
| 8 |
+
dtype: int32
|
| 9 |
+
- name: question
|
| 10 |
+
dtype: string
|
| 11 |
+
- name: answer
|
| 12 |
+
dtype: string
|
| 13 |
+
splits:
|
| 14 |
+
- name: train
|
| 15 |
+
num_bytes: 10915894
|
| 16 |
+
num_examples: 5873
|
| 17 |
+
download_size: 3025628
|
| 18 |
+
dataset_size: 10915894
|
| 19 |
+
configs:
|
| 20 |
+
- config_name: default
|
| 21 |
+
data_files:
|
| 22 |
+
- split: train
|
| 23 |
+
path: data/train-*
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
# Maestro ABC Notation 25s Dataset
|
| 27 |
+
|
| 28 |
+
## Dataset Summary
|
| 29 |
+
|
| 30 |
+
This is based on V3.0.0 of the Maestro dataset.
|
| 31 |
+
|
| 32 |
+
The **Maestro ABC Notation 25s Dataset** is a curated collection of question-and-answer pairs derived from short audio clips within the [MAESTRO dataset](https://magenta.tensorflow.org/datasets/maestro). Each entry in the dataset includes:
|
| 33 |
+
|
| 34 |
+
- An `id` corresponding to the original audio file.
|
| 35 |
+
- A `start_time` marking where the 25-second audio clip begins within the full track.
|
| 36 |
+
- A `question` designed to prompt music transcription in ABC notation.
|
| 37 |
+
- An `answer` that provides the transcription in ABC notation format.
|
| 38 |
+
|
| 39 |
+
This dataset is crafted for training multi-modal audio-language models (such as [Spotify Llark](https://research.atspotify.com/2023/10/llark-a-multimodal-foundation-model-for-music/) and [Qwen2-Audio](https://github.com/QwenLM/Qwen2-Audio)) with a focus on music transcription tasks. The MIDI-to-ABC conversion is achieved with a modified script based on [this code](https://github.com/jwdj/EasyABC/blob/master/midi2abc.py).
|
| 40 |
+
|
| 41 |
+
### Why ABC Notation?
|
| 42 |
+
|
| 43 |
+
ABC notation was chosen due to several advantages:
|
| 44 |
+
|
| 45 |
+
- **Simplicity**: ABC is a concise, text-based music notation, which makes it easier for text-based models to parse.
|
| 46 |
+
- **Compatibility**: It’s a widely recognized format that many language models have already been trained on.
|
| 47 |
+
- **Flexibility**: ABC notation can be extended to include additional musical information, such as tempo changes, time signature adjustments, and specific playing styles.
|
| 48 |
+
|
| 49 |
+
### Dataset Modifications for ABC Notation
|
| 50 |
+
|
| 51 |
+
- Assigned default octave ranges based on the common play ranges of piano keys to streamline the notation and reduce redundancy.
|
| 52 |
+
- Excluded pieces with significant time signature changes or tempo fluctuations (over 10 BPM) for consistency.
|
| 53 |
+
- Removed sections with silence to ensure active musical content in each sample.
|
| 54 |
+
|
| 55 |
+
## Licensing Information
|
| 56 |
+
|
| 57 |
+
- **MAESTRO Dataset**: The audio files are sourced from the MAESTRO dataset, licensed under the Creative Commons Attribution Non-Commercial Share-Alike 4.0 license. Please refer to the [MAESTRO dataset page](https://magenta.tensorflow.org/datasets/maestro) for full licensing details.
|
| 58 |
+
|
| 59 |
+
## Citation Information
|
| 60 |
+
|
| 61 |
+
If you utilize this dataset, please cite it as follows:
|
| 62 |
+
|
| 63 |
+
```bibtex
|
| 64 |
+
@dataset{maestro_abc_notation_25s_2024,
|
| 65 |
+
title={MAESTRO ABC Notation Dataset},
|
| 66 |
+
author={Jon Flynn},
|
| 67 |
+
year={2024},
|
| 68 |
+
howpublished={\url{https://huggingface.co/datasets/jonflynn/maestro_abc_notation_25s}},
|
| 69 |
+
note={ABC notation for the MAESTRO dataset split into 25-second segments},
|
| 70 |
+
}
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
For the original MAESTRO dataset, please cite the following:
|
| 74 |
+
|
| 75 |
+
```bibtex
|
| 76 |
+
@inproceedings{hawthorne2018enabling,
|
| 77 |
+
title={Enabling Factorized Piano Music Modeling and Generation with the {MAESTRO} Dataset},
|
| 78 |
+
author={Curtis Hawthorne and Andriy Stasyuk and Adam Roberts and Ian Simon and Cheng-Zhi Anna Huang and Sander Dieleman and Erich Elsen and Jesse Engel and Douglas Eck},
|
| 79 |
+
booktitle={International Conference on Learning Representations},
|
| 80 |
+
year={2019},
|
| 81 |
+
url={https://openreview.net/forum?id=r1lYRjC9F7},
|
| 82 |
+
}
|
| 83 |
+
```
|