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 onnx/decoder_model.onnx from hf-internal-testing/tiny-random-MusicgenForConditionalGeneration: direct link, hf CLI and curl.
- Browser
- Download file 314 kB
-
https://huggingface.co/hf-internal-testing/tiny-random-MusicgenForConditionalGeneration/resolve/417d79ffd459fe1f1cb9fa7a9fee4e05d241aeaf/onnx/decoder_model.onnx
- Command line
-
hf download hf://hf-internal-testing/tiny-random-MusicgenForConditionalGeneration@417d79ffd459fe1f1cb9fa7a9fee4e05d241aeaf/onnx/decoder_model.onnx
-
curl -L -o decoder_model.onnx https://huggingface.co/hf-internal-testing/tiny-random-MusicgenForConditionalGeneration/resolve/417d79ffd459fe1f1cb9fa7a9fee4e05d241aeaf/onnx/decoder_model.onnx
314 kB
- Xet hash:
- 5ee607ce8b7cbdf94d009474bddeeb83a085909ca394ddb9d1f9e92781e8b55d
- Size of remote file:
- 314 kB
- SHA256:
- c6164a8aa4d7436455bea8e3853befe045d287e25a7acf3e6a8fe8a89c0aa113
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.