This demos is built upon the Flickr data set. You can download pre-processed files by running
make flickr/data
Pre-trained models can also be downloaded as:
Conditional:
make flickr/models/conditional
AEVNMT:
make flickr/models/aevnmt/supervised
In conditional neural machine translation, we learn a conditional distribution
Training you can train a German-English model by running:
./conditional-training.sh
Prediction you can translate the dev set by running:
./conditional-translate.sh
Interactive demo you can play with it yourself by entering raw (no preprocessing required) German sentences in the terminal:
./conditional-interactive-translate.sh
Auto-Encoding Variational Neural Machine Translation, AEVNMT for short, is a joint generative model of translation data (sentence pairs).
It learns a joint distribution
In AEVNMT training is performed via variational inference with a posterior approximation
Training you can train a German-English model by running:
./aevnmt-training.sh
Prediction you can translate the dev set by running:
./aevnmt-translate.sh
Interactive demo you can play with it yourself by entering raw (no preprocessing required) German sentences in the terminal:
./aevnmt-interactive-translate.sh