CI / check (push) Canceled after 0s
"Hey Lembas" could not work well: Lembas is not a word the model knows. - The phrase is a greeting (Hey, OK, Hello) and a name (Assistant, Computer, Google, and ten ordinary names); the default is Hey Assistant and an old saved id reads as it. - Token pieces are generated, not hand-written: fetch-wakeword.py also takes the model's bpe.model from the same pinned archive, gen-wake-phrases.py encodes every word with it into wake/WakeWords.kt, CI checks the committed table against the tokenizer, and WakeWordsTest checks every piece against tokens.txt. "OK" is spelled as the model's speech wrote it, OKAY. Elizabeth and Benjamin are dropped (four or more single-letter pieces). - Each keyword line carries a boosting score and a trigger threshold (sherpa-onnx's ":boost #threshold"), chosen by a Sensitivity setting: Low 1.0/0.35, Normal 1.5/0.25, High 2.0/0.15; short phrases 0.05 stricter. numTrailingBlanks is the engine's own 1. - Settings says the phrase is English whatever the app's language is, and that a Google device nearby answers to Google too. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
6 lines
373 B
Plaintext
6 lines
373 B
Plaintext
# For scripts/gen-wake-phrases.py only (never in the app): the tokenizer the model's bpe.model
|
|
# is read with. Hash-pinned; the two wheels are CPython 3.12 and 3.13 on x86-64 Linux.
|
|
sentencepiece==0.2.3 \
|
|
--hash=sha256:cc3189b79c1ffda767f71b04238c27ac746f3b7abc263eab9a41c4cf46aee49e \
|
|
--hash=sha256:4d82f2a0f704f5d0cf027bc8cc5ad49e23c11a9cc0b5bd08ca51985917963bf5
|