Instructions to use Ekam/Libra-TTS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Ekam/Libra-TTS with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download Ekam/Libra-TTS --local-dir Libra-TTS
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Each sentence in its own language; Mac long-text speed corrected to 44x
Browse files
README.md
CHANGED
|
@@ -62,8 +62,8 @@ Default settings, seed 0, text exactly as written.
|
|
| 62 |
- **Beats Qwen3-TTS 1.7B and 0.6B across their ten languages** (1.77% average error vs 2.75% and 2.62%) at a sixth
|
| 63 |
and a third of their size, and comes in below the 1.9B model it was distilled from (1.91%).
|
| 64 |
- **16 languages**, six more than Qwen3-TTS: adds Arabic, Hindi, Punjabi, Bengali, Urdu and Indonesian.
|
| 65 |
-
- **Fast**: one sentence at a time 7.7x faster than real time on a MacBook Pro and 8.7x on an RTX 3090;
|
| 66 |
-
reading long text on
|
| 67 |
- **Runs everywhere**: Apple silicon (MLX), NVIDIA GPUs on Windows and Linux (PyTorch with CUDA graphs) and any
|
| 68 |
CPU (ONNX Runtime); the live demo reads on a GPU.
|
| 69 |
- **Reads raw text**: numbers, dates, times and currencies need no preprocessing.
|
|
@@ -109,7 +109,8 @@ tts.synthesize("Okay, you win.", voice="jon", style="wry")
|
|
| 109 |
Voices: `nina` (default), `sofia`, `aliya`, `maya`, `omar`, `jon`, `bob`, `sam`.
|
| 110 |
|
| 111 |
Languages: `en zh ja ko de fr es it pt
|
| 112 |
-
ru ar hi pa bn ur id`, detected from the script by default
|
|
|
|
| 113 |
|
| 114 |
Styles: `warm cheerful excited sad frightened calm serious wry tender whispering dramatic documentary`
|
| 115 |
(`pace="slow"` / `"fast"`).
|
|
@@ -160,7 +161,7 @@ Arabic and Indonesian have WERs of 2.34% and 0.86%, respectively. Punjabi, Benga
|
|
| 160 |
| peak memory | **2.0 GB** | 3.8 GB | 5.8 GB |
|
| 161 |
|
| 162 |
20 English sentences of 5-25 s, end to end (text in, 24 kHz audio out); all three on the same MLX engine. Long text
|
| 163 |
-
is read up to 64 utterances at a time: 15 minutes of audio in
|
| 164 |
|
| 165 |
ONNX Runtime on Mac CPU: 2.4x real time.
|
| 166 |
|
|
|
|
| 62 |
- **Beats Qwen3-TTS 1.7B and 0.6B across their ten languages** (1.77% average error vs 2.75% and 2.62%) at a sixth
|
| 63 |
and a third of their size, and comes in below the 1.9B model it was distilled from (1.91%).
|
| 64 |
- **16 languages**, six more than Qwen3-TTS: adds Arabic, Hindi, Punjabi, Bengali, Urdu and Indonesian.
|
| 65 |
+
- **Fast**: one sentence at a time 7.7x faster than real time on a MacBook Pro and 8.7x on an RTX 3090; 44x
|
| 66 |
+
reading long text on a MacBook Pro and 72x on an RTX 3090; 2.4x on a CPU with ONNX.
|
| 67 |
- **Runs everywhere**: Apple silicon (MLX), NVIDIA GPUs on Windows and Linux (PyTorch with CUDA graphs) and any
|
| 68 |
CPU (ONNX Runtime); the live demo reads on a GPU.
|
| 69 |
- **Reads raw text**: numbers, dates, times and currencies need no preprocessing.
|
|
|
|
| 109 |
Voices: `nina` (default), `sofia`, `aliya`, `maya`, `omar`, `jon`, `bob`, `sam`.
|
| 110 |
|
| 111 |
Languages: `en zh ja ko de fr es it pt
|
| 112 |
+
ru ar hi pa bn ur id`, detected sentence by sentence from the script by default, so one text can mix languages (pass `lang` for
|
| 113 |
+
Latin-script languages other than English).
|
| 114 |
|
| 115 |
Styles: `warm cheerful excited sad frightened calm serious wry tender whispering dramatic documentary`
|
| 116 |
(`pace="slow"` / `"fast"`).
|
|
|
|
| 161 |
| peak memory | **2.0 GB** | 3.8 GB | 5.8 GB |
|
| 162 |
|
| 163 |
20 English sentences of 5-25 s, end to end (text in, 24 kHz audio out); all three on the same MLX engine. Long text
|
| 164 |
+
is read up to 64 utterances at a time: 15 minutes of audio in 20 seconds (44x real time, 4 GB peak).
|
| 165 |
|
| 166 |
ONNX Runtime on Mac CPU: 2.4x real time.
|
| 167 |
|