Commit ·
8173acb
1
Parent(s): 65e186d
update README
Browse files95 unmodified lines969798991001011021033 unmodified lines10710810911011111211313 unmodified lines12712812913013113213313495 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```## Benchmarks95 unmodified lines969798991001011021033 unmodified lines10710810911011111211313 unmodified lines12712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815995 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```## Benchmarks
README.md+30-5