From 57f545d1c6902c14a6fb789d5649940cc1d6e30a Mon Sep 17 00:00:00 2001 From: synix Date: Wed, 17 Sep 2025 09:14:48 +0800 Subject: [PATCH] fix code comment --- ch03/01_main-chapter-code/ch03.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch03/01_main-chapter-code/ch03.ipynb b/ch03/01_main-chapter-code/ch03.ipynb index 148ce2611..46c82b818 100644 --- a/ch03/01_main-chapter-code/ch03.ipynb +++ b/ch03/01_main-chapter-code/ch03.ipynb @@ -1844,7 +1844,7 @@ " # As in `CausalAttention`, for inputs where `num_tokens` exceeds `context_length`, \n", " # this will result in errors in the mask creation further below. \n", " # In practice, this is not a problem since the LLM (chapters 4-7) ensures that inputs \n", - " # do not exceed `context_length` before reaching this forwar\n", + " # do not exceed `context_length` before reaching this forward method.\n", "\n", " keys = self.W_key(x) # Shape: (b, num_tokens, d_out)\n", " queries = self.W_query(x)\n",