Khmer Speech Recognition
Collection
Whisper models fine-tuned for Khmer speech-to-text. β’ 2 items β’ Updated β’ 1
How to use songhieng/whisper-tiny-khmer-v1 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="songhieng/whisper-tiny-khmer-v1") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("songhieng/whisper-tiny-khmer-v1")
model = AutoModelForSpeechSeq2Seq.from_pretrained("songhieng/whisper-tiny-khmer-v1", device_map="auto")A lightweight Khmer (ααααα) speech-to-text model, fine-tuned from openai/whisper-tiny. At ~39M parameters it runs comfortably on a CPU, which makes it a good fit for edge devices and fast prototyping. For higher accuracy, see whisper-small-khmer-v1.
| Base model | openai/whisper-tiny (~39M parameters) |
| Task | Speech transcription (task="transcribe") |
| Language | Khmer (km) |
| Training data | Male-voice Khmer read speech from tts-data-kh (Kaggle) |
| Final training loss | 0.0959 (step 5,200) |
from transformers import pipeline
asr = pipeline("automatic-speech-recognition", model="songhieng/whisper-tiny-khmer-v1")
result = asr("audio.wav", generate_kwargs={"language": "km", "task": "transcribe"})
print(result["text"])
Audio is resampled to 16 kHz automatically when you pass a file path. Inputs longer than 30 seconds need chunk_length_s=30.
Built by Songhieng Van. Questions and feedback are welcome in the Community tab.
@misc{van2025whispertinykhmerv1,
author = {Van, Songhieng},
title = {Whisper Tiny: Khmer ASR},
year = {2025},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/songhieng/whisper-tiny-khmer-v1}}
}
Base model
openai/whisper-tiny