Update ch05.ipynb

Fixed incorrect token ids
This commit is contained in:
Kumar Utsav 2024-05-29 20:34:23 +05:30 committed by GitHub
parent 688df76bc0
commit b48d436bfc

View File

@ -290,7 +290,7 @@
" [40, 1107, 588]]) # \"I really like\"]\n", " [40, 1107, 588]]) # \"I really like\"]\n",
"\n", "\n",
"targets = torch.tensor([[3626, 6100, 345 ], # [\" effort moves you\",\n", "targets = torch.tensor([[3626, 6100, 345 ], # [\" effort moves you\",\n",
" [588, 428, 11311]]) # \" really like chocolate\"]" " [1107, 588, 11311]]) # \" really like chocolate\"]"
] ]
}, },
{ {