Causal language modeling documentation is wrong? 
I just noticed that [on this page](https://huggingface.co/docs/transformers/tasks/language_modeling) we do not add any end-of-speech token (EOS) to the end of the texts.
This means we are training a model that does not shut up! The EOS token should be added!
Thanks a lot! Transfering this to transformers<|||||>It's just an example that we keep as simple as possible. You can customize it to your needs for your own trainings.<|||||>An example that is **wrong**, let's not try to argue that it isn't 😅 . In that example, you are interested in training to generate sentences, but you are actually training the model to never stop generating...<|||||>This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) are likely to be ignored.