Instructions to use hf-internal-testing/tiny-random-MusicgenMelodyForConditionalGeneration with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-MusicgenMelodyForConditionalGeneration 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-MusicgenMelodyForConditionalGeneration")# Load model directly from transformers import AutoTokenizer, AutoModelForTextToWaveform tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-MusicgenMelodyForConditionalGeneration") model = AutoModelForTextToWaveform.from_pretrained("hf-internal-testing/tiny-random-MusicgenMelodyForConditionalGeneration") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- f312cde9472aab2e20821bd0781c10d323f8da4dbd5ca9a507eea070f035f32e
- Size of remote file:
- 4.89 MB
- SHA256:
- 829c6b6c0ba694110c5804f22a5769d669aafb00b149f628ddc6ca57912026f8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.