Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 933 Bytes

File metadata and controls

51 lines (35 loc) · 933 Bytes

Universal Sentence Encoder Demo

Contents

The demo shows how to use embeddings produced by the Universal Sentence Encoder.

Setup

cd into the demo folder:

cd universal-sentence-encoder/demo

Install dependencies and prepare the build directory:

yarn

Build the universal sentence encoder locally which the demo depends on:

yarn build-deps

To watch files for changes, and launch a dev server:

yarn watch

If you are developing universal-sentence-encoder locally, and want to test the changes in the demo

cd into the universal-sentence-encoder/demo folder:

cd universal-sentence-encoder/demo

Rebuild universal sentence encoder locally:

yarn build-deps

Start the dev demo server:

yarn watch

To get future updates from the universal-sentence-encoder source code, just run yarn build-deps in the universal-sentence-encoder/demo folder again.