docs: add substantive model card with description, training data provenance, and inference snippet
Browse files
README.md
CHANGED
|
@@ -8,4 +8,55 @@ base_model:
|
|
| 8 |
pipeline_tag: text-to-speech
|
| 9 |
tags:
|
| 10 |
- vits
|
| 11 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
pipeline_tag: text-to-speech
|
| 9 |
tags:
|
| 10 |
- vits
|
| 11 |
+
- phoonnx
|
| 12 |
+
- onnx
|
| 13 |
+
- tts
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# phoonnx\_ast\_miro\_unicode
|
| 17 |
+
|
| 18 |
+
A text-to-speech voice model for **Asturian (ast)** using the phoonnx VITS
|
| 19 |
+
architecture, exported to ONNX for efficient CPU inference. The voice
|
| 20 |
+
persona is **Miro** — a male speaker adapted via voice conversion from a
|
| 21 |
+
Galician base model (`phoonnx_gl-ES_miro_unicode`).
|
| 22 |
+
|
| 23 |
+
## Training data
|
| 24 |
+
|
| 25 |
+
Trained on
|
| 26 |
+
[TigreGotico/tts\_vc\_mcv-scripted-v23.0\_ast\_miro](https://huggingface.co/datasets/TigreGotico/tts_vc_mcv-scripted-v23.0_ast_miro),
|
| 27 |
+
a synthetic voice-conversion dataset derived from Mozilla Common Voice
|
| 28 |
+
scripted prompts (release 23.0). Audio was synthesised with a donor TTS
|
| 29 |
+
voice and then converted to the Miro speaker identity using voice-conversion
|
| 30 |
+
techniques, producing a multi-hour single-speaker corpus for Asturian.
|
| 31 |
+
|
| 32 |
+
## Usage
|
| 33 |
+
|
| 34 |
+
```python
|
| 35 |
+
import wave
|
| 36 |
+
from phoonnx.config import SynthesisConfig
|
| 37 |
+
from phoonnx.voice import TTSVoice
|
| 38 |
+
|
| 39 |
+
voice = TTSVoice.from_hf("OpenVoiceOS/phoonnx_ast_miro_unicode")
|
| 40 |
+
|
| 41 |
+
synthesis_config = SynthesisConfig(noise_scale=0.667, length_scale=1.0, noise_w_scale=0.8)
|
| 42 |
+
|
| 43 |
+
with wave.open("output.wav", "wb") as wav_file:
|
| 44 |
+
voice.synthesize_wav("Bones díes, ¿cómo tas?", wav_file, synthesis_config)
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
Or via the OVOS TTS plugin:
|
| 48 |
+
|
| 49 |
+
```json
|
| 50 |
+
{
|
| 51 |
+
"tts": {
|
| 52 |
+
"module": "ovos-tts-plugin-phoonnx",
|
| 53 |
+
"ovos-tts-plugin-phoonnx": {
|
| 54 |
+
"voice": "OpenVoiceOS/phoonnx_ast_miro_unicode"
|
| 55 |
+
}
|
| 56 |
+
}
|
| 57 |
+
}
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
+
## License
|
| 61 |
+
|
| 62 |
+
Apache 2.0
|