Instructions to use dthomas84/musicgen-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dthomas84/musicgen-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="dthomas84/musicgen-large")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("dthomas84/musicgen-large") model = AutoModelForTextToWaveform.from_pretrained("dthomas84/musicgen-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from dthomas84/musicgen-large: direct link, hf CLI and curl.
- Browser
- Download file 2.42 MB
-
https://huggingface.co/dthomas84/musicgen-large/resolve/d44fe94de243d289e0c1fb89ddbcfea24beca791/tokenizer.json
- Command line
-
hf download hf://dthomas84/musicgen-large@d44fe94de243d289e0c1fb89ddbcfea24beca791/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/dthomas84/musicgen-large/resolve/d44fe94de243d289e0c1fb89ddbcfea24beca791/tokenizer.json
2.42 MB
File too large to display, you can check the raw version instead.