mirror of
https://github.com/karpathy/nanochat.git
synced 2026-03-01 23:10:28 +00:00
update comment
This commit is contained in:
parent
36d132eb23
commit
0d60d74dc0
|
|
@ -234,7 +234,6 @@ while True:
|
|||
model.train()
|
||||
|
||||
# save checkpoint: at the last step, or every save_every steps, except at the first step or the resume step
|
||||
# save progress before possible OOM in CORE metric
|
||||
if last_step or (step > 0 and step != resume_from_step and save_every > 0 and step % save_every == 0):
|
||||
save_checkpoint(
|
||||
checkpoint_dir,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user