Views
No views yet
PishangShedappp/malaysian-whisper-base-mlx optimized for Apple Silicon.mesolitica/malaysian-whisper-baseweights.safetensors, config.json)mlx-whisper on Apple Silicon (M-series)1import mlx_whisper
2result = mlx_whisper.transcribe(
3 "/path/to/audio.wav",
4 path_or_hf_repo="<this-repo>",
5 # Optional decoding controls
6 language="ms", # Malay
7 task="transcribe", # or "translate"
8 temperature=0.0,
9 no_speech_threshold=0.3,
10 logprob_threshold=-1.0,
11 compression_ratio_threshold=2.4,
12)
13print(result["text"]) whisper/server_mlx.py from avatar-npm:1export WHISPER_MODEL=<this-repo-or-local-mlx-path>
2export WHISPER_LANGUAGE=ml
3python server_mlx.py
4# POST /transcribe with form field `file`mlx-whisper.mesolitica/malaysian-whisper-base.