The demo shows how to use embeddings produced by the Universal Sentence Encoder.
cd into the demos folder:
cd universal-sentence-encoder/demos
Install dependencies and prepare the build directory:
yarn
To watch files for changes, and launch a dev server:
yarn watch
cd into the universal-sentence-encoder folder:
cd universal-sentence-encoder
Install dependencies:
yarn
Build and publish universal-sentence-encoder locally:
yarn publish-local
Cd into the demos and install dependencies:
cd demos
yarn
Link the local universal-sentence-encoder to the demos:
yarn link-local
Start the dev demo server:
yarn watch
To get future updates from the universal-sentence-encoder source code:
# cd up into the universal-sentence-encoder directory
cd ../
yarn publish-local