feat: support bi-encoder models in TransformerSimilarityRanker #8245
Labels
2.x
Related to Haystack v2.0
P3
Low priority, leave it in the backlog
type:feature
New feature or request
Is your feature request related to a problem? Please describe.
The current implementation of
TransformerSimilarityRanker
only supports cross-encoder models, which limits the use of bi-encoder models like ColBERT v2.0.Related discussion: Colbert as reranker
Describe the solution you'd like
Update the
TransformerSimilarityRanker
or creating a new component to support bi-encoder models like ColBERT.Describe alternatives you've considered
Leave the current implementation as is.
Additional context
Similar implementation: Llama ColbertRerank
The text was updated successfully, but these errors were encountered: