https://github.com/rhasspy/wyoming-faster-whisper
Wyoming protocol server for faster whisper speech to text system
https://github.com/rhasspy/wyoming-faster-whisper
Last synced: 13 days ago
JSON representation
Wyoming protocol server for faster whisper speech to text system
- Host: GitHub
- URL: https://github.com/rhasspy/wyoming-faster-whisper
- Owner: rhasspy
- License: mit
- Created: 2023-10-02T15:50:23.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-10T21:45:18.000Z (5 months ago)
- Last Synced: 2025-04-12T02:00:05.201Z (13 days ago)
- Language: Python
- Size: 389 KB
- Stars: 170
- Watchers: 11
- Forks: 53
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Wyoming Faster Whisper
[Wyoming protocol](https://github.com/rhasspy/wyoming) server for the [faster-whisper](https://github.com/guillaumekln/faster-whisper/) speech to text system.
## Home Assistant Add-on
[](https://my.home-assistant.io/redirect/supervisor_addon/?addon=core_whisper)
[Source](https://github.com/home-assistant/addons/tree/master/whisper)
## Local Install
Clone the repository and set up Python virtual environment:
``` sh
git clone https://github.com/rhasspy/wyoming-faster-whisper.git
cd wyoming-faster-whisper
script/setup
```Run a server anyone can connect to:
```sh
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
``` sh
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](https://github.com/rhasspy/wyoming-addons/tree/master/whisper)