Instructions to use pbotsaris/musicgen-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pbotsaris/musicgen-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="pbotsaris/musicgen-small")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("pbotsaris/musicgen-small") model = AutoModelForTextToWaveform.from_pretrained("pbotsaris/musicgen-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download state_dict.bin from pbotsaris/musicgen-small: direct link, hf CLI and curl.
- Browser
- Download file 841 MB
-
https://huggingface.co/pbotsaris/musicgen-small/resolve/main/state_dict.bin
- Command line
-
hf download hf://pbotsaris/musicgen-small/state_dict.bin
-
curl -L -o state_dict.bin https://huggingface.co/pbotsaris/musicgen-small/resolve/main/state_dict.bin
841 MB
- Xet hash:
- 1f82d413df5d00e3958dc30d9ff692abc5b58603b970236ba2d1523b58d3dc49
- Size of remote file:
- 841 MB
- SHA256:
- 830fe5771e2835cbd305f3ffdda22d3ff38718fbbe8274bd19dc203265de7244
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.