This branch contains minimal code for the pocketsphinx/honlking based hey firefox detection demo.
Unlike the existing implementation of Honkling, this implementation functions as a web service on its own exploiting Node.js.
-
Fetch trained weights:
git submodule update --init --recursive
-
docker build -t honkling .
-
nvidia-docker run -it --net host -v $(pwd):/app/src/ -v /data/kws/mozilla_processed:/data honkling
(usedocker
instead ofnvidia-docker
if GPU is missing) -
npm run dev
for starting up a server -
npm run eval
for running the evaluation (meyda version not supported)
Open a browser (Firefox recommended) and navigate to localhost:8000
for honkling-based implementation
PocketSphinx-based implementation is available at localhost:8000/pocketsphinx
. For this implementation, user needs to click start manually.