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.

158577 0 0 Python

Raise `TypeError` instead of ValueError for invalid types (#38660)

* Raise TypeError instead of ValueError for invalid types.

* Removed un-necessary changes.

* Resolved conflicts

* Code quality

* Fix failing tests.

* Fix failing tests.
S
Sai-Suraj-27 committed
970d9a75ce8b83c851cc30ee36958360ae33897f
Parent: 822c5e4
Committed by GitHub <[email protected]> on 7/21/2025, 12:42:00 PM