def basic_gnmt_luong_att():
  """Hparams for LSTM with luong attention."""
  hparams = base_nmt_gnmt_lstm(base_att(base_nmt()))
  hparams.add_hparam("attention_gnmt", True)
  hparams.add_hparam("attention_mechanism", "luong")
  return hparams
Hparams for LSTM with luong attention.
language/labs/consistent_zero_shot_nmt/models/basic.py