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…
Compares three English speech recognition models from one ESPnet2 Conformer setup, using bpe, character and word tokens, in a Gradio page with example audio. For speech researchers and students.
ESPNet2 ASR Librispeech word vs bpe tokens 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 jkang/espnet2_librispeech_100h_word_vs_bpe_vs_char --repo-type space --local-dir espnet2_librispeech_100h_word_vs_bpe_vs_char cd espnet2_librispeech_100h_word_vs_bpe_vs_char
This Gradio app puts three English speech recognition models side by side. They are ESPnet2 Conformer models trained on Librispeech, and the author's notes say they differ in how text is split: bpe, character or word units. The repository holds example audio in two folders.
It suits speech researchers and students who want to hear how the choice of token unit changes a recognizer's output. Developers can read the main script as a small multi-model demo. The record gives no error rates.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Research | Speech researchers | Compare token units for the same kind of model | Run one clip through all three models |
| Education | Students of speech technology | See how bpe, character and word outputs differ | Compare the three transcripts of one clip |
| Software | Python developers | Read a Gradio script that serves three models | Open the main file and packages.txt |
You can skip it if your audio is not in English.
| Use case | Who | What they get back |
|---|---|---|
| Compare token units | Researchers | Transcripts from the bpe, character and word models |
| Try the bundled examples | Students | A quick sense of how each model hears |
| Study the script | Developers | A Gradio app that serves several models |
pip install -U huggingface_hub hf download jkang/espnet2_librispeech_100h_word_vs_bpe_vs_char --repo-type space --local-dir espnet2_librispeech_100h_word_vs_bpe_vs_char cd espnet2_librispeech_100h_word_vs_bpe_vs_char pip install gradio pip install -r requirements.txt python gradio_asr_en_libri100_word_vs_bpe.py
Online, open the Space and use the controls on its page. On your own machine, run the main file from the Space folder, then use the page it serves. The example audio files are the quickest way to try it.
python gradio_asr_en_libri100_word_vs_bpe.py
You open the Space and run one of the example clips. The app returns the English text from each of the three models, so you can compare them line by line. The record does not describe the controls, so check the page.
A speech recognizer writes text in small pieces. Those pieces can be whole words, single characters or word parts, called bpe. Start by opening the Space and running one example to see how the three outputs differ.
If you know the field, the three models share one Conformer setup and differ in their token unit, which makes this a handy side-by-side view of that choice. The author's notes mention audio reading problems with live recording, so test with the examples first.
Compares three English speech recognition models from one ESPnet2 Conformer setup, using bpe, character and word tokens, in a Gradio page with example audio. For speech researchers and students.
Made by jkang 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: This Gradio app puts three English speech recognition models side by side. They are ESPnet2 Conformer models trained on Librispeech, and the author's notes say they differ in how text is split: bpe, character or word units. The repository holds example audio in two folders.
Who it suits: It suits speech researchers and students who want to hear how the choice of token unit changes a recognizer's output. Developers can read the main script as a small multi-model demo. The record gives no error rates.
Industry | Who uses it | How they use it | Example
Research | Speech researchers | Compare token units for the same kind of model | Run one clip through all three models
Education | Students of speech technology | See how bpe, character and word outputs differ | Compare the three transcripts of one clip
Software | Python developers | Read a Gradio script that serves three models | Open the main file and packages.txt
You can skip it if your audio is not in English.
Where to use it:
Use case | Who | What they get back
Compare token units | Researchers | Transcripts from the bpe, character and word models
Try the bundled examples | Students | A quick sense of how each model hears
Study the script | Developers | A Gradio app that serves several models
How to set it up:
pip install -U huggingface_hub
hf download jkang/espnet2_librispeech_100h_word_vs_bpe_vs_char --repo-type space --local-dir espnet2_librispeech_100h_word_vs_bpe_vs_char
cd espnet2_librispeech_100h_word_vs_bpe_vs_char
pip install gradio
pip install -r requirements.txt
python gradio_asr_en_libri100_word_vs_bpe.py
How to use it: Online, open the Space and use the controls on its page. On your own machine, run the main file from the Space folder, then use the page it serves. The example audio files are the quickest way to try it.
python gradio_asr_en_libri100_word_vs_bpe.py
Example: You open the Space and run one of the example clips. The app returns the English text from each of the three models, so you can compare them line by line. The record does not describe the controls, so check the page.
For newcomers and experts: A speech recognizer writes text in small pieces. Those pieces can be whole words, single characters or word parts, called bpe. Start by opening the Space and running one example to see how the three outputs differ.
If you know the field, the three models share one Conformer setup and differ in their token unit, which makes this a handy side-by-side view of that choice. The author's notes mention audio reading problems with live recording, so test with the examples first.
You choose an example or give audio
The Gradio page sends it to the script
Three ESPnet2 models decode it
The page shows each transcript
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 4 KB
Listed Hugging Face Spaces in the same category that share the most tags with this one.
| Product | Likes | Built with | License | Last change |
|---|---|---|---|---|
| ESPNet2 ASR Librispeech word vs bpe tokens This page | 3 | gradio | mit | |
| Open VLM LeaderboardShares gradio | 1,034 | gradio | apache-2.0 | |
| Face SwapShares gradio | 808 | gradio | cc-by-nc-sa-4.0 | |
| TTS Spaces ArenaShares gradio | 493 | gradio | zlib | |
| Depth Anything 3Shares gradio | 490 | gradio | cc-by-nc-4.0 | |
| BLIPShares gradio | 431 | gradio | bsd-3-clause |
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…