linzehui / mRASP

165 stars 32 forks source link

我在论文中看到,使用pre_train模型就可以达到不错的效果,那么使用pre_train模型来进行翻译时,输入是用什么表示来区分是哪两种语言的翻译的? #6

Closed luluwangwang1989 closed 3 years ago

luluwangwang1989 commented 3 years ago

if I want to use the pre_train model and fairseq-interactive command to translate a en2de sentence, What should the fairseq-interactive commands look like? just put the "how are you?" or put the "LANG_TOK_DE how are you?" or some thing else to distinguish the target language? could you give me an example of the input command and the input english sequence? thanks very much!