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") - Notebooks
- Google Colab
- Kaggle
Audiocraft - MusicGen full tutorial for your PC + google colab - can generate 30 seconds
#1
by MonsterMMORPG - opened
Yesterday prepared this very detailed tutorial
Took like 10 hours prepare
Enjoy
And thank you Facebook for being lead in AI with Whisper and this open source model
