/tensorflow-seq2seq-translate

Sequence-to-Sequence Translation Model compatible with latest Tensorflow version

Primary LanguagePythonApache License 2.0Apache-2.0

Sequence-to-Sequence Translation Model

Implementation of the legacy seq2seq tutorial adapted to the latest Tensorflow version. Original code used to be in tensorflow/tensorflow/models/rnn/translate/ package until the seq2seq model got replaced with NMT. Since then, the old model became only compatible with tensorflow not greater than 1.0.

This code in this repo gets updated to the latest tensorflow: it uses corresponding tensorflow.contrib.legacy_seq2seq API, applies the patches where necessary (like this one) and in general keeps the model compatible with tensorflow updates.