Run this model with HF Jobs
Run facebook/musicgen-small on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/facebook/musicgen-small. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/facebook/musicgen-small on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use facebook/musicgen-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/musicgen-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="facebook/musicgen-small")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("facebook/musicgen-small") model = AutoModelForTextToWaveform.from_pretrained("facebook/musicgen-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download compression_state_dict.bin from facebook/musicgen-small: direct link, hf CLI and curl.
- Browser
- Download file 236 MB
-
https://huggingface.co/facebook/musicgen-small/resolve/main/compression_state_dict.bin
- Command line
-
hf download hf://facebook/musicgen-small/compression_state_dict.bin
-
curl -L -o compression_state_dict.bin https://huggingface.co/facebook/musicgen-small/resolve/main/compression_state_dict.bin
236 MB
- Xet hash:
- aaacdb35624dd83e67ba3ed22af84276f934279d52d9dc3dea662d23fd69e798
- Size of remote file:
- 236 MB
- SHA256:
- 37d256b525d4117f8bbf790ab448a8e9f4746cd401900fe1ae72e154b1513a30
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.