Use with mlx-whisper
pip install mlx-whisper
import mlx_whisper
result = mlx_whisper.transcribe(
speech_file,
path_or_hf_repo="mlx-community/whisper-large-v3-mlx")
在你的模型文件夹旁边运行它。它会制作种子、将文件与 Hugging Face 比对,然后提交。你只需开始做种,并粘贴你账户中的密钥。它只读取你的文件,绝不修改。如果愿意,可以先阅读脚本。
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo mlx-community/whisper-large-v3-mlx ./model-folderpip install mlx-whisper
import mlx_whisper
result = mlx_whisper.transcribe(
speech_file,
path_or_hf_repo="mlx-community/whisper-large-v3-mlx")