We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5a53a2 commit 6962b99Copy full SHA for 6962b99
model_zoo/bert/run_pretrain.py
@@ -425,7 +425,7 @@ def do_train(args):
425
lr_scheduler.step()
426
optimizer.clear_grad()
427
428
- # NOTE: For accurate data statistics, please open the comments below:
+ # NOTE: For accurate data statistics, please open the comments below,especially when args.logging_steps==1.
429
# if global_step % args.logging_steps == 0:
430
# loss = loss.numpy()
431
total_samples += args.batch_size
0 commit comments