vits-eu-antton-espeak-v2
VITS (Piper) voice for phoonnx, converted to ONNX from rhasspy/piper-voices/eu/eu_ES/antton/medium.
This repository replaces Phoonnx/vits-eu-antton-espeak. Upstream retrained the voice on the Piper 1.5 base models (rhasspy/piper-voices e9c8a39444); the old repository keeps the earlier weights.
Model details
| Field | Value |
|---|---|
| Repository | Phoonnx/vits-eu-antton-espeak-v2 |
| Voice id | piper_community/itzune/eu-antton-medium-v2 |
| Languages | eu |
| Architecture | VITS (Piper) |
| Text input | espeak phonemes, IPA alphabet |
| Punctuation | Trained with the clause punctuation , . ! ? : ;. phoonnx 1.96.1a1 and later keep it at synthesis. |
| Sample rate | 22050 Hz |
| Speakers | 1 |
| Training code | Upstream training code; see rhasspy/piper-voices/eu/eu_ES/antton/medium |
| Phonemizer | espeak-ng, voice eu |
| Training data | Not recorded upstream |
| Base model | Not recorded |
| Training checkpoint | None in this repository |
| Upstream | rhasspy/piper-voices/eu/eu_ES/antton/medium |
| Trained by | Rhasspy (upstream) |
| Licence | CC BY 4.0 |
QA method: no ASR: length and silence check. Sentences: FLORES-200 devtest, 3 sentences.
| Check | fp32 | int8 |
|---|---|---|
| Result | pass | pass |
| Characters per second | 15.4 to 16.2 | - |
| Length, int8 / fp32 | - | 0.98 to 1.02 |
| Graph size | 63.2 MB | 18.7 MB |
| Peak RSS | 260.9 MB | 219.4 MB |
| RTF (median of 3, 4 threads) | 0.039 | 0.101 |
Measured on 11th Gen Intel(R) Core(TM) i9-11900H @ 2.50GHz. RTF is synthesis time divided by audio length.
Each <graph>_int8.onnx file is the int8 copy of <graph>.onnx, made with onnxruntime.quantization.quantize_dynamic (onnxruntime 1.32.0) and QInt8 weights. The copy passes the int8 gate: its audio is finite and not silent, its length is 0.8 to 1.25 of the fp32 length.
How to use
Install phoonnx:
pip install --pre phoonnx
The phonemes come from the espeak-ng program, so install it too (for example
apt install espeak-ng). Without it, pip install --pre "phoonnx[espeak]" gives
phoonnx the espyak port of espeak-ng. Some espyak phonemes differ from those of
espeak-ng, so the voice can say some words wrong with espyak.
Then run:
import wave
from phoonnx.model_manager import TTSModelManager
manager = TTSModelManager()
manager.load()
manager.merge_default_voices()
voice = manager.voices["piper_community/itzune/eu-antton-medium-v2"].load()
with wave.open("output.wav", "wb") as wav_file:
voice.synthesize_wav("Vatikano Hiriko biztanle guztiak katoliko erromatarrak dira.", wav_file)
In OVOS, phoonnx installs the ovos-tts-plugin-phoonnx plugin. Select this voice in
mycroft.conf:
{
"tts": {
"module": "ovos-tts-plugin-phoonnx",
"ovos-tts-plugin-phoonnx": {
"voice": "piper_community/itzune/eu-antton-medium-v2"
}
}
}
Training data
The upstream card gives: URL: https://huggingface.co/datasets/itzune/antton-dataset; License: Creative Commons Attribution 4.0. Training, as the upstream card states it: Finetuned from the rdh base model (medium quality; nl_BE, one Flemish speaker, CC0), with MRD and SDP. Default inference settings are noise_scale 0.5 and noise_w 0.333. Requires Piper 1.5 or higher.
Related links
- Upstream model: rhasspy/piper-voices/eu/eu_ES/antton/medium
- phoonnx: https://github.com/TigreGotico/phoonnx
- TigreGotico: https://tigregotico.pt
Ownership and licensing
Rhasspy trained this model and publishes it at rhasspy/piper-voices/eu/eu_ES/antton/medium under CC BY 4.0. TigreGotico Lda converted it to ONNX for phoonnx and publishes the conversion under the same licence. The conversion does not change the weights; the int8 copies quantize them. Credit Rhasspy when you use this voice.
- Downloads last month
- 33
Model tree for Phoonnx/vits-eu-antton-espeak-v2
Base model
rhasspy/piper-voices