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 183 Python

Fix infinity in JSON serialized files (#42959)

* Handle inifinity and NaNs in JSON serialization

* Docs

* Tests
L
Lysandre Debut committed
d14d99eadf41fd6702522eaea2f17b346fc5800a
Parent: d54d78f
Committed by GitHub <noreply@github.com> on 12/19/2025, 4:46:45 PM