Update README
#10
by zeroweightai - opened
95 unmodified lines969798991001011021033 unmodified lines10710810911011111211313 unmodified lines12712812913013113213313411 unmodified lines14614714814915015115215315415515695 unmodified lines### Vietnamese Zero-Shot Text-to-Speech (TTS) with real-time streaming and voice cloning from seconds of audio. Fast, natural, and optimised for CPU inference.**The most accurate open Vietnamese TTS we know of — 13× fewer word errors thanthe next open model**, and it runs faster than real time on a laptop CPU.* 🎯 **Ultra-natural** — 2.91 UTMOS, ~0.5 MOS above every other open Vietnamesesystem, with near-zero dead air (0.029 s vs 0.23–0.53 s).3 unmodified lines* ⚡ **Real-time on CPU, streaming** — ~2× faster than real time (RTF 0.5×),first audio chunk in ~70 ms. No GPU required.* 🇻🇳 **Built for Vietnamese** — tones, code-switched English, and a built-innormalizer that reads `31/12/2025` and `1.250 tỷ` the way a person would.* Code, examples, browser demo: **https://github.com/zeroweight-ai/ZeroTTS*** Benchmark dataset: **https://huggingface.co/datasets/zeroweight-ai/ZeroBench-TTS**13 unmodified linesStreaming, with first audio in roughly 70 ms:```pythonfor chunk in tts.synthesize_stream("Một đoạn văn bản dài hơn…", voice="maichi"):play(chunk) # (1, n) float32 at 48 kHz```## Benchmarks11 unmodified lines| **Dead air** (excess silence) ↓ | **0.029 s** | 0.386 s | 0.568 s | 0.215 s || **RTF, CPU** ↓ | **0.50×** | 6.12× | 0.71× | 0.73× || **Time to first audio, CPU** ↓ | **~70 ms** | ~34 s | ~6.1 s | ~5.1 s || Size | **81 M**, CPU | 3.1 GB, GPU | 1.9 GB, GPU | 1.9 GB, GPU |**4× fewer word errors than the next-best system**, and the only one of the fourthat's actually fast on CPU — the others are sized and tuned for a GPU, and itshows.Full comparison tables, per-subset breakdowns, and CPU speed methodology:**[docs/BENCHMARKS.md](https://github.com/zeroweight-ai/ZeroTTS/blob/main/docs/BENCHMARKS.md)**95 unmodified lines969798991001011021033 unmodified lines10710810911011111211313 unmodified lines12712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815911 unmodified lines17117217317417517617717817918018118218395 unmodified lines### Vietnamese Zero-Shot Text-to-Speech (TTS) with real-time streaming and voice cloning from seconds of audio. Fast, natural, and optimised for CPU inference.**The most accurate open Vietnamese TTS we know of — 4× fewer word errors thanthe next best model**, and it runs faster than real time on a laptop CPU.* 🎯 **Ultra-natural** — 2.91 UTMOS, ~0.5 MOS above every other open Vietnamesesystem, with near-zero dead air (0.029 s vs 0.23–0.53 s).3 unmodified lines* ⚡ **Real-time on CPU, streaming** — ~2× faster than real time (RTF 0.5×),first audio chunk in ~70 ms. No GPU required.* 🇻🇳 **Built for Vietnamese** — tones, code-switched English, and a built-innormalizer that reads `31/12/2025` and `ZeroTTS` the way a person would.* Code, examples, browser demo: **https://github.com/zeroweight-ai/ZeroTTS*** Benchmark dataset: **https://huggingface.co/datasets/zeroweight-ai/ZeroBench-TTS**13 unmodified linesStreaming, with first audio in roughly 70 ms:```pythonimport queueimport numpy as npimport sounddevice as sd # pip install sounddeviceTEXT = ("Đây là chế độ phát trực tuyến. Âm thanh được tạo ra và phát ngay lập tức, ""không cần chờ toàn bộ đoạn văn hoàn thành. Nhờ vậy, người nghe chỉ mất ""khoảng 70 mili giây là đã nghe thấy câu đầu tiên, ngay cả khi mô ""hình đang chạy trên CPU của một chiếc laptop bình thường.")pending, tail = queue.Queue(), np.zeros(0, dtype="float32")def feed(outdata, frames, _time, _status):global tailwhile len(tail) < frames and not pending.empty():tail = np.concatenate([tail, pending.get_nowait()])n = min(frames, len(tail))outdata[:n, 0] = tail[:n]outdata[n:] = 0tail = tail[n:]with sd.OutputStream(samplerate=tts.sample_rate, channels=1,dtype="float32", callback=feed):for chunk in tts.synthesize_stream(TEXT, voice="maichi"):pending.put(chunk.reshape(-1)) # chunk is (1, n) float32 at 48 kHzwhile not pending.empty() or len(tail):sd.sleep(50) # let the buffer drain before closing```## Benchmarks11 unmodified lines| **Dead air** (excess silence) ↓ | **0.029 s** | 0.386 s | 0.568 s | 0.215 s || **RTF, CPU** ↓ | **0.50×** | 6.12× | 0.71× | 0.73× || **Time to first audio, CPU** ↓ | **~70 ms** | ~34 s | ~6.1 s | ~5.1 s || Size | **202 M** params, 0.86 GB fp32, CPU | 3.1 GB, GPU | 1.9 GB, GPU | 1.9 GB, GPU |**4× fewer word errors than the next-best system**, and the fastest of the fouron CPU. The gap is much wider in latency than in throughput: the two XTTSfine-tunes also beat real time (0.71×) but need seconds to emit their firstsample, while OmniVoice is 6× *slower* than real time. All three are sized andtuned for a GPU, and it shows.Full comparison tables, per-subset breakdowns, and CPU speed methodology:**[docs/BENCHMARKS.md](https://github.com/zeroweight-ai/ZeroTTS/blob/main/docs/BENCHMARKS.md)**
README.md+36-9