← All models · Nomic

use case · multi-model

Multi-model: retrieve with Nomic, rerank with a cross-encoder

This is how real search is built. A bi-encoder (Nomic) embeds the query and every passage separately and retrieves a shortlist by cosine — fast and scalable. Then a cross-encoder (MS-MARCO MiniLM) reads the query and each shortlisted passage together and re-scores them precisely. Both models run in your browser; watch the ranking change between the two stages.

Load both models

Nomic embedder (~140 MB) and the MS-MARCO cross-encoder (~23 MB) each cache and then auto-init.

Nomic (retriever)

MS-MARCO (reranker)

Retrieve → rerank

The cross-encoder often reorders the shortlist — a passage Nomic ranked #3 can jump to #1 once the reranker reads it against the query word for word. That two-stage split (cheap recall, then precise ranking) is the backbone of modern search and RAG.

← Wild · Back to Nomic