What a Reranker Is and How It Differs From an Embedding Model
What a Hugging Face post says a reranker is and how it differs from an embedding model that encodes the query and document separately.
For: Learners who know what an embedding is.
What a reranker is
A reranker (a.k.a. pointwise cross-encoder) is a neural model that takes a (query, document) pair and outputs a single relevance score.[1]
How it differs from an embedding model
Unlike an embedding model, which encodes the query and document separately and computes their similarity from the two embedding vectors, a reranker lets the two texts attend to each other through every transformer layer.[1]
Sources
- Introducing the Ettin Reranker Family (huggingface.co · checked )
More articles
- LearningHow Many Visual Document Retrievers Are BuiltWhat a Hugging Face post says many recent visual document retrievers are adapted from, what produces visual features and what processes the combination.
- LearningFrom Text Embeddings to Multimodal EmbeddingsWhat a Hugging Face post says traditional embedding models convert text into and how multimodal embedding models extend that across modalities.
- LearningWhat Visual-Language Models Combine and Which Tasks They TackleWhat a Hugging Face guide says visual-language models face as a challenge, which image-to-text tasks they tackle and what captioning can do.