How to use from the
Use from the
Transformers library
# Load model directly
from transformers import AutoTokenizer, CLIPVisionModelWithProjection

tokenizer = AutoTokenizer.from_pretrained("ostris/CLIP-H-Face-v3")
model = CLIPVisionModelWithProjection.from_pretrained("ostris/CLIP-H-Face-v3", device_map="auto")
Quick Links

This is just the vision encoder from CLIP-ViT-H-14-laion2B-s32B-b79K but it has been slightly tuned on just faces.

Downloads last month
3
Safetensors
Model size
0.6B params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support