Consider BM25opt for BM25Retriever #28116
jankovicsandras
announced in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checked
Feature request
Hi,
LangChain uses rank_bm25 under the hood of BM25Retriever. I made an optimized variant, that has 30-40x faster search speed and fixes some of the issues of rank_bm25, while being score compatible: https://github.com/jankovicsandras/bm25opt
Please consider supporting it, I can help adapting BM25Retriever.
Thanks for your attention!
Motivation
The motivation behind BM25opt was to speed up rank_bm25 search speed and fix common issues:
Proposal (If applicable)
I can write an adapted BM25Retriever and open a PR, if there's interest.
Beta Was this translation helpful? Give feedback.
All reactions