Matcha-TTS 100M Russian - compact Russian speech generator with emotions
2 min readupdated
The model is a fast non-autoregressive text-to-speech (TTS) system based on the Conditional Flow Matching (CFM) architecture with the Vocos 24 kHz neural vocoder. It is designed to run entirely offline on PCs and mobile devices without using cloud APIs. The model features four studio voices and 12 emotional styles, along with a built-in stress dictionary for precise Russian pronunciation. The solution is suitable for content voiceovers, creating voice bots, and local applications.
Key features
- Four studio voices: Ruslan, Masha, Sveta, and Dima with natural Russian diction.
- 12 emotional styles: including joy, sadness, fear, whisper, irony, and tongue twisters.
- Fast offline inference: ONNX Runtime support (FP32, FP16, INT8) without needing to install PyTorch.
- Built-in stress dictionary: a database of 204 thousand word forms with support for manual stress placement.
What you can do
- Integrate into a Telegram bot: voice user text messages with the selected voice and emotion.
- Voice an audiobook or podcast: generate long segments of speech with the required emotional tone on local hardware.
- Create local voice acting for games: apply the model for character dialogues without an internet connection.
Example
Running speech generation via Python using ONNX:
from pathlib import Path
import soundfile as sf
from huggingface_hub import snapshot_download
from inference_onnx import MatchaRuOnnxTTS
repo_dir = Path(snapshot_download("matreek/matcha-tts-ru-100m", allow_patterns=["config.json", "onnx/*"]))
tts = MatchaRuOnnxTTS(repo_dir / "onnx", precision="int8", provider="cpu", threads=4)
wav = tts.synthesize("Привет! Сегодня прекрасный день для проверки модели.", speaker="ruslan", style="neutral")
sf.write("output.wav", wav, tts.sample_rate)
Read more
DetailsBenchmarks: WER 2.64% / CER 0.96% on the Studio-48 dataset.
Hardware: efficient operation on GPU (RTX 4070 with RTF 0.150) and CPU via INT8 ONNX.
License: CC BY-NC-SA 4.0 (non-commercial use).










Comments