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.
Compile the bergamot fork of marian. Use the
-DUSE_SENTENCEPIECE=ON flag when configuring the cmake project. This is the only non-default flag.
Download and extract the tarball for the desired language pair:
Once you extract the tarball, you will be presented with a directories containing the translation model.
The directories will be named
$SRCTRG$.student.base. Inside those directories you will find model files, an example configuration file (.yml) and an example .sh file for running the models with marian.
speed.cpu.intgemm8bitalpha.shAn example command line run of the model that benchmarks speed.
config.intgemm8bitalpha.ymlAn example configuration file for command line running.
server.intgemm8bitalpha.ymlAn example server configuration.
You need to edit the .sh script, providing the path to the
MARIAN executable and once this is done you can run the example.
Additional details about the translation models (such as size, BLEU score, etc) is also available: