File size: 1,696 Bytes
282c7ee
 
 
65e30d0
 
 
 
 
 
 
 
 
ccaba32
65e30d0
 
 
 
168b16c
d06fe05
1f7b371
168b16c
 
 
65e30d0
 
 
 
 
 
 
 
 
 
 
 
 
5d613e7
 
 
65e30d0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---

license: mit
---


# EMusicGen
The model weights for generating ABC melodies by emotions.

## Demo
<https://www.modelscope.cn/studios/monetjoe/EMusicGen>

## Maintenance
```bash

git clone git@hf.com:monetjoe/EMusicGen

cd EMusicGen

```

## Fine-tuning results
<style>
    td {

        vertical-align: middle !important;

    }

</style>


| Dataset |                                        Loss curve                                        |     Min eval loss     |
| :-----: | :--------------------------------------------------------------------------------------: | :-------------------: |
| VGMIDI  | ![](https://www.modelscope.cn/models/monetjoe/EMusicGen/resolve/master/vgmidi/loss.jpg)  | `0.23854530873296725` |
| EMOPIA  | ![](https://www.modelscope.cn/models/monetjoe/EMusicGen/resolve/master/emopia/loss.jpg)  | `0.26802811984950936` |
| Rough4Q | ![](https://www.modelscope.cn/models/monetjoe/EMusicGen/resolve/master/rough4q/loss.jpg) | `0.2299637847539768`  |

## Usage
```python

from modelscope import snapshot_download



model_dir = snapshot_download("monetjoe/EMusicGen")

```

## Mirror
<https://www.modelscope.cn/models/monetjoe/EMusicGen>

## Cite
```bibtex

@article{Zhou2024EMusicGen,

  title     = {EMusicGen: Emotion-Conditioned Melody Generation in ABC Notation},

  author    = {Monan Zhou, Xiaobing Li, Feng Yu and Wei Li},

  month     = {Sep},

  year      = {2024},

  publisher = {GitHub},

  version   = {0.1},

  url       = {https://github.com/monetjoe/EMusicGen}

}

```

## Reference
[1] [Wu, S., & Sun, M. (2023). TunesFormer: Forming Tunes with Control Codes. ArXiv, abs/2301.02884.](https://arxiv.org/pdf/2301.02884)