AnswerDotAI / AnswerDotAI/rerankers

Feature request: Reranker using fastembed

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.6k
Forks
104
PR merge metrics
No merged PRs in 30d

Description

It would be nice to add the ability to use `fastembed` as an option.

[fastembed](https://github.com/qdrant/fastembed)
[How to rerank with fastembed](https://github.com/qdrant/fastembed?tab=readme-ov-file#-rerankers)
[Available models](https://qdrant.github.io/fastembed/examples/Supported_Models/?h=rerank#supported-rerank-cross-encoder-models)

The API would probably look like this

```python
ranker = Reranker('Xenova/ms-marco-MiniLM-L-6-v2', model_type='fastembed')
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.