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")# Load model directly from transformers import AutoTokenizer, AutoModelForTextToWaveform tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-MusicgenForConditionalGeneration") model = AutoModelForTextToWaveform.from_pretrained("hf-internal-testing/tiny-random-MusicgenForConditionalGeneration") - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
417d79f | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a741768d14df73e3f80ce2112ca19092cd1455ffe7fe0382eb609df1554040d3
size 6945080
|