admin
		
	commited on
		
		
					Commit 
							
							·
						
						65e30d0
	
1
								Parent(s):
							
							282c7ee
								
add ignore
Browse files- .gitignore +1 -0
 - README.md +42 -0
 
    	
        .gitignore
    ADDED
    
    | 
         @@ -0,0 +1 @@ 
     | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            rename.sh
         
     | 
    	
        README.md
    CHANGED
    
    | 
         @@ -1,3 +1,45 @@ 
     | 
|
| 1 | 
         
             
            ---
         
     | 
| 2 | 
         
             
            license: mit
         
     | 
| 3 | 
         
             
            ---
         
     | 
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
             
            ---
         
     | 
| 2 | 
         
             
            license: mit
         
     | 
| 3 | 
         
             
            ---
         
     | 
| 4 | 
         
            +
             
     | 
| 5 | 
         
            +
            # EMusicGen
         
     | 
| 6 | 
         
            +
            The model weights for generating ABC melodies by emotions.
         
     | 
| 7 | 
         
            +
             
     | 
| 8 | 
         
            +
            ## Demo
         
     | 
| 9 | 
         
            +
            <https://www.modelscope.cn/studios/monetjoe/EMusicGen>
         
     | 
| 10 | 
         
            +
             
     | 
| 11 | 
         
            +
            ## Maintenance
         
     | 
| 12 | 
         
            +
            ```bash
         
     | 
| 13 | 
         
            +
            GIT_LFS_SKIP_SMUDGE=1 git clone https://www.modelscope.cn/monetjoe/EMusicGen.git
         
     | 
| 14 | 
         
            +
            cd EMusicGen
         
     | 
| 15 | 
         
            +
            ```
         
     | 
| 16 | 
         
            +
             
     | 
| 17 | 
         
            +
            ## Fine-tuning results
         
     | 
| 18 | 
         
            +
            | Dataset |                                        Loss curve                                        |     Min eval loss     |
         
     | 
| 19 | 
         
            +
            | :-----: | :--------------------------------------------------------------------------------------: | :-------------------: |
         
     | 
| 20 | 
         
            +
            | VGMIDI  |   | `0.23854530873296725` |
         
     | 
| 21 | 
         
            +
            | EMOPIA  |   | `0.26802811984950936` |
         
     | 
| 22 | 
         
            +
            | Rough4Q |  | `0.2299637847539768`  |
         
     | 
| 23 | 
         
            +
             
     | 
| 24 | 
         
            +
            ## Usage
         
     | 
| 25 | 
         
            +
            ```python
         
     | 
| 26 | 
         
            +
            from modelscope import snapshot_download
         
     | 
| 27 | 
         
            +
             
     | 
| 28 | 
         
            +
            model_dir = snapshot_download("monetjoe/EMusicGen")
         
     | 
| 29 | 
         
            +
            ```
         
     | 
| 30 | 
         
            +
             
     | 
| 31 | 
         
            +
            ## Cite
         
     | 
| 32 | 
         
            +
            ```bibtex
         
     | 
| 33 | 
         
            +
            @article{Zhou2024EMusicGen,
         
     | 
| 34 | 
         
            +
              title     = {EMusicGen: Emotion-Conditioned Melody Generation in ABC Notation},
         
     | 
| 35 | 
         
            +
              author    = {Monan Zhou, Xiaobing Li, Feng Yu and Wei Li},
         
     | 
| 36 | 
         
            +
              month     = {Sep},
         
     | 
| 37 | 
         
            +
              year      = {2024},
         
     | 
| 38 | 
         
            +
              publisher = {GitHub},
         
     | 
| 39 | 
         
            +
              version   = {0.1},
         
     | 
| 40 | 
         
            +
              url       = {https://github.com/monetjoe/EMusicGen}
         
     | 
| 41 | 
         
            +
            }
         
     | 
| 42 | 
         
            +
            ```
         
     | 
| 43 | 
         
            +
             
     | 
| 44 | 
         
            +
            ## Reference
         
     | 
| 45 | 
         
            +
            [1] [Wu, S., & Sun, M. (2023). TunesFormer: Forming Tunes with Control Codes. ArXiv, abs/2301.02884.](https://arxiv.org/pdf/2301.02884)
         
     |