

TITLE
Training loss suddenly increases and stays the same

COMMENTS
3

REACTIONS
+1: 0
-1: 0
laugh: 0
hooray: 0
heart: 0
rocket: 0
eyes: 0

BODY
# ❓ Questions & Help

<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
     new models and benchmarks, and migration questions. For all other questions,
     we direct you to the Hugging Face forum: https://discuss.huggingface.co/ .
     You can also try Stack Overflow (SO) where a whole community of PyTorch and
     Tensorflow enthusiast can help you out. In this case, make sure to tag your
     question with the right deep learning framework as well as the
     huggingface-transformers tag: 
     https://stackoverflow.com/questions/tagged/huggingface-transformers 
     -->

## Details
<!-- Description of your issue -->

I am trying to develop a language model. The code is modified version of the example given [here](https://github.com/huggingface/transformers/blob/master/examples/language-modeling/run_language_modeling.py).

The problem is that at some point during the training, the training loss spikes up and stays the same. Eval loss follows this trend as well. I am attaching tensorboard plots for reference.

I am using transformers=3.2.0. I tested with transformers=3.3.0 and observed the same issue.

[TensorBoard.pdf](https://github.com/huggingface/transformers/files/5314434/TensorBoard.pdf)
