Update README.md
Browse filesUpdate README to point to MusicGen's model card.
README.md
CHANGED
@@ -67,17 +67,11 @@ for idx, one_wav in enumerate(wav):
|
|
67 |
|
68 |
## Model details
|
69 |
|
70 |
-
**
|
71 |
|
72 |
-
**
|
73 |
|
74 |
-
**
|
75 |
-
|
76 |
-
**Model type:** MusicGen consists of an EnCodec model for audio tokenization, an auto-regressive language model based on the transformer architecture for music modeling. The model comes in different sizes: 300M, 1.5B and 3.3B parameters ; and two variants: a model trained for text-to-music generation task and a model trained for melody-guided music generation.
|
77 |
-
|
78 |
-
**Paper or resources for more information:** More information can be found in the paper [Simple and Controllable Music Generation][https://arxiv.org/abs/2306.05284].
|
79 |
-
|
80 |
-
**Citation details**:
|
81 |
```
|
82 |
@misc{copet2023simple,
|
83 |
title={Simple and Controllable Music Generation},
|
@@ -89,66 +83,6 @@ for idx, one_wav in enumerate(wav):
|
|
89 |
}
|
90 |
```
|
91 |
|
92 |
-
**License
|
93 |
-
|
94 |
-
**Where to send questions or comments about the model:** Questions and comments about MusicGen can be sent via the [Github repository](https://github.com/facebookresearch/audiocraft) of the project, or by opening an issue.
|
95 |
-
|
96 |
-
## Intended use
|
97 |
-
**Primary intended use:** The primary use of MusicGen is research on AI-based music generation, including:
|
98 |
-
|
99 |
-
- Research efforts, such as probing and better understanding the limitations of generative models to further improve the state of science
|
100 |
-
- Generation of music guided by text or melody to understand current abilities of generative AI models by machine learning amateurs
|
101 |
-
|
102 |
-
**Primary intended users:** The primary intended users of the model are researchers in audio, machine learning and artificial intelligence, as well as amateur seeking to better understand those models.
|
103 |
-
|
104 |
-
**Out-of-scope use cases** The model should not be used on downstream applications without further risk evaluation and mitigation. The model should not be used to intentionally create or disseminate music pieces that create hostile or alienating environments for people. This includes generating music that people would foreseeably find disturbing, distressing, or offensive; or content that propagates historical or current stereotypes.
|
105 |
-
|
106 |
-
## Metrics
|
107 |
-
|
108 |
-
**Models performance measures:** We used the following objective measure to evaluate the model on a standard music benchmark:
|
109 |
-
|
110 |
-
- Frechet Audio Distance computed on features extracted from a pre-trained audio classifier (VGGish)
|
111 |
-
- Kullback-Leibler Divergence on label distributions extracted from a pre-trained audio classifier (PaSST)
|
112 |
-
- CLAP Score between audio embedding and text embedding extracted from a pre-trained CLAP model
|
113 |
-
|
114 |
-
Additionally, we run qualitative studies with human participants, evaluating the performance of the model with the following axes:
|
115 |
-
|
116 |
-
- Overall quality of the music samples;
|
117 |
-
- Text relevance to the provided text input;
|
118 |
-
- Adherence to the melody for melody-guided music generation.
|
119 |
-
|
120 |
-
More details on performance measures and human studies can be found in the paper.
|
121 |
-
|
122 |
-
**Decision thresholds:** Not applicable.
|
123 |
-
|
124 |
-
## Evaluation datasets
|
125 |
-
|
126 |
-
The model was evaluated on the [MusicCaps benchmark](https://www.kaggle.com/datasets/googleai/musiccaps) and on an in-domain held-out evaluation set, with no artist overlap with the training set.
|
127 |
-
|
128 |
-
## Training datasets
|
129 |
-
|
130 |
-
The model was trained using the following sources: the [Meta Music Initiative Sound Collection](https://www.fb.com/sound), [Shutterstock music collection](https://www.shutterstock.com/music) and the [Pond5 music collection](https://www.pond5.com/). See the paper for more details about the training set and corresponding preprocessing.
|
131 |
-
|
132 |
-
## Quantitative analysis
|
133 |
-
|
134 |
-
More information can be found in the paper [Simple and Controllable Music Generation][arxiv], in the Experimental Setup section.
|
135 |
-
|
136 |
-
## Limitations and biases
|
137 |
-
|
138 |
-
**Data:** The data sources used to train the model are created by music professionals and covered by legal agreements with the right holders. The model is trained on 20K hours of data, we believe that scaling the model on larger datasets can further improve the performance of the model.
|
139 |
-
|
140 |
-
**Mitigations:** All vocals have been removed from the data source using a state-of-the-art music source separation method, namely using the open source [Hybrid Transformer for Music Source Separation](https://github.com/facebookresearch/demucs) (HT-Demucs). The model is therefore not able to produce vocals.
|
141 |
-
|
142 |
-
**Limitations:**
|
143 |
-
|
144 |
-
- The model is not able to generate realistic vocals.
|
145 |
-
- The model has been trained with English descriptions and will not perform as well in other languages.
|
146 |
-
- The model does not perform equally well for all music styles and cultures.
|
147 |
-
- The model sometimes generates end of songs, collapsing to silence.
|
148 |
-
- It is sometimes difficult to assess what types of text descriptions provide the best generations. Prompt engineering may be required to obtain satisfying results.
|
149 |
-
|
150 |
-
**Biases:** The source of data is potentially lacking diversity and all music cultures are not equally represented in the dataset. The model may not perform equally well on the wide variety of music genres that exists. The generated samples from the model will reflect the biases from the training data. Further work on this model should include methods for balanced and just representations of cultures, for example, by scaling the training data to be both diverse and inclusive.
|
151 |
-
|
152 |
-
**Risks and harms:** Biases and limitations of the model may lead to generation of samples that may be considered as biased, inappropriate or offensive. We believe that providing the code to reproduce the research and train new models will allow to broaden the application to new and more representative data.
|
153 |
|
154 |
-
**
|
|
|
67 |
|
68 |
## Model details
|
69 |
|
70 |
+
**Model card:** More details on the model can be found in [MusicGen's model card](https://github.com/facebookresearch/audiocraft/blob/main/model_cards/MUSICGEN_MODEL_CARD.md).
|
71 |
|
72 |
+
**Paper or resources for more information:** More information can be found in the paper [Simple and Controllable Music Generation](https://arxiv.org/abs/2306.05284).
|
73 |
|
74 |
+
**Citation details:**
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
```
|
76 |
@misc{copet2023simple,
|
77 |
title={Simple and Controllable Music Generation},
|
|
|
83 |
}
|
84 |
```
|
85 |
|
86 |
+
**License:** Code is released under MIT, model weights are released under CC-BY-NC 4.0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
|
88 |
+
**Where to send questions or comments about the model:** Questions and comments about MusicGen can be sent via the [Github repository](https://github.com/facebookresearch/audiocraft) of the project, or by opening an issue.
|