Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# REX Wake-Word Models
|
| 2 |
+
|
| 3 |
+
Custom wake-word models for the [REX voice assistant](https://github.com/David-Antolick/rex_voice_assistant).
|
| 4 |
+
|
| 5 |
+
## Models
|
| 6 |
+
|
| 7 |
+
- **hey_rex.onnx** - openWakeWord model for the phrase "hey rex".
|
| 8 |
+
- **hey_rex.tflite** - same model, TFLite runtime version.
|
| 9 |
+
|
| 10 |
+
Trained with the openWakeWord automatic training pipeline:
|
| 11 |
+
- 2000 Piper TTS synthetic positives + 329 real recordings from 3 speakers
|
| 12 |
+
- Background data: FMA music + ACAV100M precomputed features (~2000 hrs)
|
| 13 |
+
- 10,000 training steps on an RTX 3070 Ti
|
| 14 |
+
|
| 15 |
+
## Usage
|
| 16 |
+
|
| 17 |
+
REX 0.3.2+ downloads this model automatically when wake-word gating is enabled.
|
| 18 |
+
|
| 19 |
+
For direct use with openWakeWord:
|
| 20 |
+
|
| 21 |
+
```python
|
| 22 |
+
from openwakeword.model import Model
|
| 23 |
+
oww = Model(wakeword_models=["hey_rex.onnx"], inference_framework="onnx")
|
| 24 |
+
score = oww.predict(audio_int16_chunk_1280_samples)["hey_rex"]
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
Audio format: 16 kHz mono int16, fed in chunks of 1280 samples (80 ms).
|
| 28 |
+
Default detection threshold: 0.5 (raise to ~0.7 to reduce false fires).
|
| 29 |
+
|
| 30 |
+
## License
|
| 31 |
+
|
| 32 |
+
MIT, matching the REX project. Voice samples used in training were collected
|
| 33 |
+
with explicit consent from contributors for inclusion in this model and its
|
| 34 |
+
distribution (including any commercial distribution, though none is intended).
|