UPR Reranker
Last updated
Last updated
The UPRReranker
class is a reranker based on paper called "". It uses a language model to generate a question based on the passage and reranks the passages by the likelihood of the question.
It can enhance accuracy because it calculates likelihood original passages and related passages (generated) with user's question. Also, it is cost-effective than because it doesn't generate whole passages.
To initialize an instance of UPRReranker:
To rank given set of passages: