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…
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.
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
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.
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.
| 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 |
Online, nothing needs installing. A local copy needs a browser and a little Python for the download.
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
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
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.
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.
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.
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:
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.
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:
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.
README.md 5 KB
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 | |
| Arena LeaderboardShares static | 5,039 | static | apache-2.0 | |
| BrowserShares static | 533 | static | cc0-1.0 | |
| Model PulseShares static | 214 | static | apache-2.0 | |
| MTEB-BR LeaderboardShares static | 126 | static | apache-2.0 | |
| Hub StatsShares static | 65 | static | apache-2.0 |
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.
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…
Qwen · Kit
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…
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…
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…
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…
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…