mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2025-09-02 21:07:52 +00:00
text -> dataset
This commit is contained in:
parent
24e9110fa8
commit
a09a70c345
@ -519,7 +519,7 @@
|
||||
" - 1. truncate all messages to the length of the shortest message in the dataset or batch\n",
|
||||
" - 2. pad all messages to the length of the longest message in the dataset or batch\n",
|
||||
"\n",
|
||||
"- We choose option 2 and pad all messages to the longest message in the text\n",
|
||||
"- We choose option 2 and pad all messages to the longest message in the dataset\n",
|
||||
"- For that, we use `<|endoftext|>` as a padding token, as discussed in chapter 2"
|
||||
]
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user