Seq2seq Library

Seq2seq Library (contrib)

Module for constructing seq2seq models and dynamic decoding. Builds on top of libraries in tf.contrib.rnn.

This library is composed of two primary components:

  • New attention wrappers for tf.contrib.rnn.RNNCell objects.
  • A new object-oriented dynamic decoding framework.

Attention

Attention wrappers are RNNCell objects that wrap other RNNCell objects and implement attention. The form of attention is determined by a subclass of tf-contrib-seq2seq-AttentionMechanism- These subclasses describe the form o