Local Vector Embeddings Tester (ONNX)
AI & LLM Tools
What is Local Vector Embeddings Tester (ONNX)?
Embedding Tester computes cosine similarity between text pairs using neural embeddings running entirely in your browser. Embeddings are dense vector representations of text — semantically similar phrases produce vectors that point in similar directions, so their cosine similarity is high. This tool uses the all-MiniLM-L6-v2 model via ONNX Runtime Web to generate embeddings locally without sending data to any server.
How it works
The all-MiniLM-L6-v2 model converts each text input into a 384-dimensional dense vector. Cosine similarity is computed between the two vectors: 1.0 means identical direction (very similar), 0 means orthogonal (unrelated), and -1 means opposite directions. The model runs in a Web Worker via ONNX Runtime Web, keeping the UI responsive during inference.
Features & Benefits
- Runs huggingface pipeline entirely via Web Workers
- No backend server required
Frequently Asked Questions
Is it really running locally?
Yes! Using WebAssembly and Xenova's transformers port, the inference operates purely on device CPU/GPU.
Related Tools
Popular Utilities
JSON Formatter & Validator
Format, validate, and minify JSON instantly in your browser. Your data never leaves your device.
JWT Decoder
Decode JWT tokens and inspect header and payload instantly in your browser. Your tokens never leave your device.
Word Counter
Count words, characters, sentences, and estimate reading time instantly in your browser. No sign-up required.