easy-translate / examples /m2m100-1.2B.sh
Iker's picture
Add support for SMALL100 and update examples
911ab5a
raw
history blame
263 Bytes
# Run M2M100-1.2B model on sample text. One GPU, default precision.
python3 translate.py \
--sentences_path sample_text/en.txt \
--output_path sample_text/en2es.translation.m2m100_1.2B.txt \
--source_lang en \
--target_lang es \
--model_name facebook/m2m100_1.2B