File tree Expand file tree Collapse file tree
TensorFlow/LanguageModeling/BERT Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7272
7373flags .DEFINE_integer ("num_warmup_steps" , 10000 , "Number of warmup steps." )
7474
75- flags .DEFINE_integer ("save_checkpoint_steps " , 1000 ,
75+ flags .DEFINE_integer ("save_checkpoints_steps " , 1000 ,
7676 "How often to save the model checkpoint." )
7777
7878flags .DEFINE_integer ("iterations_per_loop" , 1000 ,
@@ -477,7 +477,7 @@ def main(_):
477477 run_config = tf .estimator .RunConfig (
478478 model_dir = FLAGS .output_dir ,
479479 session_config = config ,
480- save_checkpoints_steps = FLAGS .save_checkpoint_steps if not FLAGS .horovod or hvd .rank () == 0 else None ,
480+ save_checkpoints_steps = FLAGS .save_checkpoints_steps if not FLAGS .horovod or hvd .rank () == 0 else None ,
481481 # This variable controls how often estimator reports examples/sec.
482482 # Default value is every 100 steps.
483483 # When --report_loss is True, we set to very large value to prevent
You can’t perform that action at this time.
0 commit comments