Instructions to use facebook/musicgen-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/musicgen-medium with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="facebook/musicgen-medium")# Load model directly from transformers import AutoTokenizer, AutoModelForTextToWaveform tokenizer = AutoTokenizer.from_pretrained("facebook/musicgen-medium") model = AutoModelForTextToWaveform.from_pretrained("facebook/musicgen-medium") - Notebooks
- Google Colab
- Kaggle
Update TTA widget with example prompts
Browse files
README.md
CHANGED
|
@@ -3,6 +3,14 @@ inference: true
|
|
| 3 |
tags:
|
| 4 |
- musicgen
|
| 5 |
license: cc-by-nc-4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
---
|
| 7 |
|
| 8 |
# MusicGen - Medium - 1.5B
|
|
|
|
| 3 |
tags:
|
| 4 |
- musicgen
|
| 5 |
license: cc-by-nc-4.0
|
| 6 |
+
pipeline_tag: text-to-audio
|
| 7 |
+
widget:
|
| 8 |
+
- text: a funky house with 80s hip hop vibes
|
| 9 |
+
example_title: Prompt 1
|
| 10 |
+
- text: a chill song with influences from lofi, chillstep and downtempo
|
| 11 |
+
example_title: Prompt 2
|
| 12 |
+
- text: a catchy beat for a podcast intro
|
| 13 |
+
example_title: Prompt 3
|
| 14 |
---
|
| 15 |
|
| 16 |
# MusicGen - Medium - 1.5B
|