Automatic Speech Recognition
Transformers
PyTorch
JAX
TensorBoard
Safetensors
Khmer
whisper
hf-asr-leaderboard
Generated from Trainer
Eval Results (legacy)
Instructions to use seanghay/whisper-small-khmer-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use seanghay/whisper-small-khmer-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="seanghay/whisper-small-khmer-v2")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("seanghay/whisper-small-khmer-v2") model = AutoModelForMultimodalLM.from_pretrained("seanghay/whisper-small-khmer-v2") - Notebooks
- Google Colab
- Kaggle
metadata
language:
- km
license: apache-2.0
tags:
- hf-asr-leaderboard
- generated_from_trainer
datasets:
- openslr
- google/fleurs
- seanghay/km-speech-corpus
metrics:
- wer
model-index:
- name: Whisper Small Khmer Spaced - Seanghay Yath
results:
- task:
name: Automatic Speech Recognition
type: automatic-speech-recognition
dataset:
name: Google FLEURS
type: google/fleurs
config: km_kh
split: test
metrics:
- name: Wer
type: wer
value: 0.6165
library_name: transformers
pipeline_tag: automatic-speech-recognition
whisper-small-khmer-v2
This model is a fine-tuned version of openai/whisper-small on the openslr, google/fleurs and km-speech-corpus dataset.
It achieves the following results on the evaluation set:
- Loss: 0.26
- Wer: 0.6165
Model description
This model is fine-tuned with Google FLEURS, OpenSLR (SLR42) and km-speech-corpus dataset.
from transformers import pipeline
pipe = pipeline(
task="automatic-speech-recognition",
model="seanghay/whisper-small-khmer-v2",
)
result = pipe("audio.wav",
generate_kwargs={
"language":"<|km|>",
"task":"transcribe"},
batch_size=16
)
print(result["text"])