Download docs/evaluation.md from vertox-ai/qwen3-streaming-tts: direct link, hf CLI and curl.
- Browser
- Download file 7.38 kB
-
https://huggingface.co/vertox-ai/qwen3-streaming-tts/resolve/main/docs/evaluation.md
- Command line
-
hf download hf://vertox-ai/qwen3-streaming-tts/docs/evaluation.md
-
curl -L -o evaluation.md https://huggingface.co/vertox-ai/qwen3-streaming-tts/resolve/main/docs/evaluation.md
Evaluation Guide
Release Matrix
The release matrix is the Cartesian product of:
- 36 ordered rows from
$SST_REPO/.codex-inputs/final-annotated-36.csv, selected asen_transcriptorru_translation; - six reference speakers discovered in canonical filename order beneath
$QTSO_REPO/audio_ref; - five stochastic repetitions per speaker/utterance.
Each language therefore contains 36 x 6 x 5 = 1,080 synthesis observations.
audio_id is request identity because line_id is not unique in the source
CSV. Every waveform is retained under artifacts/waveforms/<run-id>/, and
manifest.json binds each case to byte count and SHA-256.
Measurement Contract
| Family | Measurements |
|---|---|
| Latency | first text to first PCM, first text to first sustained speech, completion |
| Speed | completion latency and real-time factor |
| Intelligibility | WER, CER, S/D/I, MER, WIP, WIL |
| Speaker | Qwen ECAPA cosine similarity |
| Audio | duration, samples, peak, RMS, RMS variation, clipping |
| Activity/prosody | voiced fraction, pause ratio, speaking rate, spectral centroid |
| Reliability | successes, failures, unavailable metric and waveform counts |
The primary latency starts when the first non-empty text delta is sent after
request_ready and ends at the first sustained speech sample received by the
client. Time to first decoded PCM remains separate. The fixed onset detector
is -45 dBFS, 10 ms frames, and 20 ms minimum active duration. Server and
client clocks remain separate.
ASR is Faster-Whisper small.en/en for English and small/ru for
Russian. Speaker identity uses the shared Qwen ECAPA ONNX encoder. Failed or
missing measurements remain unavailable and are never replaced with zero.
Sampling And Repetitions
Every speaker/utterance repetition uses:
random_seed = configured_sampling_seed + repetition_index % max_repetition
For five repetitions the offsets are 0..4. sampling_index records ordered
request position only and never enters the RNG. The same five offsets are used
for every speaker, utterance, model, and controlled candidate. Omitted
repetition controls use offset 0, not a hidden turn counter.
Every raw synthesis is kept. WER, CER, speaker similarity, and latency are
averaged across the five repetitions for each speaker/utterance. Release WER
and CER are unweighted means over those 216 groups per language. The latency
gate is the maximum per-speaker/utterance five-run mean and is 0.70 s; raw
synthesis maxima remain tail evidence.
Statistical Scopes
Each numeric metric includes count/mean/std/min/max/p50/p90/p95/p99 at four
scopes:
| Scope | Raw observations | Derived distribution |
|---|---|---|
per_utterance_speaker |
Five repetitions for one utterance and speaker | None |
per_utterance |
All speakers/repetitions for one utterance | Utterance-speaker means |
per_corpus_speaker |
All utterances/repetitions for one speaker | Utterance-speaker means |
per_corpus |
Every raw synthesis | Utterance-speaker, utterance, and corpus-speaker means |
The complete hierarchy is embedded in each report under statistics.
qst-aggregate-statistics can independently regenerate it from raw case rows.
Full Runs
Run one service per language so QTSO continuity and repetition streams remain controlled. The fresh 1.7B release uses four-character client text sends:
QST_CONFIG=configs/qst-qtso10-17b-top50-seed1242-fast-onset.json \
QST_TEXT_CHUNK_CHARS=4 \
QST_EVALUATION_REPETITIONS=5 \
QST_REQUEST_TIMEOUT_S=240 \
./scripts/run_single_service_matrix.sh \
qwen3-tts-12hz-1.7b-base \
release-rseed-17b-en \
en_transcript english small.en en
QST_CONFIG=configs/qst-qtso10-17b-top50-seed1242-fast-onset.json \
QST_TEXT_CHUNK_CHARS=4 \
QST_EVALUATION_REPETITIONS=5 \
QST_REQUEST_TIMEOUT_S=240 \
./scripts/run_single_service_matrix.sh \
qwen3-tts-12hz-1.7b-base \
release-rseed-17b-ru \
ru_translation russian small ru
Use the matching 0.6B configuration and identifiers:
QST_CONFIG=configs/qst-qtso10-06-top50-seed1242-fast-onset.json \
QST_TEXT_CHUNK_CHARS=4 \
QST_EVALUATION_REPETITIONS=5 \
QST_REQUEST_TIMEOUT_S=240 \
./scripts/run_single_service_matrix.sh \
qwen3-tts-12hz-0.6b-base \
release-rseed-06-en \
en_transcript english small.en en
QST_CONFIG=configs/qst-qtso10-06-top50-seed1242-fast-onset.json \
QST_TEXT_CHUNK_CHARS=4 \
QST_EVALUATION_REPETITIONS=5 \
QST_REQUEST_TIMEOUT_S=240 \
./scripts/run_single_service_matrix.sh \
qwen3-tts-12hz-0.6b-base \
release-rseed-06-ru \
ru_translation russian small ru
Run the QTSO fixed-four baseline with its original one-character text policy:
QST_CONFIG=configs/qtso-fixed4.json \
QST_TEXT_CHUNK_CHARS=1 \
QST_EVALUATION_REPETITIONS=5 \
QST_REQUEST_TIMEOUT_S=240 \
./scripts/run_single_service_matrix.sh \
qwen3-tts-12hz-0.6b-base \
release-rseed-qtsobaseline-en \
en_transcript english small.en en
QST_CONFIG=configs/qtso-fixed4.json \
QST_TEXT_CHUNK_CHARS=1 \
QST_EVALUATION_REPETITIONS=5 \
QST_REQUEST_TIMEOUT_S=240 \
./scripts/run_single_service_matrix.sh \
qwen3-tts-12hz-0.6b-base \
release-rseed-qtsobaseline-ru \
ru_translation russian small ru
The 0.6B/1.7B release pair is controlled: dataset, speakers, ASR, speaker encoder, sampling parameters, repetition seeds, streaming policy, and text send rate match. The QTSO baseline retains its native sampling and streaming identity, so its comparison is descriptive.
Comparison
Cross-model comparison requires an explicit override because model hashes are different:
qst-compare \
--baseline artifacts/eval/release-rseed-06-en.json \
--candidate artifacts/eval/release-rseed-17b-en.json \
--allow-model-mismatch \
--output artifacts/eval/release-rseed-17b-vs-06-en.json
The comparison validates dataset, reference speakers, ASR, and scorer identity. It reports raw and per-utterance-speaker deltas, pooled edit rates, five-run averaged WER/CER/speaker similarity, gated latency, raw latency maxima, unavailable counts, WER/CER non-regression, speaker non-regression, and strict Pareto status.
Outlier Evidence
For every model/language report, isolate WER and CER upper tails independently
using the strict upper Tukey fence Q3 + 1.5 * IQR:
qst-isolate-outliers \
--report artifacts/eval/release-rseed-17b-en.json \
--waveform-root artifacts/waveforms/release-rseed-17b-en \
--output-root artifacts/outliers/release-rseed-17b-en \
--run-id release-rseed-17b-en
Selection uses per-speaker/utterance five-run means and retains the union of
WER/CER cases. Every repetition waveform for a selected group is copied.
Manifests keep unclipped rates, unavailable counts, thresholds, source/copy
SHA-256 identity, and report identity. Raw audio and copied WAV files remain
local under artifacts/; tracked evidence contains sanitized identities and
hashes.
Configuration Controls
Use --max-cases only for bounded diagnostics. Release matrices must complete
all 36 utterances for all six speakers and five repetitions. Use
--connection-mode speaker for QTSO continuous streams. Use
--connection-mode utterance only for the separate exporter runtime, whose
allocator and continuity contracts differ.
Prosody statistics are objective proxies and do not replace listening tests or a validated MOS model.