Rerank#

CrossEncoderRerank

cross-encoder | Rerank first-stage retrieved paragraphs based on the contextualized similarity of query <-> paragraph.

SemanticRescore

semantic_rescore | Rescore top N ranked paragraphs based on the similarity between query embedding & pre-computed paragraph embeddings.