Transformers How to use AvitoTech/CLIP-ViT-base-for-animal-identification with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-feature-extraction", model="AvitoTech/CLIP-ViT-base-for-animal-identification") # Load model directly
from transformers import AutoProcessor, AutoModelForZeroShotImageClassification
processor = AutoProcessor.from_pretrained("AvitoTech/CLIP-ViT-base-for-animal-identification")
model = AutoModelForZeroShotImageClassification.from_pretrained("AvitoTech/CLIP-ViT-base-for-animal-identification")