mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2025-09-01 12:27:59 +00:00
update chapter reference
This commit is contained in:
parent
35c6e12730
commit
c1d939c64e
@ -276,7 +276,7 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"- Suppose we have an `inputs` tensor containing the token IDs for 2 training examples (rows)\n",
|
"- Suppose we have an `inputs` tensor containing the token IDs for 2 training examples (rows)\n",
|
||||||
"- Corresponding to the `inputs`, the `targets` contain the desired token IDs that we want the model to generate\n",
|
"- Corresponding to the `inputs`, the `targets` contain the desired token IDs that we want the model to generate\n",
|
||||||
"- Notice that the `targets` are the `inputs` shifted by 1 position, as explained in Chapter 1 when we implemented the data loader"
|
"- Notice that the `targets` are the `inputs` shifted by 1 position, as explained in chapter 2 when we implemented the data loader"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user