Fork of openai/clip-vit-base-patch32 for a zero-sho-image-classification Inference endpoint.

This repository implements a custom task for zero-shot-image-classification for ๐Ÿค— Inference Endpoints. The code for the customized pipeline is in the handler.py.

To use deploy this model an Inference Endpoint you have to select Custom as task to use the handler.py file.

expected Request payload

{
  "image": encoded_image,
  "parameters": {
    "candidate_labels": "green, yellow, blue, white, silver"
  }
}

encoded_image is a base64 encoded image.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for pimcore/IEP__zero-shot-image-classification

Finetuned
(68)
this model