← All projects
Project record1 mention
Originally shared on Hacker News

teacher-in-the-loop

An improved distillation of Kokoro to about 9MB with around 25x RTF. The submitter researched why the original training recipe wasn't replicable and found tweaks that improve the overall result; includes a demo playable in the browser, Apache-2.0 code, model weights, and a paper.

Last shared
01 / The problem

What it addresses

The original Kokoro distillation training recipe wasn't replicable, and the experiment covered only a single English voice.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. teacher-in-the-loop

    An improved distillation of Kokoro to about 9MB with around 25x RTF. The submitter researched why the original training recipe wasn't replicable and found tweaks that improve the overall result; includes a demo playable in the browser, Apache-2.0 code, model weights, and a paper.

    Problem: The original Kokoro distillation training recipe wasn't replicable, and the experiment covered only a single English voice.

    Posted by @mithrilman · Original source ↗

    Story title · @mithrilman · · Source ↗

    Show HN: An improved kokoro distillation in 9MB

    Submitted URL · @mithrilman · · Source ↗

    https://huggingface.co/spaces/MithrilMan/teacher-in-the-loop

    Source text · @mithrilman · · Source ↗

    Some days ago I found a paper about distilling kokoro on a ~9MB with around 25x RTF.

    Source text · @mithrilman · · Source ↗

    I wanted to see if I could manage to distill it in my language but the training recipe wasn't replicable.

    Source text · @mithrilman · · Source ↗

    So I spent some days researching, experimenting and found the why and even some more tweaks to improve the overall result.

    Source text · @mithrilman · · Source ↗

    The demo I linked shows you how close it is to the original kokoro and you can play straight in the browser (If you use the package locally it's faster)

    Source text · @mithrilman · · Source ↗

    Paper: https://doi.org/10.5281/zenodo.23400040

    Source text · @mithrilman · · Source ↗

    Code (Apache-2.0): https://github.com/MithrilMan/teacher-in-the-loop

    Source text · @mithrilman · · Source ↗

    Weights: https://huggingface.co/MithrilMan/teacher-in-the-loop

    Source text · @mithrilman · · Source ↗

    pip install teacher-in-the-loop