Skip to content

Commit

Permalink
updated logger to include global_step
Browse files Browse the repository at this point in the history
  • Loading branch information
jshuadvd committed Jul 9, 2024
1 parent 64054e5 commit 947bd63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ def train(
wandb.log(
{
"epoch": epoch,
"global_step": global_step,
"train_loss": avg_train_loss,
"train_perplexity": train_perplexity,
"val_loss": avg_val_loss,
Expand Down

0 comments on commit 947bd63

Please sign in to comment.