Skip to content

Commit

Permalink
Add percent of data seen.
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgiosSmyrnis committed May 14, 2024
1 parent e10d61d commit 06cb29e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions open_lm/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,7 @@ def main(args):
"epoch": epoch,
"tokens": (global_step + 1) * args.global_batch_size * args.seq_len,
"checkpoints_too_few_tokens": num_ckpt_too_few_tokens,
"percentage_of_data_seen": steps_done_epoch / expected_steps,
}

if args.dataset_manifest is not None:
Expand Down

0 comments on commit 06cb29e

Please sign in to comment.