boris commited on
Commit
f65ccb3
1 Parent(s): a173dad

fix: missing arg

Browse files

Former-commit-id: ae6b730efc6819a366c2b35810d0f2c0a90b3227

Files changed (1) hide show
  1. seq2seq/run_seq2seq_flax.py +1 -1
seq2seq/run_seq2seq_flax.py CHANGED
@@ -703,7 +703,7 @@ def main():
703
  )
704
  if model_args.from_checkpoint is not None:
705
  # restore optimizer state, step and optimizer_step
706
- restore_state(state)
707
 
708
  # label smoothed cross entropy
709
  def loss_fn(logits, labels):
 
703
  )
704
  if model_args.from_checkpoint is not None:
705
  # restore optimizer state, step and optimizer_step
706
+ restore_state(state, artifact_dir)
707
 
708
  # label smoothed cross entropy
709
  def loss_fn(logits, labels):