Mlx Whisper技能使用说明
2026-03-29
新闻来源:网淘吧
围观:16
电脑广告
手机广告
MLX Whisper
基于 Apple MLX 的本地语音转文本工具,专为 Apple Silicon Mac 优化。
快速开始
mlx_whisper /path/to/audio.mp3 --model mlx-community/whisper-large-v3-turbo
常用用法
# Transcribe to text file
mlx_whisper audio.m4a -f txt -o ./output
# Transcribe with language hint
mlx_whisper audio.mp3 --language en --model mlx-community/whisper-large-v3-turbo
# Generate subtitles (SRT)
mlx_whisper video.mp4 -f srt -o ./subs
# Translate to English
mlx_whisper foreign.mp3 --task translate
模型(首次使用时下载)
| 模型 | 大小 | 速度 | 质量 |
|---|---|---|---|
| mlx-社区/whisper-tiny | 约 75MB | 最快 | 基础 |
| mlx-社区/whisper-base | 约 140MB | 快速 | 良好 |
| mlx-社区/whisper-small | 约 470MB | 中等 | 更好 |
| mlx-社区/whisper-medium | 约 1.5GB | 较慢 | 优秀 |
| mlx-community/whisper-large-v3 | 约3GB | 最慢 | 最佳 |
| mlx-community/whisper-large-v3-turbo | 约1.6GB | 快速 | 优秀(推荐) |
注意
- 需要Apple Silicon Mac(M1/M2/M3/M4)
- 模型缓存至
~/.cache/huggingface/ - 默认模型为
mlx-community/whisper-tiny;使用--model mlx-community/whisper-large-v3-turbo以获得最佳效果
文章底部电脑广告
手机广告位-内容正文底部


微信扫一扫,打赏作者吧~