Update README.md
Browse files
README.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
| 1 |
---
|
| 2 |
-
language: en
|
| 3 |
-
library_name: audiocraft
|
| 4 |
-
tags:
|
| 5 |
-
- text-to-audio
|
| 6 |
-
- musicgen
|
| 7 |
inference: true
|
| 8 |
pipeline_tag: text-to-audio
|
|
|
|
| 9 |
widget:
|
| 10 |
- text: hip hop, soul, piano, chords, jazz, neo jazz, G# minor, 140 bpm
|
| 11 |
example_title: Prompt 1
|
| 12 |
- text: music, hip hop, soul, rnb, neo soul, C# major, 80 bpm
|
| 13 |
example_title: Prompt 2
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
-
# Model Card for songstarter-v0.1
|
| 17 |
|
| 18 |
-
songstarter-v0.1 is a MusicGen 32k model fine-tuned on a dataset of hip-hop/rap/trap/rnb/soul melody loops. It's intended to be used to generate song ideas that are useful for music producers.
|
| 19 |
|
| 20 |
This is a proof of concept. Hopefully, we will be able to collect more data and train a better models in the future.
|
| 21 |
|
|
@@ -32,7 +32,7 @@ Then, you should be able to load this model just like any other musicgen checkpo
|
|
| 32 |
```python
|
| 33 |
from audiocraft.models import musicgen
|
| 34 |
|
| 35 |
-
model = musicgen.MusicGen.get_pretrained('nateraw/songstarter-v0.1', device='cuda')
|
| 36 |
```
|
| 37 |
|
| 38 |
To generate and save audio samples, you can do:
|
|
@@ -45,7 +45,7 @@ from audiocraft.models import musicgen
|
|
| 45 |
from audiocraft.data.audio import audio_write
|
| 46 |
from audiocraft.utils.notebook import display_audio
|
| 47 |
|
| 48 |
-
model = musicgen.MusicGen.get_pretrained('nateraw/songstarter-v0.1', device='cuda')
|
| 49 |
|
| 50 |
# path to save our samples.
|
| 51 |
out_dir = Path("./samples")
|
|
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
inference: true
|
| 3 |
pipeline_tag: text-to-audio
|
| 4 |
+
library_name: audiocraft
|
| 5 |
widget:
|
| 6 |
- text: hip hop, soul, piano, chords, jazz, neo jazz, G# minor, 140 bpm
|
| 7 |
example_title: Prompt 1
|
| 8 |
- text: music, hip hop, soul, rnb, neo soul, C# major, 80 bpm
|
| 9 |
example_title: Prompt 2
|
| 10 |
+
language: en
|
| 11 |
+
tags:
|
| 12 |
+
- text-to-audio
|
| 13 |
+
- musicgen
|
| 14 |
---
|
| 15 |
|
| 16 |
+
# Model Card for musicgen-songstarter-v0.1
|
| 17 |
|
| 18 |
+
musicgen-songstarter-v0.1 is a MusicGen 32k model fine-tuned on a dataset of hip-hop/rap/trap/rnb/soul melody loops. It's intended to be used to generate song ideas that are useful for music producers.
|
| 19 |
|
| 20 |
This is a proof of concept. Hopefully, we will be able to collect more data and train a better models in the future.
|
| 21 |
|
|
|
|
| 32 |
```python
|
| 33 |
from audiocraft.models import musicgen
|
| 34 |
|
| 35 |
+
model = musicgen.MusicGen.get_pretrained('nateraw/musicgen-songstarter-v0.1', device='cuda')
|
| 36 |
```
|
| 37 |
|
| 38 |
To generate and save audio samples, you can do:
|
|
|
|
| 45 |
from audiocraft.data.audio import audio_write
|
| 46 |
from audiocraft.utils.notebook import display_audio
|
| 47 |
|
| 48 |
+
model = musicgen.MusicGen.get_pretrained('nateraw/musicgen-songstarter-v0.1', device='cuda')
|
| 49 |
|
| 50 |
# path to save our samples.
|
| 51 |
out_dir = Path("./samples")
|