m2m100_418M

583 downloads 5 likes on ModelScope updated

Model card

多语言翻译(m2m100_418M)

支持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 forced_bos_token_id parameter to the generate method.

使用

https://openi.pcl.ac.cn/cubeai-model-zoo/hf_facebook_m2m100_418M

模型来源

https://hf-mirror.com/facebook/m2m100_418M