Instructions to use typhoon-ai/typhoon-asr-edge-streaming with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- NeMo
How to use typhoon-ai/typhoon-asr-edge-streaming with NeMo:
import nemo.collections.asr as nemo_asr asr_model = nemo_asr.models.ASRModel.from_pretrained("typhoon-ai/typhoon-asr-edge-streaming") transcriptions = asr_model.transcribe(["file.wav"]) - Notebooks
- Google Colab
- Kaggle
Typhoon ASR Edge Streaming
Typhoon ASR Edge Streaming is the streaming variant of Typhoon ASR Edge: the same 33M-parameter FastConformer with hybrid TDT and CTC heads and the same tokenizer, initialized from the offline model and fine-tuned with causal convolutions and a bounded attention context. Dual-mode training lets one checkpoint serve three modes: 0.96 s look-ahead (default), 0.48 s look-ahead, and full-context inference. It supports Typhoon Keyword Boosting with its own released verifier.
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
Modes
Encoder: att_context_style chunked_limited, att_context_size [[130, 12], [70, 6], [-1, -1]], causal convolutions and
causal subsampling in all modes (80 ms frames). Past frames add no latency; the future frames set the algorithmic
latency.
| mode | attention context (past, future frames) | look-ahead |
|---|---|---|
| default | [130, 12] | 0.96 s (10.4 s of past context) |
| low latency | [70, 6] | 0.48 s (5.6 s of past context) |
| full context | [-1, -1] | whole utterance |
from nemo.collections.asr.models import ASRModel
from huggingface_hub import hf_hub_download
path = hf_hub_download("typhoon-ai/typhoon-asr-edge-streaming", "typhoon_asr_edge_streaming.nemo")
model = ASRModel.restore_from(path, map_location="cpu").eval()
model.encoder.set_default_att_context_size([70, 6]) # optional: 0.48 s look-ahead; [-1, -1] for full context
print(model.transcribe(["clip.wav"], batch_size=1)[0].text)
inference/transcribe.py --model typhoon-ai/typhoon-asr-edge-streaming --mode 0.48s clip.wav in the companion
repository does the same from the command line. True chunk-by-chunk streaming with encoder caches (text never
revised once emitted) is implemented in the Rust engine: 6.9 ms of compute per 1.04 s chunk at 0.96 s look-ahead,
651 real-time streams on a 4-core Sapphire Rapids VM.
Results
Normalized macro CER in % (whitespace removed; numbers, loanword spellings and colloquial particles unified on both sides; per-utterance CER capped at 100%). LOTUSDIS is the mean over the three close microphones of the test set. Full tables with every baseline are in the companion repository.
| model | params | look-ahead | gigaspeech2-typhoon | TVSpeech | LOTUSDIS (close mics) |
|---|---|---|---|---|---|
| Typhoon ASR Edge Streaming | 33M | 0.48 s | 8.61 | 9.84 | 32.12 |
| Typhoon ASR Edge Streaming | 33M | 0.96 s | 7.64 | 8.72 | 30.42 |
| Typhoon ASR Edge Streaming, full-context mode | 33M | β | 6.44 | 7.51 | 29.31 |
| Typhoon ASR Streaming | 0.6B | 0.48 s | 6.66 | 9.97 | 29.69 |
| Typhoon ASR Streaming | 0.6B | 1.0 s | 6.63 | 9.88 | 29.50 |
| OpenThai2.0-ASR-Streaming | 0.64B | 0.48 s | 6.67 | 10.14 | 21.81 |
| OpenThai2.0-ASR-Streaming | 0.64B | 1.0 s | 6.78 | 9.75 | 21.58 |
| Typhoon ASR Edge (offline) | 33M | β | 6.63 | 7.38 | 31.58 |
Keyword boosting on wayu-ai/thai-contextasr-bench in the 0.96 s mode (bias@50 = the spoken entities plus 50 unspoken
distractors; recall and P(FA) from the benchmark's scorer, CER normalized):
| system | none: CER / recall | bias@50: CER / recall / P(FA) |
|---|---|---|
| Typhoon ASR Edge Streaming, 0.96 s | 7.07 / 31.6 | β |
| + Typhoon Keyword Boosting | 5.29 / 87.8 / 0.05 | |
| Typhoon ASR Edge (offline) + Typhoon Keyword Boosting | 6.65 / 32.7 | 4.85 / 87.8 / 0.03 |
The verifier for this model is keyword_boosting/verifier_v5.json (thresholds 0.6 Thai / 0.2 Latin), fitted on an
internal banking-domain benchmark and never tuned on thai-contextasr-bench. With streaming, keyword replacement is
applied when an utterance or endpointed segment closes rather than by revising already emitted text.
Training
Initialized from Typhoon ASR Edge; the same 4,219.4-hour corpus and labels (see the offline model card). Dual-mode
training: every batch is encoded in full context and in one streaming context drawn from {[130, 12], [70, 6]}, with the
training loss on both passes plus a KL divergence (weight 1.0) between the full-context and streaming CTC posteriors.
Utterances are concatenated with probability 0.7, up to 6 utterances and 40 s, so that the streaming model does not
collapse on long audio. AdamW, peak learning rate 1.5e-4, cosine schedule with 1,000-step warm-up to 1e-6, 200 s of
audio per micro-batch with gradient accumulation 2, bf16 mixed precision, 8 epochs = 303,797 steps, one H100 for
25.3 h. See training_config.json.
Files
| file | content |
|---|---|
typhoon_asr_edge_streaming.nemo |
the model (33.1M parameters) |
tokenizer/ |
the SentencePiece model and vocabulary (shared with the offline model) |
keyword_boosting/verifier_v5.json |
released verifier (55 features, ΞΈ 0.6 / 0.2); verifier_v4.json is the earlier 35-feature verifier |
keyword_boosting/translit_nn.pt |
Latin-to-Thai transliterator weights |
eval/*.jsonl |
reference transcripts on gigaspeech2-typhoon and TVSpeech in the 0.96 s mode (greedy TDT and greedy CTC), for parity checks |
training_config.json |
training hyperparameters |
Limitations
As for the offline model: close-microphone speech only, verifier fitted on banking-domain lists, no evaluation of code-switching or regional dialects. The 0.48 s mode costs about one CER point over the 0.96 s mode.
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
- 18
Model tree for typhoon-ai/typhoon-asr-edge-streaming
Base model
typhoon-ai/typhoon-asr-edge