How to use timm/MobileCLIP2-S4-OpenCLIP with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:timm/MobileCLIP2-S4-OpenCLIP') tokenizer = open_clip.get_tokenizer('hf-hub:timm/MobileCLIP2-S4-OpenCLIP')
The community tab is the place to discuss and collaborate with the HF community!