Lomasub-open is a fast and accurate Thai speech recognition model for lightweight deployment. It has 166M parameters, runs on a common CPU, and has the lowest CER of all open models on TVSpeech and GigaSpeech2.
| File | Format | Size |
|---|---|---|
model.safetensors |
transformers / vLLM, bfloat16 | 332 MB |
ggml-lomasub-open-q4_0.bin |
whisper.cpp, 4-bit (q4_0) | 103 MB |
CER (%) under dual-reference scoring on the audio-checked references of lomasub/thai_asr_corrected; lower is better.
| Model | Params | TVSpeech | GigaSpeech2 | FLEURS |
|---|---|---|---|---|
| Open models | ||||
| Lomasub-open (ours) | 166M | 3.60 | 6.00 | 2.51 |
| Typhoon Whisper Large-v3 | 1,543M | 4.21 | 6.29 | 2.38 |
| Typhoon Whisper Turbo | 809M | 4.65 | 7.32 | 2.95 |
| Pathumma Whisper Large-v3 | 1,543M | 5.55 | 8.36 | 2.83 |
| Qwen3-ASR-1.7B | 2,349M | 6.34 | 8.19 | 3.04 |
| Typhoon ASR Real-time | 115M | 6.50 | 9.67 | 4.57 |
| Thonburian Whisper Medium | 764M | 8.35 | 10.74 | 3.14 |
| iApp OpenThai2.0-ASR-Streaming | 640M | 8.49 | 11.05 | 4.37 |
| Qwen3-ASR-0.6B | 938M | 8.82 | 11.67 | 5.08 |
| Whisper large-v3 | 1,543M | 10.48 | 12.89 | 4.69 |
| Whisper large-v3-turbo | 809M | 15.40 | 20.02 | 9.79 |
| Whisper small | 242M | 30.43 | 32.71 | 20.74 |
| Commercial services | ||||
| Lomasub (teacher) | 2.65 | 3.52 | 1.20 | |
| MAI Transcribe 2 | 2.97 | 2.67 | 1.04 | |
| ElevenLabs Scribe v2 | 3.10 | 3.34 | 1.22 | |
| Paxa STT-Lite | 2.96 | 2.94 | 1.25 | |
| Gemini 3.5 Live | 4.65 | 7.90 | 1.38 | |
| OpenAI gpt-transcribe | 6.01 | 8.17 | 2.09 |
Bold marks the best in each group; commercial services publish no size. TVSpeech: 570 clips; GigaSpeech2: 500 Thai test segments; FLEURS: 495 Thai test clips. Scores on the original labels are in the paper.
RTFx is seconds of audio transcribed per second on four CPU cores; higher is faster. Lomasub-open runs at 8.3 times real time with transformers in float32, and at 10.0 times with the 4-bit whisper.cpp file.
Requires transformers 5 (tested with 5.17). Input audio is 16 kHz; clips up to 30 seconds.
from transformers import pipeline
asr = pipeline("automatic-speech-recognition", model="lomasub/lomasub-open")
result = asr("audio.wav", generate_kwargs={"language": "th", "task": "transcribe"})
print(result["text"])
For longer audio, pass chunk_length_s=30 to the pipeline.
ggml-lomasub-open-q4_0.bin is the model quantized to 4 bits for whisper.cpp. It takes 103 MB instead of 332 MB, its FLEURS CER is nearly the same (2.44% against 2.51%), and it runs 10.0 times faster than real time on four CPU cores. It works in stock whisper.cpp, with no patches.
# 1. Build whisper.cpp
git clone https://github.com/ggml-org/whisper.cpp
cd whisper.cpp
cmake -B build
cmake --build build -j --config Release
# 2. Download the model
hf download lomasub/lomasub-open ggml-lomasub-open-q4_0.bin --local-dir .
# 3. whisper.cpp reads 16 kHz mono WAV; convert other formats with ffmpeg
ffmpeg -i input.mp3 -ar 16000 -ac 1 -c:a pcm_s16le audio.wav
# 4. Transcribe in Thai, without timestamps, on 4 threads
./build/bin/whisper-cli -m ggml-lomasub-open-q4_0.bin -f audio.wav -l th -nt -t 4
Always pass -l th. For audio longer than 30 seconds, also pass -mc 0, so each 30-second window is decoded without the previous window's text as a prompt.
This work was conducted in collaboration with Innovative Extremist Co., Ltd., which provided financial support and led real-world adoption with Thai publishers and broadcasters.
@misc{kessaraphong2026lomasubopen,
title = {Lomasub-open: Fast and Accurate Thai Speech Recognition for Lightweight Deployment},
author = {Nawawit Kessaraphong},
year = {2026}
}
有文件?提交种子。
发布种子model.safetensors 317 MiBggml-lomasub-open-q4_0.bin 98 MiB