tiny-voca-nl
An experimental Dutch text-to-speech model based on tiny-voca. It generates 24 kHz mono audio using a single speaker and runs offline on CPU. The PyTorch checkpoint has 4.54 million parameters and is 18.2 MB.
Model and training
The model was trained from scratch for 30,000 steps on 9.39 hours of synthetic Dutch speech. The Alex voice from Piper Voices was used to generate the training audio and phoneme timings. A Dutch text front end handles dates, amounts, and decimal commas before eSpeak converts the text to phonemes.
The original model sometimes produced a buzzy sound. A separate fitting step added 4,053 parameters without modifying the base weights. The correction adjusts the balance between pitched pulses and shaped noise across three frequency bands during synthesis. Both model formats include this correction. Some words and phrase endings may still sound mechanical.
See the source repository for the Dutch front end, browser demo, and training instructions.
Inference
| Format | Files |
|---|---|
| PyTorch | tiny-voca-nl.pt, config.json |
| ONNX | model.onnx, model.json |
For PyTorch inference, install Python 3.12, uv, and eSpeak NG 1.52.0 with Dutch language data. Run the following from the repository root:
uv venv --python 3.12 .venv
uv pip install --python .venv/bin/python -e . 'torch==2.15.0'
.venv/bin/tiny-voca-nl-speak --checkpoint /path/to/tiny-voca-nl.pt --device cpu \
--text 'De trein naar Utrecht vertrekt over vijf minuten.' --output speech.wav
ONNX takes phoneme IDs and stress values, not raw text. The symbol order and input names are in onnx/model.json.
License
Apache 2.0 License.
- Downloads last month
- 30