Repository navigation
Hark v0.4.0-alpha
Pre-release
Pre-release
Big engine rewrite: Hark now supports 8 languages, drops eSpeak completely, adds a live browser demo, and jumps way ahead on benchmarks.
What's new
- 8 languages instead of 2 (German, English, Swedish, French, Spanish, Italian, Dutch, Polish), and language tags (:de, :en, etc.) are optional now. Just type your phrase.
- No more eSpeak or phoneme tables. Both stages read raw UTF-8 text directly, so umlauts, accents, brand names and made-up words just work.
- 16x smaller Stage 1 (~543 KB quantized) + new Whisper-base Stage 2 verifier, plus an anti-TikTok/Reels gate so phone speaker videos stop setting it off.
- Live browser demo running the exact same v0.4 pipeline locally in WebAssembly: https://pioborgelt.github.io/hark/
- Updated Home Assistant app, Docker image and Python package. Setup steps are in the README, and troubleshooting is in the FAQ.
How well it works
All numbers below are zero-shot for the two model files attached to this release:
- OpenVoiceOS Home Assistant wake words (10h negatives, <= 0.1 FA/h): Hark v0.4 averages 81.2% across Okay Nabu (82.5%), Hey Mycroft (83.5%) and Hey Jarvis (77.5%), beating Open Home Foundation's pre-trained microWakeWord + Parakeet 110M stack on average (73.6%) and standalone microWakeWord v2 (62.6%).
- Picovoice 24h benchmark at 10 dB noise (<= 0.1 FA/h): 87.7% across all 6 keywords (up from 78.1% in v0.3 and well ahead of sherpa-onnx at 66.0%).
- "Okay PAI" benchmark (28.2h speech + music): 84.2% at zero false alarms in German (90.8% at 2 FA, up from 57.0% / 62.8% in v0.3) and 82.2% at zero FA in English (95.1% at 2 FA).
Full tables and charts are in docs/BENCHMARKS.md.
Model files
Hark downloads these automatically and checks their SHA256 (also mirrored on Hugging Face):
hark-v4-stage1-esp-int8.pt(11.9 MB checkpoint; ~543 KB quantized streaming encoder + text query compiler)
SHA2560ad253d91575018150ca4f4e5c8e870f84586d68485109a848775a6725b6d359hark-v4-stage2-whisper.pt(99.7 MB Whisper-base verifier)
SHA256599628b6e3655405dc35ade347a586b5e13ed729c81fc114edf40571a2f0b361
The weights are CC BY-NC 4.0 (free for personal use, Home Assistant setups, tinkering and research). The code is MIT.
This is an early alpha built by an 18-year-old in my free time, mostly to learn along the way. If it misses you or goes off when it shouldn't, please open an issue with your phrase, language and mic setup.