Bergamot translation models

You have reached this web page, because you were interested in the bergamot browser translation models. This webpage will provide a step by step guide of how to use them.

Get marian

Compile this branch of marian. Use the -DUSE_SENTENCEPIECE=ON flag when configuring the cmake project. This is the only non-default flag.

Download the translation model

Download and extract the tarball for the desired language pair:


Once you extract the tarball, you will be present with several directories containing the translation model.

The directories will be named $SRCTRG$.student.tiny11 or $SRCTRG$.student.base. Inside those directories you will have several translation scripts:

You need to edit each script, providing the path to the MARIAN executable and once this is done you can run the example.

Make sure to use the for the best decoding speed.

Model details

Additional details about the translation models (such as size, BLEU score, etc) is also available: