Resizing embedding matrix before sending it to the optimizer.
This bug will rise when you add new token types in the Tokenizer.
Since the resizing was done **after** passing the params to the optimizer, the wrong set of params for the embedding table were optimized.
Since I just swapped some lines, I guess this code quality check got activated after this file came up in the repo..! 😬<|||||>Hi Nicolas,
You have to install the code style tools and run `make style` and `make quality` on your PR.
Check the contributing guide for the details: https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-contributing-pull-requests<|||||>Shoot I'm sorry, totally forgot to check the contributing guidelines. Let me fix this real quick.