Embedding Wrangler is a web application that allows users to explore and visualize word embeddings. It provides tools for comparing words, finding similar words, performing word arithmetic, and visualizing word relationships in a two-dimensional space.
- Word Comparison: Compare two words and see their cosine similarity and Euclidean distance.
- Nearest Neighbors: Find the most similar words to a given word.
- Word Arithmetic: Perform operations like "king - man" and find the resulting word.
- Embedding Visualization: Visualize word relationships in a 2D space.
- Frontend: React with Tailwind CSS
- Backend: FastAPI
- Word Embeddings: GloVe (glove-wiki-gigaword-100)
- Docker
- Docker Compose
-
Clone the repository:
git clone https://github.com/yourusername/embedding-wrangler.git cd embedding-wrangler -
Build and run the Docker containers:
docker-compose up --build -
Access the application at
http://localhost:3000
Note
The backend takes a few moments to fully start servicing requests so if you access the front end too quickly you may initially see failed responses.
- Enter words in the input fields to compare them, find nearest neighbors, or perform word arithmetic.
- Click the respective buttons to perform operations.
- View the results in the displayed cards and charts.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the WTFPL - see the LICENSE file for details.