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…
Turns Chinese and English speech into text inside your browser on WebGPU, from audio files or a live microphone. It suits people who want transcripts without sending audio to a server.
Confucius4-R2T2 WebGPU is a kit in the Productivity 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 mrfakename/confucius4-r2t2-webgpu --repo-type space --local-dir confucius4-r2t2-webgpu cd confucius4-r2t2-webgpu
Confucius4-R2T2 WebGPU is a static web page that turns Chinese and English speech into text. It runs the Confucius4-R2T2 speech recognition model, a fine-tune of Qwen3-ASR-1.7B, on your own graphics card. Everything happens on your side of the connection, and the page takes both audio files and a live microphone.
People who need a transcript of Chinese or English speech and prefer that the audio is processed on their own machine.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Media | Journalists and editors | Turn spoken interviews into text | A recorded interview clip |
| Education | Language learners | Get written text from spoken practice | A short reading in Chinese |
| Software | Web developers | Study a speech recognition pipeline built for WebGPU | Reading index.html and the worker script |
| Accessibility | Note takers | Capture speech live from a microphone | A short spoken memo |
If your browser has no WebGPU, you can skip it, since the fallback path takes minutes per clip.
| Use case | Who | What they get back |
|---|---|---|
| File transcription | Anyone with recordings | Text from an audio file, with long audio cut into pieces of 30 seconds or less |
| Live dictation | Speakers and note takers | Text from the microphone as you talk |
| Code study | Developers | A browser-side speech pipeline to read and adapt |
pip install -U huggingface_hub hf download mrfakename/confucius4-r2t2-webgpu --repo-type space --local-dir confucius4-r2t2-webgpu cd confucius4-r2t2-webgpu
Open the Space page, or index.html from your copy, then give it an audio file or switch to the live microphone. The first visit downloads the model weights before any text appears.
| Tool | What it does |
|---|---|
| index.html | The page you open to transcribe audio |
| examples/ | Sample audio, including a Chinese clip and English clips |
You open the page in a WebGPU browser and load the Chinese example clip. The page decodes the speech and shows the words it heard as written text.
Start with an example clip from the examples folder. The first load is slow because the model weights download once, and after that your browser keeps them.
The audio encoder and the decoder both run on WebGPU through onnxruntime-web, using a quantized ONNX export, and the key-value cache stays on the GPU between steps. Greedy decoding runs in a Web Worker. For the microphone it uses a 16 second rolling window, reuses finished text as the decoding prefix and rolls back the last token. Weights arrive through parallel range requests and sit in the Cache API.
Turns Chinese and English speech into text inside your browser on WebGPU, from audio files or a live microphone. It suits people who want transcripts without sending audio to a server.
Made by mrfakename 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: Confucius4-R2T2 WebGPU is a static web page that turns Chinese and English speech into text. It runs the Confucius4-R2T2 speech recognition model, a fine-tune of Qwen3-ASR-1.7B, on your own graphics card. Everything happens on your side of the connection, and the page takes both audio files and a live microphone.
Who it suits: People who need a transcript of Chinese or English speech and prefer that the audio is processed on their own machine.
Industry | Who uses it | How they use it | Example
Media | Journalists and editors | Turn spoken interviews into text | A recorded interview clip
Education | Language learners | Get written text from spoken practice | A short reading in Chinese
Software | Web developers | Study a speech recognition pipeline built for WebGPU | Reading index.html and the worker script
Accessibility | Note takers | Capture speech live from a microphone | A short spoken memo
If your browser has no WebGPU, you can skip it, since the fallback path takes minutes per clip.
Where to use it:
Use case | Who | What they get back
File transcription | Anyone with recordings | Text from an audio file, with long audio cut into pieces of 30 seconds or less
Live dictation | Speakers and note takers | Text from the microphone as you talk
Code study | Developers | A browser-side speech pipeline to read and adapt
How to set it up:
pip install -U huggingface_hub
hf download mrfakename/confucius4-r2t2-webgpu --repo-type space --local-dir confucius4-r2t2-webgpu
cd confucius4-r2t2-webgpu
How to use it: Open the Space page, or index.html from your copy, then give it an audio file or switch to the live microphone. The first visit downloads the model weights before any text appears.
Tool | What it does
index.html | The page you open to transcribe audio
examples/ | Sample audio, including a Chinese clip and English clips
Example: You open the page in a WebGPU browser and load the Chinese example clip. The page decodes the speech and shows the words it heard as written text.
For newcomers and experts: Start with an example clip from the examples folder. The first load is slow because the model weights download once, and after that your browser keeps them.
The audio encoder and the decoder both run on WebGPU through onnxruntime-web, using a quantized ONNX export, and the key-value cache stays on the GPU between steps. Greedy decoding runs in a Web Worker. For the microphone it uses a 16 second rolling window, reuses finished text as the decoding prefix and rolls back the last token. Weights arrive through parallel range requests and sit in the Cache API.
Audio comes from a file or the microphone
Long audio is split at quiet points
Encoder and decoder run on WebGPU
Written text appears on the page
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 |
|---|---|---|---|---|
| Confucius4-R2T2 WebGPU This page | 1 | static | apache-2.0 | |
| DALL·E miniShares static | 5,750 | static | apache-2.0 | |
| Kokoro Text-to-Speech (WebGPU)Shares static | 369 | static | apache-2.0 | |
| DALL·E mini by flax-communityShares static | 342 | static | apache-2.0 | |
| Supertonic 3 (TTS)Shares static | 291 | static | openrail | |
| XortronDesktopShares static | 30 | static | wtfpl |
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…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
zarazhangrui · Skill
Builds HTML presentations from scratch or from a PowerPoint file and shows visual style previews to pick from, for people who want web slides with no CSS or Ja…
iptv-org · Kit
Collects publicly available live TV channels from many countries into playlists that any video player with live streaming can open. Made for viewers and for de…