-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename CE...Evaluator to CrossEncoder...Evaluator
With backwards compatibility, old classes are still implemented in deprecated.py. I also move renamed files, but old imports like 'from sentence_transformers.cross_encoder.evaluation.CEBinaryAccuracyEvaluator import CEBinaryAccuracyEvaluator' still work (see test_deprecated_imports.py).
- Loading branch information
Showing
30 changed files
with
364 additions
and
258 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
# Evaluation | ||
CrossEncoder have their own evaluation classes in `sentence_transformers.cross_encoder.evaluation`. | ||
|
||
## CERerankingEvaluator | ||
## CrossEncoderRerankingEvaluator | ||
```{eval-rst} | ||
.. autoclass:: sentence_transformers.cross_encoder.evaluation.CERerankingEvaluator | ||
.. autoclass:: sentence_transformers.cross_encoder.evaluation.CrossEncoderRerankingEvaluator | ||
``` | ||
|
||
## CENanoBEIREvaluator | ||
## CrossEncoderNanoBEIREvaluator | ||
```{eval-rst} | ||
.. autoclass:: sentence_transformers.cross_encoder.evaluation.CENanoBEIREvaluator | ||
.. autoclass:: sentence_transformers.cross_encoder.evaluation.CrossEncoderNanoBEIREvaluator | ||
``` | ||
|
||
## CEClassificationEvaluator | ||
## CrossEncoderClassificationEvaluator | ||
```{eval-rst} | ||
.. autoclass:: sentence_transformers.cross_encoder.evaluation.CEClassificationEvaluator | ||
.. autoclass:: sentence_transformers.cross_encoder.evaluation.CrossEncoderClassificationEvaluator | ||
``` | ||
|
||
## CECorrelationEvaluator | ||
## CrossEncoderCorrelationEvaluator | ||
```{eval-rst} | ||
.. autoclass:: sentence_transformers.cross_encoder.evaluation.CECorrelationEvaluator | ||
.. autoclass:: sentence_transformers.cross_encoder.evaluation.CrossEncoderCorrelationEvaluator | ||
``` |
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
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
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
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
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
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
Oops, something went wrong.