This is the code we used in our paper:
Differentiable Sampling with Flexible Reference Word Order for Neural Machine Translation
Weijia Xu, Xing Niu, Marine Carpuat
This is implemented based on Sockeye.
IWSLT'14 German-English data preprocessed using the script by Ranzato et al. (2015).
IWSLT'15 Vietnamese-English data preprocessed by Luong and Manning (2015).
For information on training and inference with Sockeye, please visit the documentation.