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
[Awaiting approval] Upload ONNX weights
Browse files[Automated] Converted using [Optimum](https://github.com/huggingface/optimum). Models will be merged manually by @Xenova once they have been checked with [Transformers.js](https://github.com/xenova/transformers.js).
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:097253046394aa0915ec8c69bbf924cdd96f87698095da0e47a793bd2dee368asize 790350123version 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