How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("zero-shot-image-classification", model="Sovego/clip_vit_base_32_make_model")
pipe(
    "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png",
    candidate_labels=["animals", "humans", "landscape"],
)
# Load model directly
from transformers import AutoProcessor, AutoModelForZeroShotImageClassification

processor = AutoProcessor.from_pretrained("Sovego/clip_vit_base_32_make_model")
model = AutoModelForZeroShotImageClassification.from_pretrained("Sovego/clip_vit_base_32_make_model", device_map="auto")
Quick Links

Model Card for Model ID

Model Details

Model Description

This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.

  • Developed by: IIR-NSU
  • Model type: CLIP
  • Language(s) (NLP): English
  • License: MIT
Downloads last month
10
Safetensors
Model size
0.2B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Sovego/clip_vit_base_32_make_model

Finetuned
(129)
this model