Automatic Speech Recognition
Transformers
Safetensors
Thai
whisper
thai
speech-recognition
knowledge-distillation
Eval Results (legacy)
Instructions to use lomasub/lomasub-open with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lomasub/lomasub-open with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="lomasub/lomasub-open")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("lomasub/lomasub-open") model = AutoModelForSpeechSeq2Seq.from_pretrained("lomasub/lomasub-open", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model card: iApp row, CER and CPU speed charts
Browse files- .gitattributes +2 -0
- README.md +9 -0
- assets/cer_open_models.png +3 -0
- assets/cpu_speed_vs_cer.png +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
assets/cer_open_models.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
assets/cpu_speed_vs_cer.png filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -70,6 +70,8 @@ Lomasub-open is a fast and accurate Thai speech recognition model for lightweigh
|
|
| 70 |
|
| 71 |
CER (%) under dual-reference scoring on the audio-checked references of [lomasub/thai_asr_corrected](https://huggingface.co/datasets/lomasub/thai_asr_corrected); lower is better.
|
| 72 |
|
|
|
|
|
|
|
| 73 |
| Model | Params | TVSpeech | GigaSpeech2 | FLEURS |
|
| 74 |
|---|--:|--:|--:|--:|
|
| 75 |
| **Lomasub-open** | **166M** | **3.60** | **6.00** | 2.51 |
|
|
@@ -78,11 +80,18 @@ CER (%) under dual-reference scoring on the audio-checked references of [lomasub
|
|
| 78 |
| Pathumma Whisper Large-v3 | 1,543M | 5.55 | 8.36 | 2.83 |
|
| 79 |
| Qwen3-ASR-1.7B | 2,349M | 6.34 | 8.19 | 3.04 |
|
| 80 |
| Typhoon ASR Real-time | 115M | 6.50 | 9.67 | 4.57 |
|
|
|
|
| 81 |
| Whisper large-v3 | 1,543M | 10.48 | 12.89 | 4.69 |
|
| 82 |
| Whisper small | 242M | 30.43 | 32.71 | 20.74 |
|
| 83 |
|
| 84 |
TVSpeech: 570 clips; GigaSpeech2: 500 Thai test segments; FLEURS: 495 Thai test clips. Scores on the original labels and against commercial services are in the paper.
|
| 85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
## Usage
|
| 87 |
|
| 88 |
Requires transformers 5 (tested with 5.17). Input audio is 16 kHz; clips up to 30 seconds.
|
|
|
|
| 70 |
|
| 71 |
CER (%) under dual-reference scoring on the audio-checked references of [lomasub/thai_asr_corrected](https://huggingface.co/datasets/lomasub/thai_asr_corrected); lower is better.
|
| 72 |
|
| 73 |
+

|
| 74 |
+
|
| 75 |
| Model | Params | TVSpeech | GigaSpeech2 | FLEURS |
|
| 76 |
|---|--:|--:|--:|--:|
|
| 77 |
| **Lomasub-open** | **166M** | **3.60** | **6.00** | 2.51 |
|
|
|
|
| 80 |
| Pathumma Whisper Large-v3 | 1,543M | 5.55 | 8.36 | 2.83 |
|
| 81 |
| Qwen3-ASR-1.7B | 2,349M | 6.34 | 8.19 | 3.04 |
|
| 82 |
| Typhoon ASR Real-time | 115M | 6.50 | 9.67 | 4.57 |
|
| 83 |
+
| iApp OpenThai2.0-ASR-Streaming | 640M | 8.49 | 11.05 | 4.37 |
|
| 84 |
| Whisper large-v3 | 1,543M | 10.48 | 12.89 | 4.69 |
|
| 85 |
| Whisper small | 242M | 30.43 | 32.71 | 20.74 |
|
| 86 |
|
| 87 |
TVSpeech: 570 clips; GigaSpeech2: 500 Thai test segments; FLEURS: 495 Thai test clips. Scores on the original labels and against commercial services are in the paper.
|
| 88 |
|
| 89 |
+
### Speed on CPU
|
| 90 |
+
|
| 91 |
+

|
| 92 |
+
|
| 93 |
+
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.
|
| 94 |
+
|
| 95 |
## Usage
|
| 96 |
|
| 97 |
Requires transformers 5 (tested with 5.17). Input audio is 16 kHz; clips up to 30 seconds.
|
assets/cer_open_models.png
ADDED
|
Git LFS Details
|
assets/cpu_speed_vs_cer.png
ADDED
|
Git LFS Details
|