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 NOTICE from RetentionLabs/EmoTra-TTS: direct link, hf CLI and curl.
- Browser
- Download file 3.33 kB
-
https://huggingface.co/RetentionLabs/EmoTra-TTS/resolve/main/NOTICE
- Command line
-
hf download hf://RetentionLabs/EmoTra-TTS/NOTICE
-
curl -L -o NOTICE https://huggingface.co/RetentionLabs/EmoTra-TTS/resolve/main/NOTICE
3.33 kB
| EmoTra-TTS reproduction on CosyVoice2-0.5B | |
| Copyright 2026 TICTAP-11 and b-re-w (Retention Labs) | |
| This is a research reproduction of EmoTra-TTS trained by TICTAP-11 and b-re-w. It is not an official | |
| checkpoint of the EmoTra-TTS authors. | |
| Model weights | |
| ------------- | |
| The model weights in this repository (model.safetensors, stage1/, stage2/, speaker_embedding.safetensors, | |
| speech_tokenizer.safetensors) are licensed under CC BY-NC 4.0, for non-commercial academic research, | |
| following the EmoTra-TTS authors' stated intent in the paper's Ethical Statement ("released under an | |
| open-source license ... restricted to non-commercial academic research"). | |
| The weights are fine tuned from FunAudioLLM/CosyVoice2-0.5B (Apache License 2.0, Copyright Alibaba Inc.). | |
| The speech tokenizer weights are read out of speech_tokenizer_v2.onnx of FunAudioLLM/CosyVoice2-0.5B. | |
| The speaker embedding was computed with the CAM++ speaker encoder (funasr/campplus). | |
| Training data: RetentionLabs/emotra-ash-transition-50k, built from yhaha/EmoVoice-DB. | |
| Source code | |
| ----------- | |
| The source code files (*.py) are licensed under the Apache License, Version 2.0, as derived from | |
| EmoTra-TTS and CosyVoice: | |
| - EmoTra-TTS, https://github.com/Liu-Tianchi/EmoTra-TTS (commit 23fe9e4) | |
| Copyright (C) 2026 LightSpeed (Author: Tianchi Liu). Licensed under Apache-2.0. | |
| Tianchi Liu, Zeyang Song, Tianrui Wang, Zhipeng Li, Chenglin Xu, Yiwen Guo. EmoTra-TTS: Smooth | |
| Intra-Utterance Emotion Transitions for Speech Synthesis. EMNLP 2026. | |
| - CosyVoice, https://github.com/FunAudioLLM/CosyVoice | |
| Copyright (c) 2024 Alibaba Inc (authors: Xiang Lyu, Zhihao Du). Licensed under Apache-2.0. | |
| - The CosyVoice2 classes are copied from their transformers port in voicestudio | |
| (https://pypi.org/project/voicestudio/, version 5.18.1), Apache-2.0. | |
| - The EmoTra-TTS port and its training code: Copyright 2026 TICTAP-11 and b-re-w, Apache-2.0. | |
| The upstream EmoTra-TTS README states: "Patent Notice. The core method of EmoTra-TTS has been submitted | |
| for patent protection. Please see the License section for details." | |
| BigVGAN | |
| ------- | |
| The functions dynamic_range_compression and mel_spectrogram in modeling_emotra_tts.py are taken from | |
| BigVGAN (https://github.com/NVIDIA/BigVGAN) under the MIT License: | |
| MIT License | |
| Copyright (c) 2024 NVIDIA CORPORATION. | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: | |
| The above copyright notice and this permission notice shall be included in all | |
| copies or substantial portions of the Software. | |
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
| SOFTWARE. | |