Instructions to use dthomas84/musicgen-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dthomas84/musicgen-medium with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="dthomas84/musicgen-medium")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("dthomas84/musicgen-medium") model = AutoModelForTextToWaveform.from_pretrained("dthomas84/musicgen-medium", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update handler.py
Verified signaturecc7877d -
Update handler.py
Verified signature7f4e651 -
Update handler.py
Verified signaturedffe189 -
Update handler.py
Verified signature348df64 -
Update handler.py
Verified signature3cc2d46
-
Create requirements.txt
7f61c47 -
Create handler.py
0154dfe -
Duplicate from facebook/musicgen-medium
Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>6e245fa