Instructions to use sanchit-gandhi/musicgen-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sanchit-gandhi/musicgen-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="sanchit-gandhi/musicgen-small")# Load model directly from transformers import AutoTokenizer, AutoModelForTextToWaveform tokenizer = AutoTokenizer.from_pretrained("sanchit-gandhi/musicgen-small") model = AutoModelForTextToWaveform.from_pretrained("sanchit-gandhi/musicgen-small") - Notebooks
- Google Colab
- Kaggle
No model card
- Downloads last month
- 6