← All models Β· GTE-reranker-ModernBERT

use case Β· multi-model

Multi-model: GTE-ModernBERT retrieves, the reranker reorders

The two-stage pipeline behind real search and RAG, running entirely in your browser with two models that share one backbone. Stage 1: the GTE-ModernBERT bi-encoder embeds every passage and the query and ranks by cosine similarity β€” fast, but only surface-level. Stage 2: the GTE-reranker-ModernBERT cross-encoder reads each shortlisted (query, passage) pair together and reorders for precision. Same ModernBERT architecture, two different heads β€” a bi-encoder for recall, a cross-encoder for precision. Compare the two orders below.

The left column is what embeddings alone would return; the right column is after the cross-encoder rereads the shortlist. When the top result changes, that's stage 2 earning its keep β€” the reranker is slower per pair, which is exactly why you only run it on the shortlist the retriever already narrowed down.

← Wild Β· Back to GTE-reranker-ModernBERT Β· Related: GTE-ModernBERT embeddings β†’ Β· Multilingual reranker β†’