Downloads · 30 days
13
9% of all-time downloads
alphaedge-ai/metaclip-2-worldwide-m16-384-kat-32768
metaclip-2-worldwide-m16-384-kat-32768 is a sentence similarity model from alphaedge-ai. Use it when you need a score for how close two texts are. It is set up for sentence-transformers. The card lists the license as cc-by-nc-4.0.
This model is a 82.60% smaller version of facebook/metaclip-2-worldwide-m16-384 optimized for Georgian language via vocabulary size reduction using the trimming method. This trimmed model should perform similarly to t…
Downloads · 30 days
13
9% of all-time downloads
All-time downloads
142
Public
Parameters
93.7M
375 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors375 MB · 99%
From the Hugging Face model README
This model is a 82.60% smaller version of facebook/metaclip-2-worldwide-m16-384 optimized for Georgian language via vocabulary size reduction using the trimming method.
This trimmed model should perform similarly to the original model with only 32,768 tokens and a much smaller memory footprint. However, it may not perform well for other languages as tokens not commonly used in the selected languages were removed from the vocabulary.
| Metric | Original | Trimmed | Reduction |
|---|---|---|---|
| Vocabulary size | 901,629 tokens | 32,768 tokens | 96.37% |
| Model size | 538,547,201 params | 93,690,369 params | 82.60% |

from transformers import pipeline
# load pipeline
image_classifier = pipeline(model="alphaedge-ai/metaclip-2-worldwide-m16-384-kat-32768", task="zero-shot-image-classification")
# load image and candidate labels
image = "http://images.cocodataset.org/val2017/000000039769.jpg"
candidate_labels = ["Potential label 1 in Georgian", "Potential label 2 in Georgian", "Potential label 3 in Georgian", "Potential label 4 in Georgian"]
# run inference
outputs = image_classifier(image, candidate_labels)
print(outputs)
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("alphaedge-ai/metaclip-2-worldwide-m16-384-kat-32768")
images = [
"https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/car.jpg",
"https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/bee.jpg",
"https://huggingface.co/datasets/huggingface/cats-image/resolve/main/cats_image.jpeg"
]
texts = ["Text 1 in Georgian", "Text 2 in Georgian", "Text 3 in Georgian", "Text 4 in Georgian"]
image_embeddings = model.encode(images)
text_embeddings = model.encode(texts)
print(image_embeddings.shape, text_embeddings.shape)
similarities = model.similarity(image_embeddings, text_embeddings)
print(similarities)
@misc{chuang2025metaclip2worldwide,
title={Meta CLIP 2: A Worldwide Scaling Recipe},
author={Yung-Sung Chuang and Yang Li and Dong Wang and Ching-Feng Yeh and Kehan Lyu and Ramya Raghavendra and James Glass and Lifei Huang and Jason Weston and Luke Zettlemoyer and Xinlei Chen and Zhuang Liu and Saining Xie and Wen-tau Yih and Shang-Wen Li and Hu Xu},
year={2025},
eprint={2507.22062},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2507.22062},
}
@misc{hf_blogpost_trimming,
title={Introduction to Trimming},
author={Loïck BOURDOIS and Tom AARSEN and Bram VANROY and Christopher AKIKI and Woojun JUNG and Manuel ROMERO and Prithiv SAKTHI},
year={2026},
url={https://huggingface.co/blog/lbourdois/introduction-to-trimming},
}