mirror of
https://github.com/karpathy/nanochat.git
synced 2026-06-19 12:39:10 +00:00
Merge 76dac3c7a2 into 4d8dbaf6e0
This commit is contained in:
commit
784151d3a6
|
|
@ -171,8 +171,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