Instructions to use typhoon-ai/typhoon-asr-edge with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- NeMo
How to use typhoon-ai/typhoon-asr-edge with NeMo:
import nemo.collections.asr as nemo_asr asr_model = nemo_asr.models.ASRModel.from_pretrained("typhoon-ai/typhoon-asr-edge") transcriptions = asr_model.transcribe(["file.wav"]) - Notebooks
- Google Colab
- Kaggle
Typhoon ASR Edge
Typhoon ASR Edge is a 33M-parameter Thai speech recognition model for CPU and edge deployment: a FastConformer
encoder with a hybrid token-and-duration transducer (TDT) head and an auxiliary CTC head, trained from scratch on
4,219 hours of openly licensed Thai speech. The CTC head makes Typhoon Keyword Boosting possible: a keyword list
supplied at decode time raises entity recall on thai-contextasr-bench from 32.7% to 87.8% without retraining.
Links & Resources
- Paper: arXiv:2611.39339
- Offline Model: typhoon-ai/typhoon-asr-edge
- Streaming Model: typhoon-ai/typhoon-asr-edge-streaming
- Keyword Boosting & Evaluation: https://github.com/warit-s/typhoon-asr-edge
- Rust Inference Engine: https://github.com/pongib/typhoon-asr-inference
- Website: https://opentyphoon.ai
- Demo: Warit/typhoon-asr-edge-demo
Model
| encoder | FastConformer, 16 layers, d = 256, 4 attention heads, 8× subsampling (one frame per 80 ms) |
| heads | TDT transducer (durations 0–4) + auxiliary CTC head (loss weight 0.3) |
| tokenizer | SentencePiece BPE, 2,048 pieces (tokenizer/), full Thai character set, a–z, A–Z, 0–9 |
| parameters | 33.1M |
| input | 16 kHz mono; 80-bin log-mel, 25 ms window / 10 ms hop |
| framework | NeMo (EncDecHybridRNNTCTCBPEModel), checkpoint typhoon_asr_edge.nemo |
Since CTC can emit at most one token per encoder frame and Thai speech typically exceeds ten characters per second, a character-level tokenizer would require a finer frame rate. The 2,048-piece BPE tokenizer averages about three characters per piece, which lets the CTC head operate at 80 ms frames while keeping the efficiency of 8× subsampling. The model writes numbers as Thai words, as its training labels do.
Usage
from nemo.collections.asr.models import ASRModel
from huggingface_hub import hf_hub_download
path = hf_hub_download("typhoon-ai/typhoon-asr-edge", "typhoon_asr_edge.nemo")
model = ASRModel.restore_from(path, map_location="cpu").eval()
print(model.transcribe(["clip.wav"], batch_size=1)[0].text) # greedy TDT decoding
The companion repository provides a command-line transcriber, the keyword-boosting pipeline and the scorer:
git clone https://github.com/warit-s/typhoon-asr-edge && cd typhoon-asr-edge
python inference/transcribe.py clip.wav
cd boosting && python -m asr.pipeline clip.wav --keywords "ต้นสรชัย,Khlong Toei"
For CPU serving (OpenAI-compatible HTTP and WebSocket streaming, keyword boosting included) use the Rust engine: 6.5 ms per 3.7 s utterance on 8 threads of a 4-core Sapphire Rapids VM, 15.8 ms on one thread, 17,019 requests per minute with 8 workers, 0.4 GB resident memory.
Typhoon Keyword Boosting
Given a keyword list, the pipeline (1) searches the CTC posteriors for each listed keyword, (2) verifies every
candidate by re-scoring the edited sentence under both the transducer and CTC heads with a gradient-boosted
classifier (55 features), and (3) writes the accepted keywords into the transcript. The released verifier for this
model is keyword_boosting/verifier_v5.json (thresholds 0.6 Thai / 0.3 Latin), fitted on an internal banking-domain
benchmark and never tuned on thai-contextasr-bench; keyword_boosting/translit_nn.pt is the Latin-to-Thai
transliterator used for Latin-script keywords. See keyword_boosting/README.md.
Results
Normalized macro CER in % (whitespace removed; digits versus Thai number words, loanword spellings and colloquial particles unified on both sides; per-utterance CER capped at 100%). LOTUSDIS is the mean over the three close microphones (lapel, conference microphone, speakerphone) of the test set. Full tables with every baseline, and the hypotheses they were computed from, are in the companion repository.
| model | params | gigaspeech2-typhoon | TVSpeech | LOTUSDIS (close mics) |
|---|---|---|---|---|
| Gemini 3.5 Transcribe | – | 4.95 | 5.06 | 23.24 |
| Typhoon Whisper Large V3 | 1.55B | 4.51 | 4.74 | 26.41 |
| Qwen3-ASR-1.7B | 1.7B | 5.35 | 7.70 | 24.09 |
| Typhoon ASR Real-time | 115M | 5.50 | 7.23 | 29.32 |
| Typhoon ASR Edge | 33M | 6.63 | 7.38 | 31.58 |
| Typhoon ASR Edge Streaming, full-context mode | 33M | 6.44 | 7.51 | 29.31 |
Keyword boosting on wayu-ai/thai-contextasr-bench (2,062 utterances; bias@50 = the spoken entities plus 50 unspoken
distractors). Recall and P(FA) (percentage of unspoken distractors that appear in the transcript) from the benchmark's
own scorer; CER normalized as above.
| system | none: CER / recall | bias@50: CER / recall / P(FA) | bias@500: recall / P(FA) |
|---|---|---|---|
| Typhoon ASR Edge | 6.65 / 32.7 | – | – |
| Typhoon ASR Edge + Typhoon Keyword Boosting | 4.85 / 87.8 / 0.03 | 80.2 / 0.01 | |
| Qwen3-ASR-1.7B, keyword list in the prompt | 5.89 / 39.1 | 6.18 / 52.3 / 0.43 | 41.1 / 0.01 |
| Nemotron-3.5-Transcribe, keyword list in the prompt | 12.75 / 43.6 | 5.86 / 75.4 / 0.15 | 37.0 / 19.4 |
| Azure AI Speech + phrase list | 5.02 / 45.3 | 4.65 / 56.4 / 0.01 | 55.4 / 0.01 |
| Gemini 3.5 Transcribe + custom vocabulary | 3.57 / 65.7 | 2.76 / 90.6 / 0.01 | 82.1 / 0.01 |
Training data
Every source is a public dataset with a permissive or share-alike licence; the released weights are CC-BY-SA-4.0 because of the share-alike sources. The corpus is relabelled by teacher consensus (Typhoon Whisper Large V3, Typhoon Whisper Turbo, Qwen3-ASR-1.7B) under the Typhoon ASR Real-time transcription guideline; utterances on which the teachers disagree are discarded (24.5% of the source hours).
| source | hours | licence |
|---|---|---|
| YODAS3 and YODAS2 (YouTube, Creative Commons segments) | 3,203.2 | CC-BY-3.0 |
| Porjai (Central and Korat) | 716.9 | CC-BY-SA-4.0 |
| Common Voice 17, Thai | 195.0 | CC0 |
| LOTUSDIS train (mostly close microphones) | 45.9 | CC-BY-SA-4.0 |
| THAI-SER | 30.3 | CC-BY-SA-4.0 |
| Isan conversational speech corpus | 19.7 | Apache-2.0 |
| FLEURS, Thai train | 8.4 | CC-BY-4.0 |
| total | 4,219.4 |
No GigaSpeech2, no in-house media and no synthetic speech are used. The even-indexed half of thai-contextasr-bench
was among the human-verified utterances used to build the training labels; the odd-indexed half is untouched.
Training setup
Random initialization; AdamW (β = 0.9/0.98, weight decay 1e-3), peak learning rate 3e-4, cosine schedule with
5,000-step warm-up to 1e-6, 200 s of audio per micro-batch with gradient accumulation 2, utterances of 0.3–30 s,
SpecAugment (2 frequency masks of width 27, 10 time masks of 5%), FastEmit λ = 1e-3, gradient clipping 1.0,
bf16 mixed precision, 10 epochs = 379,747 steps, one H100 for 15.9 h. See training_config.json.
Files
| file | content |
|---|---|
typhoon_asr_edge.nemo |
the model |
tokenizer/ |
the SentencePiece model and vocabulary |
keyword_boosting/verifier_v5.json |
released verifier (55 features, 300 trees, θ 0.6 / 0.3); verifier_v4.json is the earlier 35-feature verifier |
keyword_boosting/translit_nn.pt |
Latin-to-Thai transliterator weights |
eval/*.jsonl |
reference transcripts of this checkpoint on gigaspeech2-typhoon and TVSpeech (greedy TDT and greedy CTC), for parity checks |
training_config.json |
training hyperparameters |
Limitations
The model is trained and evaluated on close-microphone speech; it degrades on distant, reverberant microphones (73–84% CER on the LOTUSDIS Bluetooth channels at 3 m and 10 m). The keyword-boosting verifier is fitted on banking-domain entity lists; other domains may need threshold recalibration. Code-switching and regional dialects are not evaluated.
Licence and citation
Model weights: CC-BY-SA-4.0. Code: Apache-2.0.
@misc{typhoonasredge2026,
title = {Typhoon ASR Edge: A 33M-Parameter Thai Speech Recognition Model with Decode-Time Keyword Boosting},
author = {Sirichotedumrong, Warit and Na-Thalang, Adisai and Wani, Shah Faisal and Samutsin, Tanawin and Sripaisarnmongkol, Sittipong},
year = {2026},
eprint = {2611.39339},
archivePrefix = {arXiv},
primaryClass = {cs.CL},
url = {https://arxiv.org/abs/2611.39339}
}
- Downloads last month
- 30