GPT-2 last sentence-trunication
Hi,I have a question about text generation and GPT-2. when I generate text with GPT-2 model sometimes the last sentence is not a proper sentence for example :Once upon a time, there was a group of new immigrants and their son who at the beginning of World War II once began a long run of the most inhumane abuse they had been involved in. At the age the so-snappy, oneI wonder is there a way to handle this issue.I’ve checkedPreprocessing dataand used different values forpaddingandtruncationbut the problem still remains the same.also, I tried to use<|endoftext|>in the tokenizer but it didn’t work.thanks