-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored CrossEncoder into our own wrapper class to support head tr…
…aining (#88) * Refactored CrossEncoder into our own wrapper class to support head training * Fix typo in comment * fixing tests * Fixing mypy errors * Fixing doc build * Still fixing doc build * Keep fixing doc build * minor bug fix * mypy was updated `(-_-)` * change type annotation of `pairs`argument * `_logits_list` -> `_activations_list` * `get_features` -> `_get_features_or_predictions` --------- Co-authored-by: Алексеев Илья <44509110+voorhs@users.noreply.github.com> Co-authored-by: voorhs <ilya_alekseev_2016@list.ru>
- Loading branch information
1 parent
8a61a6c
commit 2bf20ec
Showing
8 changed files
with
219 additions
and
90 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from ._nli_transformer import NLITransformer | ||
|
||
__all__ = ["NLITransformer"] |
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.