-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding support for reranker and other utilities #258
base: main
Are you sure you want to change the base?
Adding support for reranker and other utilities #258
Conversation
@@ -177,6 +177,38 @@ if __name__=='__main__': | |||
print(f"Saved checkpoint to {checkpoint_path}...") | |||
``` | |||
|
|||
## Reranking |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really cool, Herumb!
@@ -0,0 +1,2 @@ | |||
from .bge_reranker import BGERerankerScorer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need this here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean the init file or bge models and hf scorers?
No in both. We can remove init file and we can remove hf scorers as whole too given they don't play any role as of now.
In this PR, I'm adding support for reranker and other additional utilities, more precisely:-