Transformers running in your browser

Embeddings, reranking, search, classification and a chat model, run by Kjarni compiled to WebAssembly, in this tab. No server and no API key: once a model is downloaded, nothing you type leaves the page.

The numbers below are measured in your browser as you use the page. Watch the request count: a query runs entirely here and makes none.

Engine loading… Model – Last query –

Compare meaning, not keywords

Results update as you type. Change the sentences too.

Cross-encoder reranking

A different model and a different shape of computation. The similarity tab encodes each sentence separately and compares the vectors. A cross-encoder reads the query and one document together and scores that pair directly. Slower, since it is one forward pass per document, and considerably sharper at the top.

Results update as you type.

Sort text into categories

A DistilBERT classifier fine-tuned on sentiment. It returns every label with a confidence, so you can set your own threshold rather than trusting the top pick. Nothing here is a keyword rule: the model reads the sentence.

Results update as you type. Add a line of your own.

The last line is the interesting one. Hedged text lands near the middle rather than snapping to a side, which is why the score is worth reading and not just the label.

A language model, in this tab

Qwen2.5 0.5B. The weights stay block-quantised in memory rather than being expanded to f32, which is the only reason this fits: as f32 it needs 1.98 GB and a browser caps a single allocation at 2 GB. It is still a 500 MB download, so it is behind a button.