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
File size: 132 Bytes
7318363 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:fd7867985a9ba34c096363199be7b9cb1e3d00f6468f3d456fd67ab67f552af2
size 4887976
|