Automatically tag CLIP repos as zero-shot-image-classification (#19064)
* Add CLIP to zero-shot-image-classification * Make mapping private as it's not used for AutoClassing
This commit is contained in:
@@ -91,6 +91,11 @@ PIPELINE_TAGS_AND_AUTO_MODELS = [
|
||||
"AutoModelForVisualQuestionAnswering",
|
||||
),
|
||||
("image-to-text", "MODEL_FOR_FOR_VISION_2_SEQ_MAPPING_NAMES", "AutoModelForVision2Seq"),
|
||||
(
|
||||
"zero-shot-image-classification",
|
||||
"_MODEL_FOR_ZERO_SHOT_IMAGE_CLASSIFICATION_MAPPING_NAMES",
|
||||
"AutoModel",
|
||||
),
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user