From bfc6389fab4a1d30605629b234058d66a1ccac00 Mon Sep 17 00:00:00 2001 From: Synix Date: Wed, 17 Sep 2025 09:36:02 +0800 Subject: [PATCH] fix code comment (#834) --- 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 148ce26..46c82b8 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",