Transformers How to use BAAI/AltCLIP-m9 with Transformers:
# Load model directly
from transformers import AutoProcessor, AutoModelForZeroShotImageClassification
processor = AutoProcessor.from_pretrained("BAAI/AltCLIP-m9")
model = AutoModelForZeroShotImageClassification.from_pretrained("BAAI/AltCLIP-m9")