Testing
Let's take a look at how 🤗 Transformers models are tested and how you can write new tests and improve the existing ones.
There are 2 test suites in the repository:

tests -- tests for the general API
examples -- tests primarily for various applications that aren't part of the API

How transformers are tested