Skip to content

Commit e879609

Browse files
authored
Merge pull request #364 from Inhishonor/wake-word-docs
2 parents d8aa095 + e1c97e6 commit e879609

2 files changed

Lines changed: 40 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ Currently Dicio answers questions about:
4747

4848
Dicio uses [Vosk](https://github.com/alphacep/vosk-api/) as its speech to text (`STT`) engine. In order to be able to run on every phone small models are employed, weighing `~50MB`. The download from [here](https://alphacephei.com/vosk/models) starts automatically whenever needed, so the app language can be changed seamlessly.
4949

50+
## Wake Word
51+
52+
Dicio uses [OpenWakeWord](https://github.com/dscripka/openWakeWord) for wake word support, and by defaults it listens for the _Hey Dicio_ keyword. If you would like to use a different keyword, you can download other `.tflite` models from [Open Wake Word](https://github.com/dscripka/openWakeWord/releases/tag/v0.5.1) or from [this collection](https://github.com/fwartner/home-assistant-wakewords-collection). Then head to `Settings > Input and output methods > Import custom wake word` and select the `.tflite` model you downloaded. Alternatively, you can train a wake word model for a keyword of your choice by following this [Jupiter Notebook](https://github.com/dscripka/openWakeWord/blob/main/notebooks/automatic_model_training.ipynb) with this [configuration](meta/openwakeword_training_config.yml).
53+
5054
## Contributing
5155

5256
Dicio's code is **not only here**! The repository with the *compiler for sentences* language files is at [`dicio-sentences-compiler`](https://github.com/Stypox/dicio-sentences-compiler), the *number parser and formatter* is at [`dicio-numbers`](https://github.com/Stypox/dicio-numbers) and the code for evaluating matching algorithms is at [`dicio-evaluation`](https://github.com/Stypox/dicio-evaluation).
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
augmentation_batch_size: 16
2+
augmentation_rounds: 1
3+
background_paths:
4+
- ./audioset_16k
5+
- ./fma
6+
background_paths_duplication_rate:
7+
- 1
8+
batch_n_per_class:
9+
ACAV100M_sample: 1024
10+
adversarial_negative: 50
11+
positive: 50
12+
custom_negative_phrases: []
13+
false_positive_validation_data_path: validation_set_features.npy
14+
feature_data_files:
15+
ACAV100M_sample: openwakeword_features_ACAV100M_2000_hrs_16bit.npy
16+
layer_size: 32
17+
max_negative_weight: 2700
18+
model_name: hey_dicio
19+
model_type: dnn
20+
n_samples: 50000
21+
n_samples_val: 2000
22+
output_dir: ./my_custom_model
23+
piper_sample_generator_path: ./piper-sample-generator
24+
rir_paths:
25+
- ./mit_rirs
26+
steps: 120000
27+
target_accuracy: 0.7
28+
target_false_positives_per_hour: 0.2
29+
target_phrase:
30+
- hey dicho
31+
- hey dicio
32+
- hey dichio
33+
- hey disio
34+
- hey dizio
35+
target_recall: 0.7
36+
tts_batch_size: 50

0 commit comments

Comments
 (0)