How to use from the
Use from the
Transformers library
# Load model directly
from transformers import AutoProcessor, AutoModelForZeroShotImageClassification

processor = AutoProcessor.from_pretrained("aimagelab/safeclip_sd_20")
model = AutoModelForZeroShotImageClassification.from_pretrained("aimagelab/safeclip_sd_20")
Quick Links

Not-For-All-Audiences

This repository has been marked as containing sensitive content and may contain potentially harmful and sensitive information.

View model card