def base_agreement(hparams):
  """Adds base hparams for AgreementMultilingualNmt."""
  # Encoder agreement.
  hparams.add_hparam("enc_agreement_coeff", 0.0001)
  hparams.add_hparam("enc_agreement_loss", "cosine")
  hparams.add_hparam("enc_agreement_pool", True)
  hparams.add_hparam("enc_agreement_enable_step", 100000)

  # Decoder agreement.
  hparams.add_hparam("aux_decode_length", 40)
  hparams.add_hparam("dec_agreement_coeff", 0.001)
  hparams.add_hparam("dec_agreement_loss_sparse", False)
  hparams.add_hparam("dec_agreement_enable_step", 100000)

  return hparams