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

Docs: fix SigLIP2 usage examples (#43641)

* Docs: fix SigLIP2 usage examples

Use torch_dtype instead of dtype in pipeline/from_pretrained examples and keep processor/model IDs consistent in the quantization snippet.

Ref: #39692

* Use dtype in SigLIP2 pipeline example

* Use dtype in SigLIP2 AutoModel examples

---------

Co-authored-by: Fahad Alghanim <[email protected]>
F
Fahad Alghanim committed
4ffdc394cca2e3e63d3d72e1fa9e41f2aee6030e
Parent: 6f8bc99
Committed by GitHub <[email protected]> on 3/6/2026, 8:02:56 PM