Downloads · 30 days
46
13% of all-time downloads
mlx-community/whisper-base-khmer-mlx-fp16
whisper-base-khmer-mlx-fp16 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 two datasets: - seanghay/khmermpwtspeech - seanghay/km-speech-corpus
Downloads · 30 days
46
13% of all-time downloads
All-time downloads
352
Public
Parameters
71.8M
287 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors144 MB · 100%
How the weights are stored.
F1671.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 two datasets:
It achieves the following word error rate (wer) on 2 popular datasets:
test split of google/fleurs km-khtrain split of openslr/openslr SLR42NOTE 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-fp16",
fp16=True
)
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-fp16 --task transcribe SPEECH_FILE_NAME --fp16 True