-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86 from koaning/v0.6.0
V0.6.0
- Loading branch information
Showing
17 changed files
with
729 additions
and
113 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
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,14 +1,26 @@ | ||
If you're interested in how to use these components, you'll probably want to | ||
read [this section first](/finetuners/). | ||
|
||
## ForwardFinetuner | ||
## FeedForwardTuner | ||
|
||
::: embetter.finetune.ForwardFinetuner | ||
::: embetter.finetune.FeedForwardTuner | ||
options: | ||
members: false | ||
|
||
## ContrastiveFinetuner | ||
## ContrastiveTuner | ||
|
||
::: embetter.finetune.ContrastiveFinetuner | ||
::: embetter.finetune.ContrastiveTuner | ||
options: | ||
members: false | ||
|
||
## ContrastiveLearner | ||
|
||
::: embetter.finetune.ContrastiveLearner | ||
options: | ||
members: false | ||
|
||
## SbertLearner | ||
|
||
::: embetter.finetune.SbertLearner | ||
options: | ||
members: false |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,7 @@ | ||
from embetter.error import NotInstalled | ||
from embetter.finetune._forward import FeedForwardTuner | ||
from embetter.finetune._contrastive_tuner import ContrastiveTuner | ||
from embetter.finetune._constrastive_learn import ContrastiveLearner | ||
from embetter.finetune._sbert_learn import SbertLearner | ||
|
||
try: | ||
from embetter.finetune._forward import ForwardFinetuner | ||
from embetter.finetune._contrastive import ContrastiveFinetuner | ||
except ModuleNotFoundError: | ||
ForwardFinetuner = NotInstalled("ForwardFinetuner", "pytorch") | ||
ContrastiveFinetuner = NotInstalled("ContrastiveFinetuner", "pytorch") | ||
|
||
|
||
__all__ = ["ForwardFinetuner", "ContrastiveFinetuner"] | ||
__all__ = ["FeedForwardTuner", "ContrastiveTuner", "SbertLearner", "ContrastiveLearner"] |
Oops, something went wrong.