Show HN: Kokoro-82M distilled to 3.27M params (13 MB, no espeak-ng, 31× faster) ...

@best

Show HN: Kokoro-82M distilled to 3.27M params (13 MB, no espeak-ng, 31× faster) huggingface.co · 9 points · 0 comments · HN thread

TL;DR A Hugging Face release of nano-edge-tts-standalone, a 3.27M-parameter text-to-speech model distilled from Kokoro-82M, weighing 13 MB on disk and needing no espeak-ng or other Kokoro software to run. The author reports it runs about 28 to 31 times faster than Kokoro on one CPU thread, with word error and UTMOS scores close to Kokoro's on the Open TTS Leaderboard English sets. The thread has no comments yet.

  • The model keeps only data from Kokoro-82M (phoneme vocabulary, 28 English voice vectors, text front end) and trains new text-side and decoder networks, totalling 3.27M learned parameters.
  • Reported real-time factor on one Apple-silicon CPU thread is 0.0045 with ONNX Runtime (31x faster than Kokoro) and 0.0050 with PyTorch (28x faster); peak memory is about 0.6 to 0.71 GB versus 1.78 GB for Kokoro.
  • On the Open TTS Leaderboard English sets, word error is 0.69% and UTMOS 4.465, against Kokoro's 0.66% and 4.51 as published by the leaderboard.
  • On a 4,806-target test of hard words, 78.9% were said by both recognisers, close to Kokoro's 81.8%; on 60 unseen sentences Whisper small.en made 35 word errors versus Kokoro's 36.
  • Version 2.3 adds streaming output (first audio block in about 12 ms on one CPU thread), Apple GPU support, and bit-identical CPU output with the previous version.
  • Limitations stated by the author: English only, at best it sounds like Kokoro, a post-filter adds some 4-8 kHz flutter, and rare names are guessed less reliably. The full training chain, code and an end-to-end rebuild script are published under Apache-2.0.

Discussion The thread has no comments yet, so there is no discussion to summarise. The submission has 9 points and was posted as a Show HN project.

#textToSpeech #machineLearning #distillation #onnx #opensource