mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2025-08-28 18:40:01 +00:00
text -> dataset
This commit is contained in:
parent
6cc9cf9f4e
commit
a31d571625
@ -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