From b48d436bfc3a7974d21cf23dbd5815fceefde1e1 Mon Sep 17 00:00:00 2001 From: Kumar Utsav Date: Wed, 29 May 2024 20:34:23 +0530 Subject: [PATCH] Update ch05.ipynb Fixed incorrect token ids --- ch05/01_main-chapter-code/ch05.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch05/01_main-chapter-code/ch05.ipynb b/ch05/01_main-chapter-code/ch05.ipynb index 8be9565..b1e4814 100644 --- a/ch05/01_main-chapter-code/ch05.ipynb +++ b/ch05/01_main-chapter-code/ch05.ipynb @@ -290,7 +290,7 @@ " [40, 1107, 588]]) # \"I really like\"]\n", "\n", "targets = torch.tensor([[3626, 6100, 345 ], # [\" effort moves you\",\n", - " [588, 428, 11311]]) # \" really like chocolate\"]" + " [1107, 588, 11311]]) # \" really like chocolate\"]" ] }, {