Skip to content

Releases

v0.1.2: Vocos post-filter (experimental)

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).

v0.1.1: audio marked as AI-generated

Choose a tag to compare

@marselnenaj marselnenaj released this 01 Dec 21:50

Every audio tiny-voca-de makes now carries an inaudible, machine-readable mark, as far as technically feasible under Article 50(2) of the EU AI Act. The vocoder adds a fixed 2 to 8 kHz pattern, shaped by the speech's own spectrum and 22 dB below it. It costs no measurable speed. The command line tool also writes "AI-generated speech" into the file's metadata.

  • Check a file: tiny-voca-check speech.wav (or python -m tiny_voca.check speech.wav).
  • Measured: all 74 clips of 0.5 to 7 seconds found, 73 of 74 after MP3 at 64 kbit/s, no false alarm in 1,440 clips without the mark.
  • tiny-voca-de.onnx is re-exported with the mark in the graph. The weights (tiny-voca-de.pt) are the same as in v0.1.0; the mark comes from the code.
  • You can now support the project through GitHub Sponsors.

tiny-voca-de v0.1.0

Choose a tag to compare

@marselnenaj marselnenaj released this 01 Dec 11:53

First release of tiny-voca-de: a small German conversational text-to-speech model, built on tiny-voca by n4ze3m.

  • tiny-voca-de.pt: PyTorch checkpoint, 4,534,603 parameters, voices DE-F and DE-M, 24 kHz
  • tiny-voca-de.onnx + tiny-voca-de.json: the same model for ONNX Runtime
  • sample-DE-F.wav, sample-DE-M.wav: one held-out sentence per voice
  • demo-piper-vs-tiny-voca-de.mp4: Piper medium and tiny-voca-de on the same sentences

Weights and code: Apache-2.0 (see LICENSE and NOTICE in the repository). Install, usage and the comparison with other German models: see the README.