fix repetition penalty mask in tf
Fixed bug with TF 2.0 `repetition_penalty` when doing generation add make `early_stopping` an argument to the function `generate()`.
# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3190?src=pr&el=h1) Report
> Merging [#3190](https://codecov.io/gh/huggingface/transformers/pull/3190?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b29fed790bdaa4be38b6d2c5de88e307474ea38d?src=pr&el=desc) will **increase** coverage by `0.1%`.
> The diff coverage is `42.85%`.

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

```diff
@@            Coverage Diff            @@
##           master    #3190     +/-   ##
=========================================
+ Coverage   77.98%   78.09%   +0.1%     
=========================================
  Files          98       98             
  Lines       16641    16645      +4     
=========================================
+ Hits        12978    12999     +21     
+ Misses       3663     3646     -17
```


| [Impacted Files](https://codecov.io/gh/huggingface/transformers/pull/3190?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [src/transformers/configuration\_utils.py](https://codecov.io/gh/huggingface/transformers/pull/3190/diff?src=pr&el=tree#diff-c3JjL3RyYW5zZm9ybWVycy9jb25maWd1cmF0aW9uX3V0aWxzLnB5) | `96.74% <100%> (+0.02%)` | :arrow_up: |
| [src/transformers/modeling\_tf\_utils.py](https://codecov.io/gh/huggingface/transformers/pull/3190/diff?src=pr&el=tree#diff-c3JjL3RyYW5zZm9ybWVycy9tb2RlbGluZ190Zl91dGlscy5weQ==) | `91.38% <33.33%> (+3.59%)` | :arrow_up: |
| [src/transformers/modeling\_utils.py](https://codecov.io/gh/huggingface/transformers/pull/3190/diff?src=pr&el=tree#diff-c3JjL3RyYW5zZm9ybWVycy9tb2RlbGluZ191dGlscy5weQ==) | `94.56% <0%> (-0.16%)` | :arrow_down: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/huggingface/transformers/pull/3190?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/3190?src=pr&el=footer). Last update [b29fed7...847d370](https://codecov.io/gh/huggingface/transformers/pull/3190?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
<|||||>Good to merge for me.<|||||>> Small typo bug otherwise it's good to go

Thanks for spotting!