File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
appendix-D/01_main-chapter-code Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 203203 "id" : " 5bf3a8da-abc4-4b80-a5d8-f1cc1c7cc5f3" ,
204204 "metadata" : {},
205205 "source" : [
206- " - Typically, the number of warmup steps is between 0.1% to 10 % of the total number of steps\n " ,
206+ " - Typically, the number of warmup steps is between 0.1% to 20 % of the total number of steps\n " ,
207207 " - We can compute the increment as the difference between the `peak_lr` and `initial_lr` divided by the number of warmup steps"
208208 ]
209209 },
227227 " print(warmup_steps)"
228228 ]
229229 },
230+ {
231+ "cell_type" : " markdown" ,
232+ "id" : " 4b6bbdc8-0104-459e-a7ed-b08be8578709" ,
233+ "metadata" : {},
234+ "source" : [
235+ " - Note that the print book accidentally includes a leftover code line, `warmup_steps = 20`, which is not used and can be safely ignored"
236+ ]
237+ },
230238 {
231239 "cell_type" : " code" ,
232240 "execution_count" : 6 ,
809817 "name" : " python" ,
810818 "nbconvert_exporter" : " python" ,
811819 "pygments_lexer" : " ipython3" ,
812- "version" : " 3.11.4 "
820+ "version" : " 3.10.6 "
813821 }
814822 },
815823 "nbformat" : 4 ,
You can’t perform that action at this time.
0 commit comments