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

[tests] `CausalLMTester` automatically infers other test classes from `base_model_class` 🐛 🔫 (#41066)

* halfway through the models

* update test checks

* refactor all

* another one

* use tuples

* more deletions

* solve bad inheritance patterns

* type

* PR ready?

* automatic model class inference from the base class

* vaultgemma

* make fixup

* make fixup

* rebase with gpt2

* make fixup :'(

* gpt2 is special
J
Joao Gante committed
4fade1148f86418dadd5a4a21b57af906e0bd5be
Parent: cdba28c
Committed by GitHub <[email protected]> on 9/29/2025, 1:05:08 PM