OA0 = Omni AI 0
OA0 是一个探索 AI 的论坛
现在注册
已注册用户请  登录
OA0  ›  技能包  ›  mlx-whisper:基于 MLX 框架优化的本地 Whisper 语音转文本

mlx-whisper:基于 MLX 框架优化的本地 Whisper 语音转文本

 
  apple ·  2026-02-05 23:59:34 · 3 次点击  · 0 条评论  

名称: mlx-whisper
版本: 1.0.0
描述: 基于 MLX Whisper 的本地语音转文字工具(针对 Apple Silicon 优化,无需 API 密钥)。
主页: https://github.com/ml-explore/mlx-examples/tree/main/whisper
元数据: {"clawdbot":{"emoji":"🍎","requires":{"bins":["mlx_whisper"]},"install":[{"id":"pip","kind":"pip","package":"mlx-whisper","bins":["mlx_whisper"],"label":"安装 mlx-whisper (pip)"}]}}


MLX Whisper

基于 Apple MLX 框架的本地语音转文字工具,专为 Apple Silicon Mac 优化。

快速开始

mlx_whisper /path/to/audio.mp3 --model mlx-community/whisper-large-v3-turbo

常用命令

# 转录为文本文件
mlx_whisper audio.m4a -f txt -o ./output

# 指定语言提示进行转录
mlx_whisper audio.mp3 --language en --model mlx-community/whisper-large-v3-turbo

# 生成字幕文件 (SRT)
mlx_whisper video.mp4 -f srt -o ./subs

# 翻译为英文
mlx_whisper foreign.mp3 --task translate

模型(首次使用时自动下载)

模型 大小 速度 质量
mlx-community/whisper-tiny ~75MB 最快 基础
mlx-community/whisper-base ~140MB 良好
mlx-community/whisper-small ~470MB 中等 较好
mlx-community/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 以获得最佳效果
3 次点击  ∙  0 人收藏  
登录后收藏  
目前尚无回复
0 条回复
About   ·   Help   ·    
OA0 - Omni AI 0 一个探索 AI 的社区
沪ICP备2024103595号-2
Developed with Cursor