Instructions to use PishangShedappp/malaysian-whisper-medium-v2-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use PishangShedappp/malaysian-whisper-medium-v2-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir malaysian-whisper-medium-v2-mlx PishangShedappp/malaysian-whisper-medium-v2-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
metadata
license: apache-2.0
language:
- ms
- en
base_model:
- mesolitica/malaysian-whisper-medium-v2
library_name: mlx
tags:
- whisper
- mlx
- Automatic Speech Recognition
pipeline_tag: automatic-speech-recognition
Malaysian-Whisper-Tiny (MLX)
Apple MLX-converted weights for PishangShedappp/malaysian-whisper-medium-v2-mlx optimized for Apple Silicon.
- Base model:
mesolitica/malaysian-whisper-medium-v2 - Format: MLX (
weights.safetensors,config.json) - Intended runtime:
mlx-whisperon Apple Silicon (M-series)
Usage (Python)
import mlx_whisper
result = mlx_whisper.transcribe(
"/path/to/audio.wav",
path_or_hf_repo="<this-repo>",
# Optional decoding controls
language="ms", # Malay
task="transcribe", # or "translate"
temperature=0.0,
no_speech_threshold=0.3,
logprob_threshold=-1.0,
compression_ratio_threshold=2.4,
)
print(result["text"])
Local HTTP server (FastAPI)
With the server at whisper/server_mlx.py from avatar-npm:
export WHISPER_MODEL=<this-repo-or-local-mlx-path>
export WHISPER_LANGUAGE=ml
python server_mlx.py
# POST /transcribe with form field `file`
Notes
- This repo contains only the MLX weights and config. Tokenization and audio
preprocessing are handled by
mlx-whisper. - If you need the original (non-MLX) model, see
mesolitica/malaysian-whisper-medium-v2.
License
The original model’s license applies. See the upstream repository for details.
Maintainers
- PishangShedappp