MetaCLIP
Collection
MetaCLIP & MetaCLIP2 OpenCLIP and timm models. All models are dual timm + OpenCLIP (or just timm for specific vit encoders). β’ 24 items β’ Updated β’ 3
How to use timm/vit_huge_patch14_clip_224.metaclip_altogether with OpenCLIP:
import open_clip
model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:timm/vit_huge_patch14_clip_224.metaclip_altogether')
tokenizer = open_clip.get_tokenizer('hf-hub:timm/vit_huge_patch14_clip_224.metaclip_altogether')This model is a dual use open_clip and timm model. Model name in OpenCLIP is ViT-H-14, pretrained_tag=metaclip_altogether.