Instructions to use smarters/musicgen-large-csi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use smarters/musicgen-large-csi with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="smarters/musicgen-large-csi")# Load model directly from transformers import AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("smarters/musicgen-large-csi") model = AutoModelForTextToWaveform.from_pretrained("smarters/musicgen-large-csi", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K