You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

VISAI OpenSpeech (offline, preview)

A 337M-parameter Thai, English and Chinese speech recognition model: a FastConformer encoder with a CTC head and an attention decoder, exported to ONNX (fp32). It runs on CPU or GPU with the speech inference server in three setups:

Setup Decoding Use it for
Flash CTC greedy lowest cost; never loops
Normal attention decoder, greedy best accuracy per cost
Performance attention decoder, beam 4 best accuracy
Parameters 337M (encoder 247M, CTC head 16M, decoder 74M)
Languages Thai, English, Chinese (automatic, or set per request in the decoder setups)
Input 16 kHz audio of any length (cut at pauses into windows of up to 30 s)
Output text; token timestamps (all setups); segment timestamps, written numbers and punctuation (decoder setups)
Format ONNX (fp32), ONNX Runtime 1.20 or newer
Streaming VISAI OpenSpeech Streaming (gated preview)

Quick start

git clone https://github.com/visai-ai/visai-openspeech-inference-server && cd visai-openspeech-inference-server
docker build -f Dockerfile.gpu -t speech-server:gpu .        # or Dockerfile.cpu
export SPEECH_API_KEY="$(openssl rand -hex 24)" HF_TOKEN=hf_...   # a token with access to this repository
docker run --rm --gpus all -p 127.0.0.1:8000:8000 -e SPEECH_API_KEY -e HF_TOKEN \
  -e MODEL_REPO=VISAI-AI/visai-openspeech-offline-flash-preview -e DECODES=greedy,beam \
  -e MODES=decoder,ctc -v speech-models:/models speech-server:gpu

curl -H "Authorization: Bearer $SPEECH_API_KEY" --data-binary @audio.wav \
  "http://127.0.0.1:8000/v1/transcribe?lang=th&mode=decoder&decode=beam"

mode=ctc is Flash, mode=decoder is Normal and mode=decoder&decode=beam is Performance. Word boost works in all three setups: repeat word_boost= once per phrase (for example word_boost=Acme%20Corp) or pass one URL-encoded JSON list. See the server README for all options.

Results

Our rows: greedy decoding (Performance: beam 4), no language model, the released fp32 ONNX export, public test sets only. CER (%) for Thai and Chinese, WER (%) for English. Lower is better.

Thai weighted CER, English average WER and Chinese average CER

All Thai systems were run through one pipeline. English and Chinese baselines are published results, except Chinda ASR Pro v2 and Qwen-Audio 3.1 ASR Flash (commercial APIs), which we ran through our pipeline. The Chinese average leaves out FLEURS, which the published baselines do not report.

Thai (CER %; Thai ASR leaderboard sets and weighted index; every model run through the same pipeline)

Model Params Index FLEURS Isan TV GigaSpeech2 Meeting close Meeting far
VISAI OpenSpeech, Performance 337M 13.48 6.62 4.79 4.67 9.51 19.88 43.14
VISAI OpenSpeech, Normal 337M 13.79 6.66 4.84 4.77 9.64 20.52 44.16
VISAI OpenSpeech, Flash (CTC) 337M 15.23 7.36 5.69 6.21 10.83 21.74 48.49
PoopeyASR-50M 50.5M 13.33 7.27 5.49 5.28 10.29 16.58 45.45
Pathumma STT FastConformer 114M 16.61 6.13 7.97 7.73 13.04 21.97 53.63
Typhoon Qwen-ASR 1.7B 1.7B 19.32 6.32 20.48 5.99 11.41 24.30 61.85
Typhoon Whisper turbo 809M 20.40 7.90 20.23 6.38 12.12 25.19 66.50
Lomasub-open 166M 21.14 8.66 18.74 5.50 11.62 25.72 76.03
Typhoon Whisper large-v3 1.55B 21.40 7.43 12.21 5.72 12.08 27.56 84.50
Typhoon ASR Edge 33M 22.60 8.55 17.41 8.26 13.39 30.16 73.77
Qwen3-ASR 1.7B 1.7B 22.86 6.55 27.44 10.07 11.96 26.33 73.20
Thonburian Whisper large-v3 1.55B 25.29 7.05 27.49 12.32 16.30 29.53 77.22

Index weights: FLEURS .15, Isan .15, TV .175, GigaSpeech2 .175, meeting close .25, meeting far .10. Our training data includes the FLEURS, Isan, GigaSpeech2 and LOTUSDIS (meeting) train splits (Isan test speakers may overlap). PoopeyASR-50M (Paxa Labs, a co-maintainer of the leaderboard) also trains on these four corpora, and Typhoon ASR Edge trains on the FLEURS, Isan and LOTUSDIS train splits, per their model cards.

English (WER %; baselines from the archived Open ASR Leaderboard, 2025-12-17; 7 sets, TED-LIUM excluded as its references are no longer distributed)

Model Params Avg (7) LS clean LS other AMI Earnings22 GigaSpeech SPGI VoxPopuli
VISAI OpenSpeech, Performance 337M 7.47 3.34 6.87 10.21 12.07 10.45 2.42 6.95
VISAI OpenSpeech, Normal 337M 7.53 3.42 7.11 10.24 12.02 10.44 2.44 7.06
VISAI OpenSpeech, Flash (CTC) 337M 9.36 4.70 9.04 11.15 14.96 11.40 4.97 9.27
parakeet-tdt-0.6b-v2 0.6B 6.44 1.69 3.19 11.16 11.15 9.74 2.17 5.95
canary-1b-flash 1B 6.81 1.48 2.87 13.11 12.77 9.85 1.95 5.63
whisper-large-v3 1.55B 7.95 2.01 3.91 15.95 11.29 10.02 2.94 9.54
whisper-large-v3-turbo 809M 8.44 2.10 4.24 16.13 11.63 10.14 2.97 11.87

Chinese (CER %; baselines from the SenseVoice report, arXiv:2407.04051)

Model Params AISHELL-1 WenetSpeech net WenetSpeech meeting FLEURS zh
VISAI OpenSpeech, Performance 337M 4.62 10.61 6.83 10.01
VISAI OpenSpeech, Normal 337M 4.90 11.33 7.10 10.31
VISAI OpenSpeech, Flash (CTC) 337M 4.91 11.39 7.48 10.64
Paraformer-zh 220M 1.95 6.74 6.97 n/r
SenseVoice-Small 234M 2.96 7.84 7.44 n/r
whisper-large-v3 1.55B 5.14 10.48 18.87 n/r

Our training data includes the AMI, GigaSpeech, SPGISpeech, VoxPopuli, AISHELL-1, WenetSpeech and FLEURS train splits; recordings that overlap any test set were removed. Chinese CER uses traditional-to-simplified conversion and number normalization; English uses the Whisper normalizer. Normalizers differ between sources, so compare with published baselines only roughly.

Speed (one V100, fp32 graphs, offline batch decoding of the Thai test sets): real-time factor 0.0033 (Flash), 0.0047 (Normal), 0.0060 (Performance).

Model

  • Encoder: FastConformer, 18 layers, d=768, 12 heads, 8x subsampling (80 ms frames), SwiGLU, RoPE attention.
  • Heads: CTC (21,254 labels) and a 6-layer Transformer decoder (d=768) with Whisper-style prompt tokens (language, written numbers, punctuation, timestamps).
  • Tokenizer: SentencePiece unigram with byte fallback, 21,885 tokens.
  • Front end: 80-bin log-mel, 25 ms window, 10 ms hop.

Training data

71.5k hours after deduplication and test-set decontamination (Thai 28.5k, English 31.4k, Chinese 11.6k): 54.3k from public corpora and 17.2k of in-house data. See the technical report for sources.

Limitations

  • Thai, English and Chinese only.
  • The attention decoder can repeat itself on hard audio (far-field meetings, noise, music). Output is capped at 448 tokens per 30 s window. Flash (CTC) never loops.
  • Far-field and overlapped speech remain hard (see the meeting columns).
  • Prompt options and timestamps: our test scores use normalized text, so they do not measure written or spoken numbers, dates and units (itn) or punctuation and case (pnc). We also have not measured segment or token timestamp accuracy, or decoder test accuracy without a language tag (lang=auto or omitted). Check them on your own audio first.
  • Short clips and numbers: on clips under about 2 s, Flash (CTC) can return empty text or characters of another language. Thai numbers read one digit at a time (for example a year read "five four") can come out as a spoken cardinal ("fifty-four"), because our training labels rendered every Thai integer as a cardinal. As a result, the decoder's written-numbers option (itn) does not always behave as expected for numbers. We intend to fix both in the next release.
  • Preview release: review transcripts before high-stakes use.

License

CC BY-SA 4.0.

Citation

@misc{chaksangchaichot2026visaiopenspeech,
  title  = {VISAI OpenSpeech: An Encoder-Decoder ASR Model with Adjustable Inference Cost},
  author = {Chaksangchaichot, Chompakorn},
  year   = {2026},
  publisher = {VISAI AI},
  url    = {https://huggingface.co/VISAI-AI/visai-openspeech-offline-flash-preview}
}
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including VISAI-AI/visai-openspeech-offline-flash-preview

Paper for VISAI-AI/visai-openspeech-offline-flash-preview