Skip to content

Wyoming protocol server for faster whisper speech to text system

License

Notifications You must be signed in to change notification settings

rhasspy/wyoming-faster-whisper

Repository files navigation

Wyoming Faster Whisper

Wyoming protocol server for the faster-whisper speech to text system.

Home Assistant Add-on

Show add-on

Source

Local Install

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 Image

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).

Source

About

Wyoming protocol server for faster whisper speech to text system

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages