Instructions to use YeQing/speecht5_tts_commonvioce_zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use YeQing/speecht5_tts_commonvioce_zh with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="YeQing/speecht5_tts_commonvioce_zh")# Load model directly from transformers import AutoProcessor, AutoModelForTextToSpectrogram processor = AutoProcessor.from_pretrained("YeQing/speecht5_tts_commonvioce_zh") model = AutoModelForTextToSpectrogram.from_pretrained("YeQing/speecht5_tts_commonvioce_zh", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 272 Bytes
c2d1e8c | 1 2 3 4 5 6 7 8 9 10 11 12 | {
"bos_token": "<s>",
"clean_up_tokenization_spaces": true,
"eos_token": "</s>",
"model_max_length": 600,
"pad_token": "<pad>",
"processor_class": "SpeechT5Processor",
"sp_model_kwargs": {},
"tokenizer_class": "SpeechT5Tokenizer",
"unk_token": "<unk>"
}
|