multimodal-face-clip

Multimodal CLIP model fine-tuned for face recognition and retrieval.

Usage

from transformers import CLIPModel, CLIPProcessor
from huggingface_hub import hf_hub_download
import faiss
import json

# Load model
model = CLIPModel.from_pretrained("multimodal-face-clip", subfolder=".")
processor = CLIPProcessor.from_pretrained("multimodal-face-clip", subfolder=".")

# Load embeddings (optional)
text_index_path = hf_hub_download(repo_id="multimodal-face-clip", filename="embeddings/text_index.faiss")
image_index_path = hf_hub_download(repo_id="multimodal-face-clip", filename="embeddings/image_index.faiss")
Downloads last month
10
Safetensors
Model size
0.2B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Space using aaalaaa/multimodal-face-clip 1