Skip to content

granawkins/latent-dictionary

Repository files navigation

Latent Dictionary

An interactive 3D map of DistilBert word embeddings: https://www.latentdictionary.com

Dev Install

  1. Get docker-compose
  2. Build the frontend
cd frontend
npm install
  1. Launch docker. This will take a few minutes the first time because the embeddings models are being downloaded and setup.
cd ..
docker-compose up --build
  1. If everything worked, you'll see the app at localhost:80.

Production Install (on Debian 11)

  1. Run server_setup.sh to setup your deps, install docker-compose and clone the project
  2. Setup SSL certificates following the Certbot Instructions
  3. Run the project using the production script
cd latent-dictionary
docker-compose -f docker-compose.prod.yaml up --build -d
  1. View logs stream with docker-compose logs -f

About

A dictionary, but it shows you position in embedding space relative to some synonyms/antonyms instead of a definition.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published