Text-to-Speech
Transformers
Safetensors
English
emosphere_pp
feature-extraction
emotional-tts
zero-shot-tts
flow-matching
emosphere
custom_code
Instructions to use RetentionLabs/EmoSphere-PP-16kHz with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RetentionLabs/EmoSphere-PP-16kHz with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="RetentionLabs/EmoSphere-PP-16kHz", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("RetentionLabs/EmoSphere-PP-16kHz", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download processor_config.json from RetentionLabs/EmoSphere-PP-16kHz: direct link, hf CLI and curl.
- Browser
- Download file 1.71 kB
-
https://huggingface.co/RetentionLabs/EmoSphere-PP-16kHz/resolve/main/processor_config.json
- Command line
-
hf download hf://RetentionLabs/EmoSphere-PP-16kHz/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/RetentionLabs/EmoSphere-PP-16kHz/resolve/main/processor_config.json
1.71 kB
| { | |
| "processor_class": "EmoSpherePPProcessor", | |
| "phone_set": [ | |
| "!", | |
| ",", | |
| ".", | |
| ":", | |
| "<BOS>", | |
| "<EOS>", | |
| "?", | |
| "AA1", | |
| "AA2", | |
| "AE1", | |
| "AE2", | |
| "AH0", | |
| "AH1", | |
| "AH2", | |
| "AO0", | |
| "AO1", | |
| "AO2", | |
| "AW0", | |
| "AW1", | |
| "AW2", | |
| "AY0", | |
| "AY1", | |
| "AY2", | |
| "B", | |
| "CH", | |
| "D", | |
| "DH", | |
| "EH0", | |
| "EH1", | |
| "EH2", | |
| "ER0", | |
| "ER1", | |
| "EY0", | |
| "EY1", | |
| "EY2", | |
| "F", | |
| "G", | |
| "HH", | |
| "IH0", | |
| "IH1", | |
| "IH2", | |
| "IY0", | |
| "IY1", | |
| "IY2", | |
| "JH", | |
| "K", | |
| "L", | |
| "M", | |
| "N", | |
| "NG", | |
| "OW0", | |
| "OW1", | |
| "OW2", | |
| "OY1", | |
| "OY2", | |
| "P", | |
| "R", | |
| "S", | |
| "SH", | |
| "T", | |
| "TH", | |
| "UH1", | |
| "UH2", | |
| "UW0", | |
| "UW1", | |
| "UW2", | |
| "V", | |
| "W", | |
| "Y", | |
| "Z", | |
| "ZH", | |
| "|" | |
| ], | |
| "vad_quartiles": { | |
| "neutral": [ | |
| 0.08786924783163853, | |
| 0.18281635027250842 | |
| ], | |
| "angry": [ | |
| 0.29262144907347293, | |
| 0.4512920748760003 | |
| ], | |
| "happy": [ | |
| 0.23541007374705025, | |
| 0.4061585055276832 | |
| ], | |
| "sad": [ | |
| 0.1747908845908132, | |
| 0.3456464010802644 | |
| ], | |
| "surprise": [ | |
| 0.29179362126658487, | |
| 0.4534077316138918 | |
| ] | |
| }, | |
| "vad_centers": { | |
| "neutral": [ | |
| 0.4135, | |
| 0.5169, | |
| 0.362 | |
| ], | |
| "angry": [ | |
| 0.37068613, | |
| 0.4814421, | |
| 0.37709341 | |
| ], | |
| "happy": [ | |
| 0.36792182, | |
| 0.48303542, | |
| 0.34562907 | |
| ], | |
| "sad": [ | |
| 0.48519272, | |
| 0.57727589, | |
| 0.39524114 | |
| ], | |
| "surprise": [ | |
| 0.36877737, | |
| 0.48431942, | |
| 0.36644742 | |
| ] | |
| }, | |
| "auto_map": { | |
| "AutoProcessor": "processing_emosphere_pp.EmoSpherePPProcessor" | |
| }, | |
| "dtype": "float32" | |
| } | |