Skip to content

v0.1.2: Vocos post-filter (experimental)

Pre-release
Pre-release

Choose a tag to compare

@marselnenaj marselnenaj released this 02 Dec 18:28

Experimental Vocos post-filter against the metallic edge that phone speakers bring out.

The speech model is unchanged: get tiny-voca-de.pt, .onnx, .json and the sherpa files from v0.1.1. This release adds two post-filters:

File Size Text to audio Word errors (DE-F / DE-M)
without post-filter 209-222x 5.4 % / 6.8 %
tiny-voca-de-vocos-small.pt 8 MB 156-160x 6.2 % / 7.4 %
tiny-voca-de-vocos-big.pt 54 MB 88-92x 4.5 % / 5.4 %

PyTorch on 4 CPU threads, the 30 held-out sentences, Whisper small; measured while the GPU was training, so the speeds are a lower bound.

tiny-voca-speak --checkpoint weights/tiny-voca-de.pt --vocos weights/tiny-voca-de-vocos-small.pt --text "Moment, ich schau kurz nach." --output moment.wav

The post-filter adds the AI-generated mark itself: found in 60/60 test clips, 60/60 after MP3 at 64 kbit/s, 0/60 false alarms.

Experimental: no ONNX export yet, and a better small post-filter is training right now. The big one is fine-tuned from charactr/vocos-mel-24khz (MIT); the architecture is Vocos by gemelo-ai (MIT).