Skip to content

Commit 6962b99

Browse files
committed
refine
1 parent f5a53a2 commit 6962b99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

model_zoo/bert/run_pretrain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ def do_train(args):
425425
lr_scheduler.step()
426426
optimizer.clear_grad()
427427

428-
# NOTE: For accurate data statistics please open the comments below
428+
# NOTE: For accurate data statistics, please open the comments below,especially when args.logging_steps==1.
429429
# if global_step % args.logging_steps == 0:
430430
# loss = loss.numpy()
431431
total_samples += args.batch_size

0 commit comments

Comments
 (0)