多语言翻译(m2m100_1.2B)
支持100种语言的相互翻译。
M2M100 is a multilingual encoder-decoder (seq-to-seq) model trained for Many-to-Many multilingual translation. It was introduced in this paper and first released in this repository .
The model that can directly translate between the 9,900 directions of 100 languages. To translate into a target language, the target language id is forced as the first generated token. To force the target language id as the first generated token, pass the forcedbostoken_id parameter to the generate method.
使用
https://openi.pcl.ac.cn/cubeai-model-zoo/hffacebookm2m100_1.2B
模型来源
https://hf-mirror.com/facebook/m2m100_1.2B
评论