Downloads · 30 days
20
17% of all-time downloads
doggy8088/whisper-large-v2-cantonese-mlx-4bit
whisper-large-v2-cantonese-mlx-4bit is a automatic speech recognition model from doggy8088. Use it when you need speech turned into text. It is set up for mlx. The card lists the license as apache-2.0.
這是 doggy8088/whisper-large-v2-cantonese-mlx 的 4-bit 量化版, 由原始的 MLX fp16 checkpoint 再量化而成,適合在 Apple Silicon 上進一步降低記憶體占用。
Downloads · 30 days
20
17% of all-time downloads
All-time downloads
117
Public
Repo size
877 MB
Likes
0
Public
Click a slice to open those files.
.safetensors877 MB · 100%
From the Hugging Face model README
這是 doggy8088/whisper-large-v2-cantonese-mlx 的 4-bit 量化版, 由原始的 MLX fp16 checkpoint 再量化而成,適合在 Apple Silicon 上進一步降低記憶體占用。
pip install -U mlx-whisper
CLI:
mlx_whisper audio.wav --model doggy8088/whisper-large-v2-cantonese-mlx-4bit --language zh
Python:
import mlx_whisper
result = mlx_whisper.transcribe(
"audio.wav",
path_or_hf_repo="doggy8088/whisper-large-v2-cantonese-mlx-4bit",
language="zh",
)
print(result["text"])
language="zh",或省略讓模型自動偵測;不要指定 yue。