          decode_batch(optimizer.target, 5)
    return optimizer.target
  
-@@ -390,4 +402,4 @@ def main(_):
+@@ -390,4 +401,4 @@ def main(_):
  
  
  if __name__ == '__main__':

diff --git a/examples/seq2seq/train.py b/examples/seq2seq/train.py
index 60b79b5..c3df5b1 100644
--- a/examples/seq2seq/train.py
+++ b/examples/seq2seq/train.py
@@ -190,17 +190,19 @@ class Encoder(nn.Module):

       hidden_size: int, the number of hidden dimensions in the encoder and
         decoder LSTMs.
     Returns:
@@ -252,8 +255,7 @@ class Seq2seq(nn.Module):
     """
     init_decoder_state = Encoder(encoder_inputs, eos_id=eos_id,
         hidden_size=hidden_size)
-    logits, predictions = Decoder(init_decoder_state, decoder_inputs[:, :-1], 
-        teacher_force=teacher_force)
+    logits, predictions = Decoder(init_decoder_state, decoder_inputs[:, :-1])
 
     return logits, predictions
 
@@ -323,14 +325,16 @@ def compute_metrics(logits, labels):
 
 
 @jax.jit
