This model can be used for translation and text-to-text generation.
Significant research has explored bias and fairness issues with language models (see, e.g.,
Sheng et al. (2021) and
Bender et al. (2021)).
Further details about the dataset for this model can be found in the OPUS readme:
zho-eng
-
pre-processing: normalization + SentencePiece (spm32k,spm32k)
-
ref_len: 82826.0
-
-
download original weights:
opus-2020-07-17.zip
-
1@InProceedings{TiedemannThottingal:EAMT2020,
2 author = {J{\"o}rg Tiedemann and Santhosh Thottingal},
3 title = {{OPUS-MT} — {B}uilding open translation services for the {W}orld},
4 booktitle = {Proceedings of the 22nd Annual Conferenec of the European Association for Machine Translation (EAMT)},
5 year = {2020},
6 address = {Lisbon, Portugal}
7 }
1from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
2
3tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-zh-en")
4
5model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-zh-en")