Image Classification
Transformers
Safetensors
English
siglip
siglip2
256
patch16
adult-content-detection
explicit-content-detection
Instructions to use prithivMLmods/siglip2-x256-explicit-content with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/siglip2-x256-explicit-content with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="prithivMLmods/siglip2-x256-explicit-content") 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-x256-explicit-content") model = AutoModelForImageClassification.from_pretrained("prithivMLmods/siglip2-x256-explicit-content", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -3,7 +3,7 @@ license: apache-2.0
|
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
base_model:
|
| 6 |
-
- google/siglip2-
|
| 7 |
pipeline_tag: image-classification
|
| 8 |
library_name: transformers
|
| 9 |
tags:
|
|
|
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
base_model:
|
| 6 |
+
- google/siglip2-base-patch16-256
|
| 7 |
pipeline_tag: image-classification
|
| 8 |
library_name: transformers
|
| 9 |
tags:
|