This code has been merged into https://github.com/mila-udem/blocks-examples/tree/master/machine_translation/.