Text-to-Speech
Transformers
Safetensors
English
emotra_tts
feature-extraction
emotional-tts
emotion-transition
cosyvoice2
emotra-tts
custom_code
Instructions to use RetentionLabs/EmoTra-TTS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RetentionLabs/EmoTra-TTS with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="RetentionLabs/EmoTra-TTS", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("RetentionLabs/EmoTra-TTS", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from RetentionLabs/EmoTra-TTS: direct link, hf CLI and curl.
- Browser
- Download file 748 Bytes
-
https://huggingface.co/RetentionLabs/EmoTra-TTS/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://RetentionLabs/EmoTra-TTS/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/RetentionLabs/EmoTra-TTS/resolve/main/tokenizer_config.json
748 Bytes
| { | |
| "add_prefix_space": false, | |
| "backend": "tokenizers", | |
| "bos_token": null, | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|endoftext|>", | |
| "errors": "replace", | |
| "extra_special_tokens": [ | |
| "<|im_start|>", | |
| "<|im_end|>", | |
| "<|endofprompt|>", | |
| "[breath]", | |
| "<strong>", | |
| "</strong>", | |
| "[noise]", | |
| "[laughter]", | |
| "[cough]", | |
| "[clucking]", | |
| "[accent]", | |
| "[quick_breath]", | |
| "<laughter>", | |
| "</laughter>", | |
| "[hissing]", | |
| "[sigh]", | |
| "[vocalized-noise]", | |
| "[lipsmack]", | |
| "[mn]" | |
| ], | |
| "is_local": true, | |
| "local_files_only": false, | |
| "model_max_length": 32768, | |
| "pad_token": "<|endoftext|>", | |
| "split_special_tokens": false, | |
| "tokenizer_class": "Qwen2Tokenizer", | |
| "unk_token": null | |
| } | |