How to use LEAF-CLIP/OpenCLIP-ViT-H-rho50-k1-constrained-FARE2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="LEAF-CLIP/OpenCLIP-ViT-H-rho50-k1-constrained-FARE2")
# Load model directly from transformers import AutoProcessor, AutoModelForZeroShotImageClassification processor = AutoProcessor.from_pretrained("LEAF-CLIP/OpenCLIP-ViT-H-rho50-k1-constrained-FARE2") model = AutoModelForZeroShotImageClassification.from_pretrained("LEAF-CLIP/OpenCLIP-ViT-H-rho50-k1-constrained-FARE2")
This PR improves the model card by adding the pipeline_tag and library_name.
pipeline_tag
library_name
· Sign up or log in to comment