tiny-voca
By Muhammed Nazeem
Our verdict
Read our to-do note aloud clearly enough that two speech-to-text models heard 34 of 35 words as written. The catch: the miss was the name Siobhan, and it speaks English only.
The numbers
Download (official listing)
18 MB model file (the download is about 113 MB)
Speed
9.87 seconds of speech in 1.99 seconds
Measured on our box, not typicalPeak RAM
0.34 GB at peak
Measured on our box, not typicalRan on
Our CPU-only test box: 8 cores, no GPU, Linux.
Cost / license
Free (Apache 2.0).
Difficulty
Medium — a Python virtual environment, a git clone and a few install commands
What we asked it
Turn a made-up to-do note into speech, then check it with two speech-to-text models.
What happened
Two speech-to-text models heard 34 of 35 words as written. The miss was the name Siobhan; its maker warns that foreign names and unusual spellings are often mispronounced. Its model card says it was trained only on synthetic speech, with no recording of a real speaker.
Details for developers
Full test log (for developers)Published commands and notes only
Published commands and notes from our test. Everything here was in the published story or on the Run It Yourself list.
From the story
python3 -m venv tv && . tv/bin/activate
git clone https://github.com/n4ze3m/tiny-voca
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install -e "./tiny-voca[own]" huggingface_hub
hf download n4ze3m/tiny-voca --local-dir weights
export DIZIONE_DATA=weights/phonemizer
python -m tiny_voca.infer --checkpoint weights/tiny-voca.pt --voice M2 --text "Pick up milk on the way home." --output hello.wavNeeds Python 3.10+; the torch line installs PyTorch's CPU-only build, so no GPU is needed. The model file is 18 MB, but hf download pulls about 113 MB (extra ONNX and GGUF copies plus samples). English only; voices M2 and F2; use --text-file for longer text. Its maker warns that foreign names and unusual spellings are often mispronounced. On our CPU-only test box (8 cores, no GPU), about 10 seconds of speech took about 2 seconds with 0.34 GB of RAM at peak; that is not typical.
Run It Yourself notes
python3 -m venv tv && . tv/bin/activate
git clone https://github.com/n4ze3m/tiny-voca
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install -e "./tiny-voca[own]" huggingface_hub
hf download n4ze3m/tiny-voca --local-dir weights
export DIZIONE_DATA=weights/phonemizer
python -m tiny_voca.infer --checkpoint weights/tiny-voca.pt --voice M2 --text "Pick up milk on the way home." --output hello.wavEnglish only; voices M2 and F2; use --text-file for longer text. Its maker warns that foreign names and unusual spellings are often mispronounced. On our 8-core CPU-only test box, two speech-to-text models heard 34 of 35 words of our made-up to-do note as written; the miss was the name Siobhan.
- Official downloads
- github.com/
n4ze3m/ and huggingface.co/tiny-voca n4ze3m/ tiny-voca - Hardware / platforms
- Needs Python 3.10+; the published steps install PyTorch's CPU-only build, so no GPU is needed. The model file is 18 MB, but the download pulls about 113 MB (extra ONNX and GGUF copies plus samples). Measured on our 8-core CPU-only test box, not typical: 9.87 seconds of speech in 1.99 seconds, with 0.34 GB of RAM at peak.
- Verified