Instructions to use sangdth/phowhisper-large-mlx-16bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use sangdth/phowhisper-large-mlx-16bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download sangdth/phowhisper-large-mlx-16bit --local-dir phowhisper-large-mlx-16bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
PhoWhisper-large (MLX)
vinai/PhoWhisper-large converted to MLX for mlx-whisper on Apple Silicon. The weights are unchanged, stored as float16. All credit for the model goes to VinAI; see PhoWhisper's homepage.
Use
import mlx_whisper
result = mlx_whisper.transcribe("speech.wav", path_or_hf_repo="sangdth/phowhisper-large-mlx-16bit", language="vi")
print(result["text"])
How it was made
convert.py from ml-explore/mlx-examples
(commit 796f5b5), run on vinai/PhoWhisper-large commit b9136a4:
python convert.py --torch-name-or-path vinai/PhoWhisper-large --mlx-path phowhisper-large-mlx
The output file model.safetensors is renamed to weights.safetensors, the name mlx-whisper loads.
Citation
@inproceedings{PhoWhisper,
title = {{PhoWhisper: Automatic Speech Recognition for Vietnamese}},
author = {Thanh-Thien Le and Linh The Nguyen and Dat Quoc Nguyen},
booktitle = {Proceedings of the ICLR 2024 Tiny Papers track},
year = {2024}
}
License
BSD 3-Clause, Copyright (c) 2024, VinAI. The full text is in LICENSE.
- Downloads last month
- 21
Hardware compatibility
Log In to add your hardware
Quantized
Model tree for sangdth/phowhisper-large-mlx-16bit
Base model
vinai/PhoWhisper-large