Raise errors that are not raised now
Raise errors that are not raised now.
# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5012?src=pr&el=h1) Report
> Merging [#5012](https://codecov.io/gh/huggingface/transformers/pull/5012?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f7c93b3ceec341c3c794e9fc18939bc5d50b0fc2&el=desc) will **increase** coverage by `0.00%`.
> The diff coverage is `n/a`.

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

```diff
@@           Coverage Diff           @@
##           master    #5012   +/-   ##
=======================================
  Coverage   77.26%   77.26%           
=======================================
  Files         128      128           
  Lines       21856    21856           
=======================================
+ Hits        16887    16888    +1     
+ Misses       4969     4968    -1     
```


| [Impacted Files](https://codecov.io/gh/huggingface/transformers/pull/5012?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [src/transformers/file\_utils.py](https://codecov.io/gh/huggingface/transformers/pull/5012/diff?src=pr&el=tree#diff-c3JjL3RyYW5zZm9ybWVycy9maWxlX3V0aWxzLnB5) | `73.38% <0.00%> (-0.41%)` | :arrow_down: |
| [src/transformers/modeling\_tf\_utils.py](https://codecov.io/gh/huggingface/transformers/pull/5012/diff?src=pr&el=tree#diff-c3JjL3RyYW5zZm9ybWVycy9tb2RlbGluZ190Zl91dGlscy5weQ==) | `87.57% <0.00%> (+0.31%)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/huggingface/transformers/pull/5012?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/5012?src=pr&el=footer). Last update [f7c93b3...d643ec8](https://codecov.io/gh/huggingface/transformers/pull/5012?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
<|||||>Pinging @VictorSanh here<|||||>This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
<|||||>I'll close this.