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 this branch 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 present with several directories containing the translation model.
The directories will be named
$SRCTRG$.student.base. Inside those directories you will have several translation scripts:
speed.cpu.packed8.shslightly faster translation, available on AVX2 hardware
speed.cpu.intgemm8bit.shfaster 8bit translation.
speed.cpu.intgemm8bitalpha.shthe fastest possible 8bit translation.
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
speed.cpu.intgemm8bitalpha.sh for the best decoding speed.
Additional details about the translation models (such as size, BLEU score, etc) is also available: