Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,71 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- he
|
| 4 |
+
tags:
|
| 5 |
+
- text-to-speech
|
| 6 |
+
- tts
|
| 7 |
+
- hebrew
|
| 8 |
+
- audio
|
| 9 |
+
- fast-inference
|
| 10 |
+
license: mit
|
| 11 |
+
datasets:
|
| 12 |
+
- notmax123/RanLevi40h
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# LightBlue TTS 馃嚠馃嚤
|
| 16 |
+
|
| 17 |
+
## Model Description
|
| 18 |
+
|
| 19 |
+
LightBlue is a state-of-the-art, lightning-fast Text-to-Speech (TTS) model built from scratch specifically for Hebrew (with English support). It is designed to produce 100% native Israeli-sounding speech with perfect handling of *Nikud* (vowels) and complex homographs, without compromising on inference speed.
|
| 20 |
+
|
| 21 |
+
It is fast enough to generate an entire 1-hour audiobook in just **3 seconds** on a modern GPU.
|
| 22 |
+
|
| 23 |
+
- **Developer:** LightBlue TTS
|
| 24 |
+
- **Language(s):** Hebrew (Primary), English
|
| 25 |
+
- **Model Type:** Text-to-Speech (TTS)
|
| 26 |
+
- **Demo & Website:** [https://lightbluetts.com/](https://lightbluetts.com/)
|
| 27 |
+
|
| 28 |
+
## Key Features
|
| 29 |
+
|
| 30 |
+
- **Blazing Fast Inference:**
|
| 31 |
+
- **1260x real-time** on an NVIDIA RTX 3090 (21 minutes of audio generated per second).
|
| 32 |
+
- **35x real-time** on standard CPUs.
|
| 33 |
+
- **20x real-time** on Apple M1 chips.
|
| 34 |
+
- **Native Hebrew Quality:** Features a real Israeli accent, correct stress placements, and native-level flow.
|
| 35 |
+
- **Advanced Contextual Understanding:** Passes the "Homograph Test" (e.g., correctly distinguishing between *爪驻讛* as "watched" vs "floated", or *转专讚* as "spinach" vs "go down").
|
| 36 |
+
- **Multiple Voices:** Includes high-quality voices like *Yonatan* (Hebrew only) and *Rotem*.
|
| 37 |
+
|
| 38 |
+
## Uses
|
| 39 |
+
|
| 40 |
+
### Direct Use
|
| 41 |
+
- Generating high-quality Hebrew audio from text.
|
| 42 |
+
- Real-time TTS applications running on standard CPUs or edge devices.
|
| 43 |
+
- Audiobooks, accessibility tools, virtual assistants, and automated broadcasting.
|
| 44 |
+
|
| 45 |
+
## Speed Benchmarks
|
| 46 |
+
|
| 47 |
+
LightBlue is optimized for extreme speed without sacrificing naturalness:
|
| 48 |
+
|
| 49 |
+
| Hardware | Speed | Time for 1 Hour of Audio |
|
| 50 |
+
| :--- | :--- | :--- |
|
| 51 |
+
| **NVIDIA RTX 3090** | 1260x real-time | ~3 seconds |
|
| 52 |
+
| **Standard CPU** | 35x real-time | ~1.7 minutes |
|
| 53 |
+
| **Apple M1** | 20x real-time | ~3 minutes |
|
| 54 |
+
|
| 55 |
+
## How to Get Started
|
| 56 |
+
|
| 57 |
+
*(Note: Replace with the actual inference code depending on how the model weights are loaded.)*
|
| 58 |
+
|
| 59 |
+
```python
|
| 60 |
+
# Example pseudo-code for inference
|
| 61 |
+
from lightblue import LightBlueTTS
|
| 62 |
+
|
| 63 |
+
# Load the model
|
| 64 |
+
tts = LightBlueTTS.from_pretrained("lightblue-tts/hebrew")
|
| 65 |
+
|
| 66 |
+
# Generate speech
|
| 67 |
+
text = "讗转诪讜诇 讞讝专转讬 诪讗讜讞专 讛讘讬转讛 讜讙讬诇讬转讬 砖砖讻讞转讬 讗转 讛诪驻转讞讜转 讘诪砖专讚."
|
| 68 |
+
audio = tts.synthesize(text, voice="yonatan")
|
| 69 |
+
|
| 70 |
+
# Save to file
|
| 71 |
+
audio.save("output.wav")
|