Instructions to use thoth-AI/testing-TTS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thoth-AI/testing-TTS with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="thoth-AI/testing-TTS")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForTextToSpectrogram processor = AutoProcessor.from_pretrained("thoth-AI/testing-TTS") model = AutoModelForTextToSpectrogram.from_pretrained("thoth-AI/testing-TTS", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from thoth-AI/testing-TTS: direct link, hf CLI and curl.
- Browser
- Download file 272 Bytes
-
https://huggingface.co/thoth-AI/testing-TTS/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://thoth-AI/testing-TTS/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/thoth-AI/testing-TTS/resolve/main/tokenizer_config.json
272 Bytes
| { | |
| "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>" | |
| } | |