Expand description
Cross-encoder reranking implementation Cross-Encoder reranking for improved retrieval accuracy
Cross-encoders jointly encode query and document, providing more accurate relevance scores than bi-encoder approaches. This implementation provides a trait-based interface that can be backed by ONNX models, API calls, or other implementations.
Reference: “Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks” Reimers & Gurevych (2019)
Structs§
- Confidence
Cross Encoder - Confidence-based cross-encoder implementation
- Cross
Encoder Config - Configuration for cross-encoder reranking
- Ranked
Result - Result of cross-encoder reranking with confidence score
- Reranking
Stats - Statistics about reranking performance
Traits§
- Cross
Encoder - Cross-encoder trait for reranking retrieved results