mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2025-08-28 18:40:01 +00:00
remove redundant line
This commit is contained in:
parent
cb194fa8fa
commit
e1046746e8
@ -431,7 +431,6 @@
|
||||
"\n",
|
||||
"optimizer = torch.optim.AdamW(model.parameters(), lr=0.0004, weight_decay=0.1)\n",
|
||||
"optimizer.load_state_dict(checkpoint[\"optimizer_state_dict\"])\n",
|
||||
"model.to(device)\n",
|
||||
"model.train();"
|
||||
]
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user