SIGN IN SIGN UP

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

0 0 0 Python

Add type annotations for Rembert/Splinter and copies (#16338)

* undo black autoformat

* minor fix to rembert forward with default

* make fix-copies, make quality

* Adding types to template model

* Removing List from the template types

* Remove `Optional` from a couple of types that don't accept `None`

Co-authored-by: matt <[email protected]>
J
Jacob Dineen committed
ec3aace0ae6c89e9d7d6ed33425531db3b683485
Parent: c30798e
Committed by GitHub <[email protected]> on 3/22/2022, 8:07:48 PM