3.0 KiB
Pocket German technical-text preprocessing trial — 18 October 2026
Experimental only: no production worker, profile, endpoint or service changed or restarted. A separate CPU process loaded the same pinned German Pocket weights, tokenizer and existing private Anna state using the installed CPU runtime. Strata remained loaded. The process exited after the two syntheses.
Compared the original user-provided technical answer against speech-only preprocessing: remove bullet/emphasis/backtick markup, verbalize not-equal, expand KI/HTTP/403, replace Labeling with Kennzeichnung and speak path separators. Displayed source remains untouched. Each run resets Torch seed to 42 and copies the reference state. These are single paired samples, not a quality benchmark. Actual WAVs were returned to the local Parakeet Redux CPU transcription endpoint. No browser speech engine used. Audio and full input/transcripts stay outside Git.
Results: raw 38.40s / 40.24s audio; prepared 30.28s / 38.80s audio. RTF 0.954 and 0.780. These measurements are not directly comparable to the previous day's endpoint timings: this is an additional isolated process under current host load. The prepared round trip correctly retains the first heading, HTTP error number 403 and the crucial phrase “ist nicht gleich echtes Foto”; raw loses them. Path spelling is still badly reconstructed, and the second paragraph still has repetitions. This demonstrates partial improvement, not production readiness. STT is an imperfect intelligibility proxy, not independent listening evidence.
Official installed Pocket source warns for chunks above 50 tokens: raw 78/57, prepared 82/60. The installed splitter falls back to comma/semicolon/colon but still produces oversized sections here. Therefore normalization alone does not eliminate the potential for omissions. Future work should test shorter spoken clauses and explicit spelling of opaque identifiers before production activation.
Reproduction and restore scope
speech_prepare.py and test_prepare.py use only Python's standard library.
Run python3 test_prepare.py in this directory (four targeted checks).
bench.py expects input.txt next to it, an existing Pocket CPU environment and
/var/lib/deck containing the pinned public files and private Anna state. Paths
are explicit current-test paths, not a native installer. Use the pinned recipes
in Pocket TTS for runtime/model installation. For another native
state root, change the explicit state path before running as its service user.
The harness needs no Docker API; docker exec was only the current deployment's
way of invoking that installed runtime as UID65534. Test output directory must
be writable by that service user. No network/model download is required.
There is no new production setting or dependency to back up/restore. The private Anna state stays in the already encrypted speech-voices backup scope. No credentials, embeddings, audio or user text are committed. No fresh-host native restore was performed. Do not install this experiment as production code.