本地语音转文字,使用faster‑whisper 后端 (CTranslate2)。用于在本地转录音频、设置 faster‑whisper 模型缓存,或替换...
Use faster-whisper for local transcription with low latency and a reusable model cache.
ggml models work here; faster-whisper uses CTranslate2 model folders.device='cpu' and compute_type='int8' unless the machine is explicitly configured for GPU.Confirm python and ffmpeg are available.
Install the Python packages needed for local inference:
faster-whisperctranslate2huggingface_hubUse the project repo https://github.com/SYSTRAN/faster-whisper for install/setup guidance.
Download Systran/faster-whisper-small from https://huggingface.co/Systran/faster-whisper-small into a stable local folder such as:
C:\Users\joshu\.openclaw\tools\faster-whisper\models\Systran-faster-whisper-smallReuse that folder for repeat runs.
If the user only has a ggml-*.bin file, explain that it belongs to whisper.cpp and is not usable here.