mirror of
https://github.com/karpathy/nanochat.git
synced 2026-02-22 19:40:25 +00:00
Merge de50af6283 into 238353c998
This commit is contained in:
commit
291968a9a7
|
|
@ -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