AnswerDotAI / rerankers

A lightweight, low-dependency, unified API to use all common reranking and cross-encoder models.
Apache License 2.0
784 stars 40 forks source link

Can support FlagReranker for BAAI/bge-reranker-v2-m3 #12

Closed edisonzf2020 closed 3 months ago

bclavie commented 4 months ago

On it! Will be shipped soon :)

bclavie commented 4 months ago

Whoops sorry I spoke a bit too fast!

Bge-reranker-v2-m3 is fully supported in huggingface, so as a normal crossencoder. I'm trying to keep dependencies fairly lightweights, so is there any reason you'd require the FlagEmbedding equivalent instead @edisonzf2020 ?