mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2025-08-29 19:10:19 +00:00
Update ch05.ipynb
Fixed incorrect token ids
This commit is contained in:
parent
688df76bc0
commit
b48d436bfc
@ -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\"]"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user