lvapeab / nmt-keras

Neural Machine Translation with Keras
http://nmt-keras.readthedocs.io
MIT License
533 stars 130 forks source link

How do we implement bidirection translation using the same model? #51

Closed frajos100 closed 6 years ago

frajos100 commented 6 years ago

How do we implement bidirection translation using the same model i.e. From Spanish to English and from English to Spanish? Is there any configurations in the config.py that needs to be changed?

lvapeab commented 6 years ago

Hi,

I never tried to train a multilingual model. According to Johnson et al., this can be easily done in a pre/post processing step with a conventional NMT system.

Cheers.

frajos100 commented 6 years ago

Hi, This is not related to multilingual but bi direction translation from English to French and vice versa. Only one language pair. How do we perform the training?

lvapeab commented 6 years ago

Well, it is a particular case: You can see En->Fr and Fr->En as two language pairs.