-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add converters for Marian and OPUS-MT (#720)
* Add converters for Marian and OPUS-MT * Add missing backslash * Decode bytes * Fix encoding * Fix encoding
- Loading branch information
1 parent
25d9e35
commit dcb7888
Showing
16 changed files
with
456 additions
and
66 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
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,4 +1,6 @@ | ||
from ctranslate2.converters.converter import Converter | ||
from ctranslate2.converters.fairseq import FairseqConverter | ||
from ctranslate2.converters.marian import MarianConverter | ||
from ctranslate2.converters.opennmt_py import OpenNMTPyConverter | ||
from ctranslate2.converters.opennmt_tf import OpenNMTTFConverter | ||
from ctranslate2.converters.opus_mt import OpusMTConverter |
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.