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
Commit ·
b2e988a
1
Parent(s): b71611b
Update tiny models for MusicgenForConditionalGeneration
Browse filesFiles changed (3)
259 unmodified lines260261262263264259 unmodified lines"vocab_size": 99},"torch_dtype": "float32","transformers_version": "4.32.0.dev0"}259 unmodified lines260261262263264259 unmodified lines"vocab_size": 99},"torch_dtype": "float32","transformers_version": "4.33.0.dev0"}
2 unmodified lines345672 unmodified lines"bos_token_id": 99,"decoder_start_token_id": 99,"pad_token_id": 99,"transformers_version": "4.32.0.dev0"}2 unmodified lines345672 unmodified lines"bos_token_id": 99,"decoder_start_token_id": 99,"pad_token_id": 99,"transformers_version": "4.33.0.dev0"}
123version https://git-lfs.github.com/spec/v1oid sha256:27e5470ddc84bcaad00aeecf13d057453e3445385e9075a910f422a06f0378d8size 4963125123version https://git-lfs.github.com/spec/v1oid sha256:3d63b81eda56183045e77a268de3527d768668b87ecf3d3fb58b481cd767576bsize 4963125
config.json+1-1
generation_config.json+1-1
pytorch_model.bin+1-1