← All models · Arctic-Embed-S

Multi-model · Arctic + cross-encoder · WASM

Retrieve with Arctic, then rerank

This is how real search works. Stage one: Arctic embeds the query (with its retrieval prefix) and every passage independently, then ranks by cosine — fast, cheap, scales to millions. Stage two: a MS MARCO cross-encoder reads the query and each shortlisted passage together and re-scores them — slower, but far more precise. Both models run locally. Watch the order change between the two stages.

Two-stage search

Why two stages

A bi-encoder (Arctic) turns every document into a vector once, so retrieval is just nearest-neighbour math — it scales, but the query and document never "see" each other. A cross-encoder attends across the pair, catching relevance a cosine misses, but it must run the model for every candidate — too slow for a whole corpus. Retrieve wide and cheap, rerank narrow and sharp.