rasbt 1 年之前
父节点
当前提交
16d19751b0
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ch06/01_main-chapter-code/exercise-solutions.ipynb

+ 2 - 2
ch06/01_main-chapter-code/exercise-solutions.ipynb

@@ -32,7 +32,7 @@
    "id": "5860ba9f-2db3-4480-b96b-4be1c68981eb",
    "metadata": {},
    "source": [
-    "We can pad the inputs to the maximum number of tokens to the maximum the model supports by setting the max length to\n",
+    "We can pad the inputs to the maximum number of tokens the model supports by setting the max length to 1024:\n",
     "\n",
     "```python\n",
     "max_length = 1024\n",
@@ -112,7 +112,7 @@
    "id": "7418a629-51b6-4aa2-83b7-bc0261bc370f",
    "metadata": {},
    "source": [
-    "ther than finetuning the last output token, we can finetune the first output token by changing \n",
+    "Rather than finetuning the last output token, we can finetune the first output token by changing \n",
     "\n",
     "```python\n",
     "model(input_batch)[:, -1, :]\n",