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