Mindket

ESPNet2 ASR Librispeech word vs bpe tokens

Newversion 1 · updated

Overview

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.

At a glance

You need
  • Nothing at all if you use the online Space
  • Python on your computer, only if you run a copy
  • The packages listed in requirements.txt
  • System packages from packages.txt, which Hugging Face installs with apt-get
Runs in
  • A web browser, on the Space's page on Hugging Face
  • Windows, macOS or Linux with Python, from a downloaded copy
Start with
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

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

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.

IndustryWho uses itHow they use itExample
ResearchSpeech researchersCompare token units for the same kind of modelRun one clip through all three models
EducationStudents of speech technologySee how bpe, character and word outputs differCompare the three transcripts of one clip
SoftwarePython developersRead a Gradio script that serves three modelsOpen the main file and packages.txt

You can skip it if your audio is not in English.

Where to use it

  • A web browser, on the Space's page on Hugging Face
  • Windows, macOS or Linux with Python, from a downloaded copy
Use caseWhoWhat they get back
Compare token unitsResearchersTranscripts from the bpe, character and word models
Try the bundled examplesStudentsA quick sense of how each model hears
Study the scriptDevelopersA Gradio app that serves several models

How to set it up

  • Nothing at all if you use the online Space
  • Python on your computer, only if you run a copy
  • The packages listed in requirements.txt
  • System packages from packages.txt, which Hugging Face installs with apt-get
  1. Open the Space's page in a browser to use it with nothing to install.
  2. To run a copy, install the Hugging Face Hub package and download the Space.
  3. Move into the new folder, then install Gradio and the listed requirements.
  4. Start the app with Python, using the main file named in the command below.
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.

  1. You choose an example or give audio
  2. The Gradio page sends it to the script
  3. Three ESPnet2 models decode it
  4. The page shows each transcript

Good to know

  • License: MIT, as listed on the Space
  • Cost to run: none named
  • Data it reaches: the audio you give it, the three models it names and the example clips
  • Not for: non-English speech, and live recording may not work, as the author's notes say

README and files

README

ESPNet2 ASR Librispeech word vs bpe tokens

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.

About

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:

  • A web browser, on the Space's page on Hugging Face
  • Windows, macOS or Linux with Python, from a downloaded copy
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:

  • Nothing at all if you use the online Space
  • Python on your computer, only if you run a copy
  • The packages listed in requirements.txt
  • System packages from packages.txt, which Hugging Face installs with apt-get
  1. Open the Space's page in a browser to use it with nothing to install.
  2. To run a copy, install the Hugging Face Hub package and download the Space.
  3. Move into the new folder, then install Gradio and the listed requirements.
  4. Start the app with Python, using the main file named in the command below.
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:

  • License: MIT, as listed on the Space
  • Cost to run: none named
  • Data it reaches: the audio you give it, the three models it names and the example clips
  • Not for: non-English speech, and live recording may not work, as the author's notes say

On Hugging Face, 13 November 2026

  • Likes: 3
  • Built with: gradio
  • License: mit

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  4 KB

1 file, 4 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-13

Compare with similar

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

ProductLikesBuilt withLicenseLast change
ESPNet2 ASR Librispeech word vs bpe tokens This page3gradiomit
Open VLM LeaderboardShares gradio1,034gradioapache-2.0
Face SwapShares gradio808gradiocc-by-nc-sa-4.0
TTS Spaces ArenaShares gradio493gradiozlib
Depth Anything 3Shares gradio490gradiocc-by-nc-4.0
BLIPShares gradio431gradiobsd-3-clause
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

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