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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
---
|
| 5 |
|
| 6 |
-
#
|
| 7 |
-
The
|
| 8 |
-
|
| 9 |
-
## Viewer
|
| 10 |
-
<https://www.modelscope.cn/datasets/monetjoe/EMusicGen/dataPeview>
|
| 11 |
|
| 12 |
## Maintenance
|
| 13 |
```bash
|
| 14 |
-
git clone [email protected]:datasets/monetjoe/
|
| 15 |
-
cd
|
| 16 |
```
|
| 17 |
|
| 18 |
## Usage
|
|
@@ -20,7 +195,7 @@ cd EMusicGen
|
|
| 20 |
from datasets import load_dataset
|
| 21 |
|
| 22 |
# VGMIDI (default) / EMOPIA / Rough4Q subset
|
| 23 |
-
ds = load_dataset("monetjoe/
|
| 24 |
for item in ds["train"]:
|
| 25 |
print(item)
|
| 26 |
|
|
@@ -28,7 +203,7 @@ for item in ds["test"]:
|
|
| 28 |
print(item)
|
| 29 |
|
| 30 |
# Analysis subset
|
| 31 |
-
ds = load_dataset("monetjoe/
|
| 32 |
for item in ds:
|
| 33 |
print(item)
|
| 34 |
```
|
|
@@ -70,16 +245,16 @@ for item in ds:
|
|
| 70 |
}
|
| 71 |
</style>
|
| 72 |
|
| 73 |
-
| Feature | Distribution chart
|
| 74 |
-
| :-------: |
|
| 75 |
-
| key |  / EMOPIA / Rough4Q subset
|
| 198 |
+
ds = load_dataset("monetjoe/EMelodyGen", name="VGMIDI")
|
| 199 |
for item in ds["train"]:
|
| 200 |
print(item)
|
| 201 |
|
|
|
|
| 203 |
print(item)
|
| 204 |
|
| 205 |
# Analysis subset
|
| 206 |
+
ds = load_dataset("monetjoe/EMelodyGen", name="Analysis", split="train")
|
| 207 |
for item in ds:
|
| 208 |
print(item)
|
| 209 |
```
|
|
|
|
| 245 |
}
|
| 246 |
</style>
|
| 247 |
|
| 248 |
+
| Feature | Distribution chart |
|
| 249 |
+
| :-------: | :-------------------------------------------------------------------------------------------: |
|
| 250 |
+
| key |  |
|
| 251 |
+
| pitch |  |
|
| 252 |
+
| range |  |
|
| 253 |
+
| pitchSD |  |
|
| 254 |
+
| tempo |  |
|
| 255 |
+
| volume |  |
|
| 256 |
+
| mode |  |
|
| 257 |
+
| direction |  |
|
| 258 |
|
| 259 |
## Processed EMOPIA & VGMIDI
|
| 260 |
The processed EMOPIA and processed VGMIDI datasets will be used to evaluate the error-free rate of music scores generated by fine-tuning the backbone with existing emotion-labeled datasets. Therefore, it is essential to ensure that the processed data is compatible with the input format required by the pre-trained backbone.
|
|
|
|
| 284 |
We discovered that the data were highly imbalanced after processing, with the quantities of Q3 and Q4 labels differing by an order of magnitude from the other categories. To address this imbalance, we performed data augmentation by transposing Q3 and Q4 categories across 15 different keys only. As a result of these processes, we ultimately obtained the Rough4Q dataset, which now comprises approximately 521K samples in total and is split into training and test sets at a 10:1 ratio.
|
| 285 |
|
| 286 |
## Statistics
|
| 287 |
+
| Dataset | Pie chart | Total | Train | Test |
|
| 288 |
+
| :------: | :------------------------------------------------------------------------------------------: | -----: | -----: | ----: |
|
| 289 |
+
| Analysis |  | 1278 | 1278 | - |
|
| 290 |
+
| VGMIDI |  | 9315 | 8383 | 932 |
|
| 291 |
+
| EMOPIA |  | 21480 | 19332 | 2148 |
|
| 292 |
+
| Rough4Q |  | 520673 | 468605 | 52068 |
|
| 293 |
|
| 294 |
## Mirror
|
| 295 |
+
The data processor is also included in <https://www.modelscope.cn/datasets/monetjoe/EMelodyGen>
|
| 296 |
|
| 297 |
+
<!-- ## Cite
|
| 298 |
```bibtex
|
| 299 |
+
@article{Zhou2024EMelodyGen,
|
| 300 |
+
title = {EMelodyGen: Emotion-Conditioned Melody Generation in ABC Notation},
|
| 301 |
author = {Monan Zhou, Xiaobing Li, Feng Yu and Wei Li},
|
| 302 |
month = {Sep},
|
| 303 |
year = {2024},
|
| 304 |
publisher = {GitHub},
|
| 305 |
version = {0.1},
|
| 306 |
+
url = {https://github.com/monetjoe/EMelodyGen}
|
| 307 |
}
|
| 308 |
+
``` -->
|