Model Card — tujia-tts v0.2
Overview
vits_tujia-v0.2 is a single-speaker Tujia text-to-speech model. Input is Ye pinyin
(the Ye De-shu transcription, tone letters x / f / r / v), output is 16 kHz mono
speech in one voice only: badou.
There is no speaker conditioning: the model's SynthesizerTrn is single-speaker, so the
ONNX graph has exactly three inputs (input, input_lengths, scales) and no emb_g
/ sid channel. Switching the voice requires switching the model file.
This is a low-resource research release: the model is intelligible on common vocabulary but has the failure modes listed below.
Training
| Item | Value |
|---|---|
| Checkpoint | vits_tujia-v0.2, validation mel loss 0.5108 |
| Data | 3,403 clips / 4.10 h, four sources, timbre unified to badou |
| Speakers | 1 (num_speakers=1, empty speaker_id_map) |
| Sample rate | 16,000 Hz |
| Symbols | 41 (IPA phones + T0–T4 tone tokens) |
| Export | ONNX opset 15 + piper-style .onnx.json |
Training corpora are internal-only and are not distributed here.
Input format
Two notations are accepted; the package detects which one you used.
Ye pinyin with the four tone letters of Ye De-shu (1984): x=55, f=35, r=21, v=53.
hufnix davhar niev caif kax
af gov diex caf
Toned IPA: Chao digits, superscripts or Chao letters, one tone per syllable; a syllable
without a tone is read as T0.
xu21 ni21 xu²¹ ni²¹ xu˨˩ ni˨˩
Syllable splitting, initial/final parsing and tone-notation normalisation are delegated to
tujia-nlp (tujia_nlp.corpus, tujia_nlp.tones). This package only keeps the table
that the checkpoint was trained on (41 symbols, -ng finals as aŋ/eŋ/iŋ/oŋ, z/c/s/r + i → ɿ)
and the rule that appends one tone token per syllable. Chinese characters are not supported.
Pre- and post-processing
Text side: notation normalisation → syllable split and initial/final parsing (tujia-nlp) →
IPA → tone token → unknown symbols dropped and counted (never a silent KeyError) → empty
input raises.
Waveform side (postprocess()): trim leading/trailing silence (−40 dBFS relative to peak,
30 ms margin) → peak normalise to −1 dBFS → 10 ms fade in/out.
Evaluation
| Metric | Value |
|---|---|
| Phone error rate, 40 sentence probes (synthesized) | 0.784 (median) |
| Phone error rate, same probes (human audio) | 0.567 |
| Speaker cosine to studio badou reference | 0.814 (training target itself: 0.812) |
Known limitations
- Duration is stochastic across processes. The exported graph contains
/dp/RandomNormalLike(VITS stochastic duration predictor) whosescalewas frozen at export time and is not driven bynoise_scale. The same text can vary between 1.2 s and 2.8 s from one process to the next. Pin the node's seed if byte-identical output is required. - Tone is approximate. Tone tokens are trained from corpus annotation; sandhi and emphatic lengthening are not modelled.
- Short single-syllable words are the weakest. They are most sensitive to the duration noise above.
- No prosody control. No SSML, breaks, or emphasis.
- One speaker only. No voice conversion, no cloning, no multi-speaker selection.
- Not a piper voice.
phoneme_type: "text"with two-character tone tokens; the standardpiperfront-end (espeak-ng) cannot drive this model. Use the bundled front-end.
Intended use
Suitable: research on low-resource TTS, community demo material reviewed by native speakers, and prototyping Tujia audio interfaces.
Not suitable: publication or teaching material without native-speaker review, any claim that the output is a real person's recording, or commercial redistribution.
Licensing and ethics
Code is MIT. Weights are research-use only under NOTICE. Speaker consent has not been
confirmed per source recording; commercial use or redistribution requires a rights review.
Tujia is endangered — outputs should be reviewed by native speakers before community or
educational use.
Version history
| Version | Data | Notes |
|---|---|---|
| v0.1 | 1.87 h / 2,390 clips, male teacher | Failed intelligibility probe; not released |
| v0.2 | 4.10 h / 3,403 clips, unified to badou | First public release |