Pytorch type hints
# What does this PR do?

Added Type hints

## Who can review?
@Rocketknight1 



The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20112). All of your documentation changes will be reflected on that endpoint.<|||||>Sure, I will add all type hints for pytorch and ping you<|||||>The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20112). 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_20112). All of your documentation changes will be reflected on that endpoint.<|||||>@Rocketknight1 I think I've covered all PyTorch models!<|||||>The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20112). All of your documentation changes will be reflected on that endpoint.<|||||>@IMvision12 Amazing, thank you! I just finished reviewing and it all looks good, so I'm going to merge now. Once we have full type hint coverage we can add tests to ensure that it stays that way in future, and then start using the type hints in library checking, so this should help a lot!