PyTerrier-GenRank: The PyTerrier Plugin for Reranking with Large Language Models
2024-12-06Code Available1· sign in to hype
Kaustubh D. Dhole
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/emory-irlab/pyterrier_genrankOfficialIn paperpytorch★ 18
Abstract
Using LLMs as rerankers requires experimenting with various hyperparameters, such as prompt formats, model choice, and reformulation strategies. We introduce PyTerrier-GenRank, a PyTerrier plugin to facilitate seamless reranking experiments with LLMs, supporting popular ranking strategies like pointwise and listwise prompting. We validate our plugin through HuggingFace and OpenAI hosted endpoints.