The demo shows how to use embeddings produced by the Universal Sentence Encoder.
cd into the demos folder:
cd universal-sentence-encoder/demosInstall dependencies and prepare the build directory:
yarnTo watch files for changes, and launch a dev server:
yarn watchcd into the universal-sentence-encoder folder:
cd universal-sentence-encoderInstall dependencies:
yarnBuild and publish universal-sentence-encoder locally:
yarn publish-localCd into the demos and install dependencies:
cd demos
yarnLink the local universal-sentence-encoder to the demos:
yarn link-localStart the dev demo server:
yarn watchTo get future updates from the universal-sentence-encoder source code:
# cd up into the universal-sentence-encoder directory
cd ../
yarn publish-local