Skip to content

Commit 7de4050

Browse files
authored
Merge branch 'main' into development
2 parents 57a65bd + 2695e8c commit 7de4050

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Local cross-platform machine translation GUI, based on [CTranslate2](https://git
2626

2727
## Translation Models
2828

29-
Currently, DesktopTranslator supports CTranslate2 models, and SentencePiece subwording models (you need both). If you have a model for OpenNMT-py, OpenNMT-tf, or FairSeq, you can convert it to a CTranslate2 format.
29+
Currently, DesktopTranslator supports CTranslate2 models, and SentencePiece subwording models (you need both). If you have a model for OpenNMT-py, OpenNMT-tf, or FairSeq, you can [convert it to the CTranslate2 format](https://github.com/OpenNMT/CTranslate2#quickstart).
3030

3131
### French-to-English Generic Model
3232

@@ -40,14 +40,14 @@ If you would like to try out the app and you do not have a model, you can downlo
4040

4141
### M2M-100 Multilingual Model
4242

43-
Now, DesktopTranslator supports **M2M-100** ([Fan et al., 2020](https://arxiv.org/abs/2010.11125)), a multilingual model that can translate between 100 languages.
43+
Now, DesktopTranslator supports [**M2M-100**](https://github.com/pytorch/fairseq/tree/main/examples/m2m_100) ([Fan et al., 2020](https://arxiv.org/abs/2010.11125)), a multilingual model that can translate between 100 languages.
4444

4545
<kbd> ![DesktopTranslator](img/DesktopTranslator_M2M-100.png)
4646

4747
To use M2M-100 models in DesktopTranslator, please follow these steps:
4848
1. Download one of the M2M-100 models, converted to the CTranslate2 format:
49-
a. [M2M-100 418M-parameter model](https://pretrained-nmt-models.s3.us-west-2.amazonaws.com/CTranslate2/m2m100/m2m100_ct2_418m.zip); smaller and faster, but sometimes less accurate; or
50-
b. [M2M-100 1.2B-parameter model](https://pretrained-nmt-models.s3.us-west-2.amazonaws.com/CTranslate2/m2m100/m2m100_ct2_12b.zip); bigger and somehow slower, but sometimes more accurate.
49+
a. [M2M-100 418M-parameter model](https://bit.ly/33fM1AO); smaller and faster, but sometimes less accurate; or
50+
b. [M2M-100 1.2B-parameter model](https://bit.ly/3GYiaed); bigger and somehow slower, but sometimes more accurate.
5151
2. Extract the *.zip arhieve of the model you downloaded.
5252
3. In DesktopTranslator, click the <kbd>CTranslate2 Model</kbd> button, and select the `m2m100_418m` or `m2m100_12b` folder.
5353
4. Click the <kbd>SentencePiece Model</kbd> button, and from the same model folder, select `sentencepiece.model`.

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ Pmw==2.0.1
77
pysbd==0.3.4
88
sentencepiece==0.1.96
99
sentence-splitter==1.4
10-
tqdm==4.62.3
10+
tqdm==4.62.3

0 commit comments

Comments
 (0)