Run this model with HF Jobs
Run hf-internal-testing/tiny-random-MusicgenForConditionalGeneration 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/hf-internal-testing/tiny-random-MusicgenForConditionalGeneration. 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/hf-internal-testing/tiny-random-MusicgenForConditionalGeneration 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 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/76fd55a7824910aaa531ba5ee515d08fa779885f/onnx/decoder_model.onnx
- Command line
-
hf download hf://hf-internal-testing/tiny-random-MusicgenForConditionalGeneration@76fd55a7824910aaa531ba5ee515d08fa779885f/onnx/decoder_model.onnx
-
curl -L -o decoder_model.onnx https://huggingface.co/hf-internal-testing/tiny-random-MusicgenForConditionalGeneration/resolve/76fd55a7824910aaa531ba5ee515d08fa779885f/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.