FlashRank icon indicating copy to clipboard operation
FlashRank copied to clipboard

Lite & Super-fast re-ranking for your search & retrieval pipelines. Supports SoTA Listwise and Pairwise reranking based on LLMs and cross-encoders and more. Created by Prithivi Da, open for PRs & C...

Results 11 FlashRank issues
Sort by recently updated
recently updated
newest added

I really appreciate this repository. I hope the rerank model can optionally use a GPU to fully utilize the performance increase, potentially even with multi-GPU support. Thank you.

Minor typographic corrections

``` ranker = Ranker() rerankrequest = RerankRequest(query=query, passages=initial_docs) reordered_docs = ranker.rerank(rerankrequest) ``` ERROR:__main__:Error processing query: [WinError 2] The system cannot find the file specified: '\\opt'

Hi everyone, Fist of all, thanks to PrithivirajDamodaran for your great works ! My question is: how can I use the model cross-encoder/ms-marco-MiniLM-L-6-v2 because it's performance is almost as good...

tokens_map = json.load(open(str(self.model_dir / "special_tokens_map.json") You have opened special token file, used it, but then forgot to close the file. when Python closes it for you when it notices that...

Hi. I would like to know if I can use customized local reranker model in FlashRank? or... is there any documentaion regarding this? I would like to know how to...

This update fixes the rank extraction logic in the results appending process by replacing `rank[1]` with `rank.strip("[]")` to handle rank values more effectively. Refer to the links below for the...

How can I select top_n nodes that I want to be returned from reranker?

See the [following PR](https://github.com/PrithivirajDamodaran/FlashRank/pull/31) and [this comment](https://github.com/PrithivirajDamodaran/FlashRank/pull/31). This PR addresses the following issue when using the LLM Reranker: - I tried to use the llm based reranking for > 10...