SeanLee97 / AnglE

Train and Infer Powerful Sentence Embeddings with AnglE | 🔥 SOTA on STS and MTEB Leaderboard
https://arxiv.org/abs/2309.12871
MIT License
398 stars 30 forks source link

How is Re-ranking done? #17

Closed BenAgro314 closed 6 months ago

BenAgro314 commented 6 months ago

On the leaderboard I see a result for re-ranking. How is this done with these embeddings?

erjieyong commented 6 months ago

Hi @BenAgro314 , I actually have a similar query. How do you perform reranking in the end?

If i understand correctly, 1) use the retrieval Prompt.C encode 2) compare similarities and retrieve k number of relevant docs 3) use the non-retrieval to encode the k number of relevant docs 4) rerank the k number of relevant docs based on embeddings from step 3

Is this what you did?