Closed alvarobartt closed 11 months ago
Hi to whoever is reading this! 🤗
In the GPT2 configuration, the special_tokens include <|endoftext|>, while the pre-defined constant should be used instead, defined some lines above. So on, this PR just replaces <|endoftext|> with the constant ENDOFTEXT.
special_tokens
<|endoftext|>
ENDOFTEXT
Thanks!
Hi to whoever is reading this! 🤗
What's in this PR?
In the GPT2 configuration, the
special_tokens
include<|endoftext|>
, while the pre-defined constant should be used instead, defined some lines above. So on, this PR just replaces<|endoftext|>
with the constantENDOFTEXT
.