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:
- 1462675ef69cdeb22c355e9d8d5c8a8c38e1d41f953d4dfaaddfb783a52d4322
- Size of remote file:
- 4.89 MB
- SHA256:
- a12244de1ddfab300fe03fa92f9f998887678225a5dff04b10aac96d6d2af2fd
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.