Instructions to use prithivMLmods/SigLIP2-ImageShield-2n-large-256 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/SigLIP2-ImageShield-2n-large-256 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="prithivMLmods/SigLIP2-ImageShield-2n-large-256") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForImageClassification processor = AutoProcessor.from_pretrained("prithivMLmods/SigLIP2-ImageShield-2n-large-256") model = AutoModelForImageClassification.from_pretrained("prithivMLmods/SigLIP2-ImageShield-2n-large-256", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
2833943 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:75e6bbbb72bf61baea525665fb5520f226feb52e0596527dee45fdf431d743b6
size 111179
|