Skip to content
Utilora

Local Vector Embeddings Tester (ONNX)

AI & LLM Tools

Privacy Note: This tool runs all-MiniLM-L12-v2 100% inside your browser via WebAssembly (transformers.js). Initial load downloads a ~33MB model. Nothing is sent to a server.

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

Learn More & Guides