Instructions to use facebook/musicgen-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/musicgen-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="facebook/musicgen-large")# Load model directly from transformers import AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("facebook/musicgen-large") model = AutoModelForTextToWaveform.from_pretrained("facebook/musicgen-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
add `inference: false` tag
#7
by reach-vb - opened
Since MusicGen is not supported via the inference widget yet. It's reasonable to disable the inference widget.
patrickvonplaten changed pull request status to merged
Why is it not supported? It's the same as TTS no? Text input -> audio output? We should just update the task tag from text-2-text-generation to text-to-speech