changing "out_features" of final linear layer
calling `resize_token_embeddings` changes the dimensions of the final linear layer. so changed `out_features`
# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/1598?src=pr&el=h1) Report
> Merging [#1598](https://codecov.io/gh/huggingface/transformers/pull/1598?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b8c9ea0010a09cca8173e5bdf4af855123aebfc7?src=pr&el=desc) will **decrease** coverage by `4.94%`.
> The diff coverage is `100%`.

[![Impacted file tree graph](https://codecov.io/gh/huggingface/transformers/pull/1598/graphs/tree.svg?width=650&token=9qOlN6Hb1c&height=150&src=pr)](https://codecov.io/gh/huggingface/transformers/pull/1598?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           master    #1598      +/-   ##
==========================================
- Coverage   86.16%   81.22%   -4.95%     
==========================================
  Files          91       57      -34     
  Lines       13593     8028    -5565     
==========================================
- Hits        11713     6521    -5192     
+ Misses       1880     1507     -373
```


| [Impacted Files](https://codecov.io/gh/huggingface/transformers/pull/1598?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pytorch\_transformers/modeling\_utils.py](https://codecov.io/gh/huggingface/transformers/pull/1598/diff?src=pr&el=tree#diff-cHl0b3JjaF90cmFuc2Zvcm1lcnMvbW9kZWxpbmdfdXRpbHMucHk=) | `90.3% <100%> (ø)` | |
| [transformers/modeling\_tf\_xlm.py](https://codecov.io/gh/huggingface/transformers/pull/1598/diff?src=pr&el=tree#diff-dHJhbnNmb3JtZXJzL21vZGVsaW5nX3RmX3hsbS5weQ==) | | |
| [transformers/configuration\_distilbert.py](https://codecov.io/gh/huggingface/transformers/pull/1598/diff?src=pr&el=tree#diff-dHJhbnNmb3JtZXJzL2NvbmZpZ3VyYXRpb25fZGlzdGlsYmVydC5weQ==) | | |
| [transformers/configuration\_bert.py](https://codecov.io/gh/huggingface/transformers/pull/1598/diff?src=pr&el=tree#diff-dHJhbnNmb3JtZXJzL2NvbmZpZ3VyYXRpb25fYmVydC5weQ==) | | |
| [transformers/tests/tokenization\_transfo\_xl\_test.py](https://codecov.io/gh/huggingface/transformers/pull/1598/diff?src=pr&el=tree#diff-dHJhbnNmb3JtZXJzL3Rlc3RzL3Rva2VuaXphdGlvbl90cmFuc2ZvX3hsX3Rlc3QucHk=) | | |
| [transformers/tests/modeling\_bert\_test.py](https://codecov.io/gh/huggingface/transformers/pull/1598/diff?src=pr&el=tree#diff-dHJhbnNmb3JtZXJzL3Rlc3RzL21vZGVsaW5nX2JlcnRfdGVzdC5weQ==) | | |
| [transformers/tests/tokenization\_utils\_test.py](https://codecov.io/gh/huggingface/transformers/pull/1598/diff?src=pr&el=tree#diff-dHJhbnNmb3JtZXJzL3Rlc3RzL3Rva2VuaXphdGlvbl91dGlsc190ZXN0LnB5) | | |
| [transformers/tests/modeling\_tf\_ctrl\_test.py](https://codecov.io/gh/huggingface/transformers/pull/1598/diff?src=pr&el=tree#diff-dHJhbnNmb3JtZXJzL3Rlc3RzL21vZGVsaW5nX3RmX2N0cmxfdGVzdC5weQ==) | | |
| [transformers/modeling\_xlnet.py](https://codecov.io/gh/huggingface/transformers/pull/1598/diff?src=pr&el=tree#diff-dHJhbnNmb3JtZXJzL21vZGVsaW5nX3hsbmV0LnB5) | | |
| [transformers/tokenization\_utils.py](https://codecov.io/gh/huggingface/transformers/pull/1598/diff?src=pr&el=tree#diff-dHJhbnNmb3JtZXJzL3Rva2VuaXphdGlvbl91dGlscy5weQ==) | | |
| ... and [139 more](https://codecov.io/gh/huggingface/transformers/pull/1598/diff?src=pr&el=tree-more) | |

------

[Continue to review full report at Codecov](https://codecov.io/gh/huggingface/transformers/pull/1598?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/huggingface/transformers/pull/1598?src=pr&el=footer). Last update [b8c9ea0...9388320](https://codecov.io/gh/huggingface/transformers/pull/1598?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
<|||||>Thanks you for this, I actually had this fix included in #1721