Home Assistant Add-on: ONNX ASR
Home Assistant add-on that uses onnx-asr for speech-to-text.
Notably, provides access to the NVIDIA NeMo Parakeet-TDT model which should be significantly faster and more accurate than Whisper for English in most cases.
Faster and better speech to text
This addon provides an English language voice recognition service which is (in theory) both better than the biggest whisper models and nearly twice as fast as even the smallest whisper model! The only drawback is it needs around 2.5GB of RAM.
This addon also supports whisper models, which can be used for other languages. It seems to be slightly faster than wyoming-faster-whisper for some models, particularly whisper-base.
This means it should be a drop-in replacement for most users!
The following benchmarks were performed on my Ryzen 5 5600X, with the English phrase “Turn on the living room lamp.”
| Model Size | Runtime | Model | Time |
|---|---|---|---|
| Parakeet | wyoming-onnx-asr | nemo-parakeet-tdt-0.6b-v2 | 0.26s |
| Tiny | wyoming-onnx-asr | onnx-community/whisper-tiny.en | 0.35s |
| wyoming-faster-whisper | tiny | 0.4s | |
| wyoming-faster-whisper | tiny-int8 | 0.49s | |
| wyoming-onnx-asr | onnx-community/whisper-tiny | 0.5s | |
| wyoming-faster-whisper | Systran/faster-distil-whisper-tiny.en | 0.59s | |
| Base | wyoming-onnx-asr | whisper-base | 0.6s |
| wyoming-onnx-asr | onnx-community/whisper-base.en | 0.76s | |
| wyoming-faster-whisper | Systran/faster-whisper-base | 0.82s | |
| wyoming-faster-whisper | Systran/faster-whisper-base.en | 0.94s | |
| Small | wyoming-faster-whisper | Systran/faster-distil-whisper-small.en | 1.4s |
| wyoming-onnx-asr | onnx-community/whisper-small.en | 3.4s | |
| Large | wyoming-onnx-asr | onnx-community/whisper-large-v3-turbo | 8.1s |
| wyoming-faster-whisper | Systran/faster-distil-whisper-large-v3 | 10s |
About
The addon source can be found in onnx-asr-addon, which is an addon version of the wyoming-onnx-asr python module, itself heavily based on wyoming-faster-whisper. This is all made possible through the work of the developer of onnx-asr who ported the parakeet model in the first place.
Installation
This addon can be installed from my repository:
And read the docs
By default the addon only sets up an english model, but it can be configured with both english and multilingual. Once running, the Wyoming integration should be auto-detected in integrations.
If you’re using Home Assistant Container, wyoming-onnx-asr provides a drop-in replacement for the wyoming-faster-whisper container as well.