diff --git a/appendix-E/01_main-chapter-code/appendix-E.ipynb b/appendix-E/01_main-chapter-code/appendix-E.ipynb index 33fffc8..f973af8 100644 --- a/appendix-E/01_main-chapter-code/appendix-E.ipynb +++ b/appendix-E/01_main-chapter-code/appendix-E.ipynb @@ -615,7 +615,9 @@ "id": "4D21Jk7Vw3nG" }, "source": [ - "- To try LoRA on the GPT model we defined earlier, we define a `replace_linear_with_lora` function to replace all `Linear` layers in the model with the new `LinearWithLoRA` layers" + "- To try LoRA on the GPT model we defined earlier, we define a `replace_linear_with_lora` function to replace all `Linear` layers in the model with the new `LinearWithLoRA` layers\n", + "\n", + "" ] }, { @@ -642,7 +644,8 @@ "id": "8c172164-cdde-4489-b7d7-aaed9cc2f5f2", "metadata": {}, "source": [ - "- We then freeze the original model parameter and use the `replace_linear_with_lora` to replace the said `Linear` layers below" + "- We then freeze the original model parameter and use the `replace_linear_with_lora` to replace the said `Linear` layers using the code below\n", + "- This will replace the `Linear` layers in the " ] }, {