def basic_nmt_bilstm_bahdanau_att():
  """Hparams for LSTM with bahdanau attention."""
  hparams = base_nmt_bilstm(base_att(base_nmt()))
  hparams.add_hparam("attention_gnmt", False)
  hparams.add_hparam("attention_mechanism", "bahdanau")
  return hparams
Hparams for LSTM with bahdanau attention.
language/labs/consistent_zero_shot_nmt/models/basic.py