Instructions to use hf-internal-testing/tiny-random-MusicgenForConditionalGeneration with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-MusicgenForConditionalGeneration with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="hf-internal-testing/tiny-random-MusicgenForConditionalGeneration")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("hf-internal-testing/tiny-random-MusicgenForConditionalGeneration") model = AutoModelForTextToWaveform.from_pretrained("hf-internal-testing/tiny-random-MusicgenForConditionalGeneration", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from hf-internal-testing/tiny-random-MusicgenForConditionalGeneration: direct link, hf CLI and curl.
- Browser
- Download file 6.95 MB
-
https://huggingface.co/hf-internal-testing/tiny-random-MusicgenForConditionalGeneration/resolve/refs%2Fpr%2F39/model.safetensors
- Command line
-
hf download hf://hf-internal-testing/tiny-random-MusicgenForConditionalGeneration@refs/pr/39/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/hf-internal-testing/tiny-random-MusicgenForConditionalGeneration/resolve/refs%2Fpr%2F39/model.safetensors
6.95 MB
- Xet hash:
- 9f9d7356d58918fa010f9d89fb18a651bda21cc2d29fb1638c9db08cf660408f
- Size of remote file:
- 6.95 MB
- SHA256:
- 5573d77091adce9f24c9434d086d47af9bc83adec2b226c544c473f4acf276a0
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.