remaining pytorch type hints
# What does this PR do?

Type hints

@Rocketknight1
The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20217). All of your documentation changes will be reflected on that endpoint.<|||||>The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20217). All of your documentation changes will be reflected on that endpoint.<|||||>The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20217). All of your documentation changes will be reflected on that endpoint.<|||||>The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20217). All of your documentation changes will be reflected on that endpoint.<|||||>@Rocketknight1 There is only 1 left: EsmForProteinFolding. when I tested test_modeling_esmfold.py before doing any changes to the file some tests where initially getting failed.

![Capture](https://user-images.githubusercontent.com/88665786/202189778-224a16b0-4926-4adc-9fef-c9b87ca1b161.PNG)
<|||||>@IMvision12 Those tests shouldn't be failing anymore, but don't worry - I'm happy to accept all the other changes!