Wyoming protocol server for the faster-whisper speech to text system.
Clone the repository and set up Python virtual environment:
git clone https://github.com/rhasspy/wyoming-faster-whisper.git
cd wyoming-faster-whisper
script/setup
Run a server anyone can connect to:
script/run --model tiny-int8 --language en --uri 'tcp://0.0.0.0:10300' --data-dir /data --download-dir /data
The --model
can also be a HuggingFace model like Systran/faster-distil-whisper-small.en
docker run -it -p 10300:10300 -v /path/to/local/data:/data rhasspy/wyoming-whisper \
--model tiny-int8 --language en
NOTE: Models are downloaded temporarily to the HF_HUB_CACHE
directory, which defaults to ~/.cache/huggingface/hub
.
You may need to adjust this environment variable when using a read-only root filesystem (e.g., HF_HUB_CACHE=/tmp
).