Type annotation is half-there, half-not-there, mainly because the transformers library used to support python 2.7. For instance a new file like pipelines.py has almost everything properly typed-annoted.
As I work on the documentation, I try to add them where missing but if you want to help with PRs, feel free to do so