Эх сурвалжийг харах

explain truncation in ch05

rasbt 1 жил өмнө
parent
commit
c6466990bb

+ 5 - 2
ch05/01_main-chapter-code/ch05.ipynb

@@ -1786,7 +1786,10 @@
    "id": "7ae6fffd-2730-4abe-a2d3-781fc4836f17",
    "metadata": {},
    "source": [
-    "<img src=\"https://sebastianraschka.com/images/LLMs-from-scratch-images/ch05_compressed/topk.webp\" width=500px>"
+    "<img src=\"https://sebastianraschka.com/images/LLMs-from-scratch-images/ch05_compressed/topk.webp\" width=500px>\n",
+    "\n",
+    "- (Please note that the numbers in this figure are truncated to two\n",
+    "digits after the decimal point to reduce visual clutter. The values in the Softmax row should add up to 1.0.)"
    ]
   },
   {
@@ -2477,7 +2480,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.10.6"
+   "version": "3.11.4"
   }
  },
  "nbformat": 4,