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 AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("facebook/musicgen-medium") model = AutoModelForTextToWaveform.from_pretrained("facebook/musicgen-medium", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
#12
by reach-vb - opened
README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
| 2 |
inference: true
|
| 3 |
tags:
|
| 4 |
- musicgen
|
|
|
|
|
|
|
| 5 |
license: cc-by-nc-4.0
|
| 6 |
pipeline_tag: text-to-audio
|
| 7 |
widget:
|
|
|
|
| 2 |
inference: true
|
| 3 |
tags:
|
| 4 |
- musicgen
|
| 5 |
+
- audiocraft
|
| 6 |
+
library_name: transformers
|
| 7 |
license: cc-by-nc-4.0
|
| 8 |
pipeline_tag: text-to-audio
|
| 9 |
widget:
|