mirror of
https://github.com/karpathy/nanochat.git
synced 2026-01-20 10:23:42 +00:00
Merge ff126c085e into 63bb5831e2
This commit is contained in:
commit
c90f77fc40
|
|
@ -172,8 +172,8 @@ def get_lr_multiplier(it):
|
|||
|
||||
# Go!
|
||||
step = 0
|
||||
for step in range(num_iterations):
|
||||
last_step = step == num_iterations - 1
|
||||
for step in range(num_iterations + 1):
|
||||
last_step = step == num_iterations
|
||||
|
||||
# evaluate the validation loss
|
||||
if last_step or step % args.eval_every == 0:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user