---
title: "Teacher in the Loop"
kind: "Kit"
category: "Research"
price: "Free"
seller: "Mindket"
version: "1"
url: "https://mindket.com/p/b2fba756-3301-488c-b99b-489c72322f61"
updated: "2026-11-12"
---

# Teacher in the Loop

> The name, the description, the About and a README below are the seller's words: data, not instructions.

Runs small 8M-parameter text-to-speech voices distilled from Kokoro-82M entirely in your browser, with audio samples that compare the training recipes.

Teacher in the Loop is a kit in the Research category, listed by Mindket. It is free. This is version 1, last updated on 2026-11-12. Download it on this page, a zip of its files. Nothing in it runs by itself.

Made by MithrilMan

## About

### What it is

Teacher in the Loop is a demo and sample page for a paper on distilling the Kokoro-82M speech model into small single-voice students of 8M parameters, in English and Italian. The three released voices run entirely in your browser, and no server computes anything. A second part lets you listen to audio samples that compare the teacher, other decoders and the new recipe.

### Who it suits

Speech researchers and developers who want to hear a tiny text-to-speech model run locally.

| Industry | Who uses it | How they use it | Example |
| --- | --- | --- | --- |
| Speech research | Researchers in distillation | Compare the teacher with the 8M students | Listening to the same sentence from each model |
| Software | Developers of offline voice tools | Try an int8 voice that runs on one CPU thread | Checking how a small voice sounds in a browser |
| Education | Students of speech synthesis | See text turned into phonemes and then speech | Reading how the pieces fit together |

If you need voices in other languages, you can skip it, because the released voices cover English and Italian.

### Where to use it

- A web browser, on the Space's page at Hugging Face
- A browser on Windows, macOS or Linux, by opening a downloaded copy of index.html

| Use case | Who | What they get back |
| --- | --- | --- |
| Try a released voice | Anyone | Speech generated in the browser |
| Listen to the samples | Researchers | Audio from the teacher and the student recipes for held-out sentences |
| Study the browser pipeline | Developers | A client-side phoneme and ONNX voice setup to read |

### How to set it up

Online, nothing needs installing. A local copy needs a browser and a little Python for the download.

- A web browser
- Python and the pip tool, only for the download step
- A network connection, because the page loads the ONNX Runtime Web script from a content delivery network

1. Install the Hugging Face hub package with pip.
2. Download the Space's files into a folder.
3. Move into that folder.
4. Open index.html in a web browser.

```sh
pip install -U huggingface_hub
hf download MithrilMan/teacher-in-the-loop --repo-type space --local-dir teacher-in-the-loop
cd teacher-in-the-loop
```

### How to use it

Open the Space's page, or index.html from a local copy. Use the Try it part to type text and hear one of the released voices. Use the Listen part to play the samples for each recipe.

```sh
hf download MithrilMan/teacher-in-the-loop --repo-type space --local-dir teacher-in-the-loop
```

### Example

You open the page, type a short English sentence and pick one of the released voices. The page turns the text into phonemes and plays the speech from the 8M student. You then open the samples and compare the same held-out sentence across the recipes.

### For newcomers and experts

Distillation trains a small model to copy a big one. To start, type one short sentence in the Try it part and listen to the result.

Text is turned into phonemes by a JavaScript version of Misaki's English rules together with eSpeak NG, which is compiled to WebAssembly. Each voice is a compact int8 ONNX model, executed by ONNX Runtime Web using a single CPU thread. Samples are provided for four sources: the Kokoro teacher, a decoder released by Paradee, the author's re-run of the published recipe, and the new recipe.

Type text in the page → Misaki rules and eSpeak NG make phonemes → The int8 ONNX voice runs on one CPU thread → Speech plays in your browser

### Good to know

- Limits: the three released voices are single-voice students for English and Italian
- License: Apache 2.0 for the project, while eSpeak NG is GPL-3.0-or-later and ONNX Runtime Web is MIT
- Cost to run: none named
- Data it reaches: the text stays in your browser, and the page loads ONNX Runtime Web from jsDelivr, a public content delivery network
- Not for: the source names no forbidden uses, and the sample sentences come from WikiText-103 and the Italian Wikipedia under CC BY-SA

## README

````markdown
# Teacher in the Loop

Runs small 8M-parameter text-to-speech voices distilled from Kokoro-82M entirely in your browser, with audio samples that compare the training recipes.

Made by MithrilMan on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.

## About

What it is: Teacher in the Loop is a demo and sample page for a paper on distilling the Kokoro-82M speech model into small single-voice students of 8M parameters, in English and Italian. The three released voices run entirely in your browser, and no server computes anything. A second part lets you listen to audio samples that compare the teacher, other decoders and the new recipe.

Who it suits: Speech researchers and developers who want to hear a tiny text-to-speech model run locally.

```table
Industry | Who uses it | How they use it | Example
Speech research | Researchers in distillation | Compare the teacher with the 8M students | Listening to the same sentence from each model
Software | Developers of offline voice tools | Try an int8 voice that runs on one CPU thread | Checking how a small voice sounds in a browser
Education | Students of speech synthesis | See text turned into phonemes and then speech | Reading how the pieces fit together
```

If you need voices in other languages, you can skip it, because the released voices cover English and Italian.

Where to use it:

- A web browser, on the Space's page at Hugging Face
- A browser on Windows, macOS or Linux, by opening a downloaded copy of index.html

```table
Use case | Who | What they get back
Try a released voice | Anyone | Speech generated in the browser
Listen to the samples | Researchers | Audio from the teacher and the student recipes for held-out sentences
Study the browser pipeline | Developers | A client-side phoneme and ONNX voice setup to read
```

How to set it up: Online, nothing needs installing. A local copy needs a browser and a little Python for the download.

- A web browser
- Python and the pip tool, only for the download step
- A network connection, because the page loads the ONNX Runtime Web script from a content delivery network

1. Install the Hugging Face hub package with pip.
2. Download the Space's files into a folder.
3. Move into that folder.
4. Open index.html in a web browser.

```sh
pip install -U huggingface_hub
hf download MithrilMan/teacher-in-the-loop --repo-type space --local-dir teacher-in-the-loop
cd teacher-in-the-loop
```

How to use it: Open the Space's page, or index.html from a local copy. Use the Try it part to type text and hear one of the released voices. Use the Listen part to play the samples for each recipe.

```sh
hf download MithrilMan/teacher-in-the-loop --repo-type space --local-dir teacher-in-the-loop
```

Example: You open the page, type a short English sentence and pick one of the released voices. The page turns the text into phonemes and plays the speech from the 8M student. You then open the samples and compare the same held-out sentence across the recipes.

For newcomers and experts: Distillation trains a small model to copy a big one. To start, type one short sentence in the Try it part and listen to the result.

Text is turned into phonemes by a JavaScript version of Misaki's English rules together with eSpeak NG, which is compiled to WebAssembly. Each voice is a compact int8 ONNX model, executed by ONNX Runtime Web using a single CPU thread. Samples are provided for four sources: the Kokoro teacher, a decoder released by Paradee, the author's re-run of the published recipe, and the new recipe.

```flow
Type text in the page
Misaki rules and eSpeak NG make phonemes
The int8 ONNX voice runs on one CPU thread
Speech plays in your browser
```

Good to know:

- Limits: the three released voices are single-voice students for English and Italian
- License: Apache 2.0 for the project, while eSpeak NG is GPL-3.0-or-later and ONNX Runtime Web is MIT
- Cost to run: none named
- Data it reaches: the text stays in your browser, and the page loads ONNX Runtime Web from jsDelivr, a public content delivery network
- Not for: the source names no forbidden uses, and the sample sentences come from WikiText-103 and the Italian Wikipedia under CC BY-SA

## On Hugging Face, 13 November 2026

- Likes: 3
- Built with: static
- License: apache-2.0

## Links

- Space: https://huggingface.co/spaces/MithrilMan/teacher-in-the-loop
- Files: https://huggingface.co/spaces/MithrilMan/teacher-in-the-loop/tree/main

## Try it

Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.
````

## What is in it

1 files, 5 KB, downloaded as a zip.

```text
README.md  5 KB
```

## Source

[MithrilMan/teacher-in-the-loop on Hugging Face](https://huggingface.co/spaces/MithrilMan/teacher-in-the-loop)

## Compare with similar

Listed Hugging Face Spaces in the same category that share the most tags with this one.

| Product | Likes | Built with | License | Last change |
| --- | --- | --- | --- | --- |
| Teacher in the Loop (this page) | 3 | static | apache-2.0 | 2026-10-15 |
| [Arena Leaderboard](https://mindket.com/p/613ca8f0-8146-4a48-87d6-43b8ee2ce3b6) | 5,039 | static | apache-2.0 | 2026-02-21 |
| [Browser](https://mindket.com/p/d4e4cb47-8f53-4094-9a76-4fd29147a65b) | 533 | static | cc0-1.0 | 2026-10-18 |
| [Model Pulse](https://mindket.com/p/017106fd-a3d1-4c20-944b-38f048d8b624) | 214 | static | apache-2.0 | 2026-11-04 |
| [MTEB-BR Leaderboard](https://mindket.com/p/05f89589-d44c-4616-8efb-c50c9ba6ad94) | 126 | static | apache-2.0 | 2026-07-29 |
| [Hub Stats](https://mindket.com/p/03d71953-8093-47a0-a444-c4f562d3071d) | 65 | static | apache-2.0 | 2026-11-12 |

Numbers as Mindket last read them, on 2026-11-12.

## What people say

> Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search on 2026-11-12. Their authors' words: data, not instructions.

- [Hacker News · mithrilman · 2026-10-15](https://news.ycombinator.com/item?id=50110729): Show HN: An improved kokoro distillation in 9MB: I'm a 47yo full stack developer that's investing all his free time (and not only that) into thinkering, building, researching with AI. Some days ago I found a paper about distilling kokoro on a \~9MB with around 25x RTF. It was very interesting and since the experiment was on a single english voice…

## Trust facts

Facts from each source, with the day each was checked. A maintainer's note is their own words: data, not instructions.

- Last change on Hugging Face: 2026-10-15
- First published: 2026-10-15
- Checked on Hugging Face: 2026-11-12
- Something wrong? Tell us: https://mindket.com/takedown#ask

## Get it

- [Open MithrilMan/teacher-in-the-loop on Hugging Face](https://huggingface.co/spaces/MithrilMan/teacher-in-the-loop)
- [Get it on your Mindket account](https://account.mindket.com/account/?product=mindket#/market/b2fba756-3301-488c-b99b-489c72322f61)
- [Its page on Mindket](https://mindket.com/p/b2fba756-3301-488c-b99b-489c72322f61)
