Instructions to use jauntybrain/musicgen-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jauntybrain/musicgen-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="jauntybrain/musicgen-small")# Load model directly from transformers import AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("jauntybrain/musicgen-small") model = AutoModelForTextToWaveform.from_pretrained("jauntybrain/musicgen-small") - Notebooks
- Google Colab
- Kaggle
| transformers==4.31.0 | |
| accelerate>=0.20.3 | |
| wave>=0.0.2 | |