Instructions to use facebook/musicgen-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/musicgen-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="facebook/musicgen-small")# Load model directly from transformers import AutoTokenizer, AutoModelForTextToWaveform tokenizer = AutoTokenizer.from_pretrained("facebook/musicgen-small") model = AutoModelForTextToWaveform.from_pretrained("facebook/musicgen-small") - Notebooks
- Google Colab
- Kaggle
Update pipeline name `Text-to-Speech` -> `Text-to-Audio`
#21
by reach-vb - opened
README.md
CHANGED
|
@@ -3,7 +3,7 @@ inference: true
|
|
| 3 |
tags:
|
| 4 |
- musicgen
|
| 5 |
license: cc-by-nc-4.0
|
| 6 |
-
pipeline_tag: text-to-
|
| 7 |
---
|
| 8 |
|
| 9 |
# MusicGen - Small - 300M
|
|
|
|
| 3 |
tags:
|
| 4 |
- musicgen
|
| 5 |
license: cc-by-nc-4.0
|
| 6 |
+
pipeline_tag: text-to-audio
|
| 7 |
---
|
| 8 |
|
| 9 |
# MusicGen - Small - 300M
|