瀏覽代碼

Update ch07.ipynb (#643)

Correct function name
Greg Gandenberger 5 月之前
父節點
當前提交
7632eb018b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ch07/01_main-chapter-code/ch07.ipynb

+ 1 - 1
ch07/01_main-chapter-code/ch07.ipynb

@@ -1634,7 +1634,7 @@
     ")\n",
     "# Alternatively:\n",
     "# from llms_from_scratch.ch05 import (\n",
-    "#    generate_text_simple,\n",
+    "#    generate,\n",
     "#    text_to_token_ids,\n",
     "#    token_ids_to_text\n",
     "# )\n",