Skip to content

Commit

Permalink
Remove get_lr() from logs which refers to nonexistent function from b…
Browse files Browse the repository at this point in the history
…windsor22/patch-1

Remove `get_lr()` from logs which refers to nonexistent function
  • Loading branch information
osanseviero authored Dec 14, 2023
2 parents cfb9e62 + adf9b1a commit 1970e1e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions chapters/en/chapter7/6.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,6 @@ for epoch in range(num_train_epochs):
if step % 100 == 0:
accelerator.print(
{
"lr": get_lr(),
"samples": step * samples_per_step,
"steps": completed_steps,
"loss/train": loss.item() * gradient_accumulation_steps,
Expand Down Expand Up @@ -912,4 +911,4 @@ And that's it -- you now have your own custom training loop for causal language

</Tip>

{/if}
{/if}

0 comments on commit 1970e1e

Please sign in to comment.