Mindket

Teacher in the Loop

Newversion 1 · updated

Overview

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 . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • 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
Runs in
  • 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
Start with
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

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

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.

IndustryWho uses itHow they use itExample
Speech researchResearchers in distillationCompare the teacher with the 8M studentsListening to the same sentence from each model
SoftwareDevelopers of offline voice toolsTry an int8 voice that runs on one CPU threadChecking how a small voice sounds in a browser
EducationStudents of speech synthesisSee text turned into phonemes and then speechReading 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 caseWhoWhat they get back
Try a released voiceAnyoneSpeech generated in the browser
Listen to the samplesResearchersAudio from the teacher and the student recipes for held-out sentences
Study the browser pipelineDevelopersA 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.
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.

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.

  1. Type text in the page
  2. Misaki rules and eSpeak NG make phonemes
  3. The int8 ONNX voice runs on one CPU thread
  4. 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 and files

README

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.

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

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

On Hugging Face, 13 November 2026

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

Links

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.

Files
README.md  5 KB

1 file, 5 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

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

ProductLikesBuilt withLicenseLast change
Teacher in the Loop This page3staticapache-2.0
Arena LeaderboardShares static5,039staticapache-2.0
BrowserShares static533staticcc0-1.0
Model PulseShares static214staticapache-2.0
MTEB-BR LeaderboardShares static126staticapache-2.0
Hub StatsShares static65staticapache-2.0
Numbers as Mindket last read them, on 2026-11-12.

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

Searched

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Research

See all in Research

Merlin-Cancer-Super

AbdomenAtlas · Kit

Detects and outlines tumors in 9 organs on CT scans, trained with the R-Super method that learns from radiology reports. A research model for medical imaging g…

New

EarthJev

dBenf · Kit

Answers typed questions about satellite image patches from all 12 Sentinel-2 bands, returning a probability for each option without writing text. A Qwen3.5-0.8…

New

getting-over-it-rl-jax

zimmerk4 · Kit

Plays the full game Getting Over It from the bottom to the end with a small trained policy network that learned inside a JAX physics simulator. For reinforceme…

New