forked from bfsujason/bertalign
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
17 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
__author__ = "Jason ([email protected])" | ||
__version__ = "1.1.0" | ||
|
||
from bertalign.encoder import Encoder | ||
from aquilign.align.bertalign.encoder import Encoder | ||
# from sonar.inference_pipelines.text import TextToEmbeddingModelPipeline | ||
# See other cross-lingual embedding models at | ||
# https://www.sbert.net/docs/pretrained_models.html | ||
|
@@ -19,4 +19,4 @@ | |
# nb = input(f'Choose a model:') | ||
model = Encoder(models[int(1)]) | ||
|
||
from bertalign.aligner import Bertalign | ||
from aquilign.align.bertalign.aligner import Bertalign |
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