class_docstr: Base class inherited by all seq2seq model classes.
  
  .. document private functions
  .. automethod:: _build
class_docstr_tok: ["Base","class","inherited","by","all","seq2seq","model","classes",".","..","document","private","functions","..","automethod",":",":","_build"]
code: def __init__(self, data_hparams, hparams=None):
      ModelBase.__init__(self, hparams)
  
      self._data_hparams = HParams(
          data_hparams, PairedTextData.default_hparams()
      )
  
      self._src_vocab = None
      self._tgt_vocab = None
      self._src_embedder = None
      self._tgt_embedder = None
      self._connector = None
      self._encoder = None
      self._decoder = None
  
imports: import tensorflow
  from texar.tf.models.model_base import ModelBase
  from texar.tf.losses.mle_losses import sequence_sparse_softmax_cross_entropy
  from texar.tf.data.data.paired_text_data import PairedTextData
  from texar.tf.core.optimization import get_train_op
  from texar.tf.hyperparams import HParams
  from texar.tf.utils import utils
  from texar.tf.utils.variables import collect_trainable_variables
label_desc: Use image node_id 1 to create a new Seq2seqBase object from inherited base classes: ModelBase with example: obj = Seq2seqBase(data_hparams, hparams)