Instructions to use hf-internal-testing/tiny-random-SpeechT5ForTextToSpeech with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-SpeechT5ForTextToSpeech 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-SpeechT5ForTextToSpeech")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForTextToSpectrogram processor = AutoProcessor.from_pretrained("hf-internal-testing/tiny-random-SpeechT5ForTextToSpeech") model = AutoModelForTextToSpectrogram.from_pretrained("hf-internal-testing/tiny-random-SpeechT5ForTextToSpeech", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update tiny models for SpeechT5ForTextToSpeech
Upload tiny models for SpeechT5ForTextToSpeechf2f9d11
-
Upload tiny models for SpeechT5ForTextToSpeech
922e748 -
initial commit
0d326e0