-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename RerankerFunction to RerankFunction and optimize splade code. (#10
) Signed-off-by: wxywb <[email protected]>
- Loading branch information
Showing
9 changed files
with
46 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
from .cohere import CohereRerankerFunction | ||
from .cross_encoder import CrossEncoderRerankerFunction | ||
from .flagreranker import FlagRerankerFunction | ||
from .voyageai import VoyageRerankerFunction | ||
from .bgereranker import BGERerankFunction | ||
from .cohere import CohereRerankFunction | ||
from .cross_encoder import CrossEncoderRerankFunction | ||
from .voyageai import VoyageRerankFunction | ||
|
||
__all__ = [ | ||
"CohereRerankerFunction", | ||
"FlagRerankerFunction", | ||
"VoyageRerankerFunction", | ||
"CrossEncoderRerankerFunction", | ||
"CohereRerankFunction", | ||
"BGERerankFunction", | ||
"VoyageRerankFunction", | ||
"CrossEncoderRerankFunction", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters