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
Upload ONNX weights (#40)
Browse files- [Awaiting approval] Upload ONNX weights (b3b17bc07adce0d4961ec9ab33b89ba9c2d802bf)
- Upload encodec_decode.onnx (c293eab66ad875363f5e8a2e0c892d3f647aa082)
Files changed (5)
- onnx/decoder_model.onnxAdded+3
- onnx/decoder_model_merged.onnxAdded+3
- onnx/decoder_with_past_model.onnxAdded+3
- onnx/encodec_decode.onnxAdded+3
- onnx/text_encoder.onnxAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:c6164a8aa4d7436455bea8e3853befe045d287e25a7acf3e6a8fe8a89c0aa113size 314328123version https://git-lfs.github.com/spec/v1oid sha256:8569b746eed481ac35c6754c802d920c290e3000ec30331b5acb9cd74ed7e0b5size 408207123version https://git-lfs.github.com/spec/v1oid sha256:0f5acf8e1bac381f60ac4292da6185869ee31cd2197e51d40dca3a678944ba31size 287546123version https://git-lfs.github.com/spec/v1oid sha256:59ccf4dbdfde6c9215bbedf093af73eb63536be76b09c3b603eaa958a32a52e3size 818023123version https://git-lfs.github.com/spec/v1oid sha256:01eae7c46860b365f71f3be5f9623160ef24868112fff21d1c287c226409f2d6size 2226379onnx/decoder_model.onnxAdded+3
onnx/decoder_model_merged.onnxAdded+3
onnx/decoder_with_past_model.onnxAdded+3
onnx/encodec_decode.onnxAdded+3
onnx/text_encoder.onnxAdded+3