Downloads · 30 days
46
12% of all-time downloads
mlx-community/whisper-base-khmer-mlx-fp32
whisper-base-khmer-mlx-fp32 is a automatic speech recognition model from mlx-community. Use it when you need speech turned into text. It is set up for mlx. The card lists the license as apache-2.0.
This model was converted to MLX format from openai-whisper-base, then fine-tined to Khmer language using three datasets: - seanghay/khmermpwtspeech - seanghay/km-speech-corpus
Downloads · 30 days
46
12% of all-time downloads
All-time downloads
370
Public
Parameters
71.8M
1.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors287 MB · 100%
How the weights are stored.
F3271.8M · 100%
From the Hugging Face model README
This model was converted to MLX format from openai-whisper-base, then fine-tined to Khmer language using three datasets:
train split of openslr/openslr SLR42It achieves the following word error rate (wer) on 2 popular datasets:
test split of google/fleurs km-khNOTE MLX format is usable for M-chip series of Apple.
pip install mlx-whisper
Write a python script, example.py, as the following
import mlx_whisper
result = mlx_whisper.transcribe(
SPEECH_FILE_NAME,
path_or_hf_repo="mlx-community/whisper-base-khmer-mlx-fp32",
fp16=False
)
print(result['text'])
Then execute this script example.py to see the result.
You can also use command line in terminal
mlx_whisper --model mlx-community/whisper-base-khmer-mlx-fp32 --task transcribe SPEECH_FILE_NAME --fp16 False