alt.freeweights.embed / clip-ViT-B-32-multilingual-v1
From: sentence-transformers <huggingface.co/sentence-transformers>Newsgroups: alt.freeweights.embedSubject:

clip-ViT-B-32-multilingual-v1

Date: 2026-11-15Commit: 58edf8cSigned: 2DC28CC7B26A283B ✓

Sentence similarity model with 135M parameters. Onnx and openvino and safetensors weights, 5.27 GB in all. Published by sentence-transformers under Apache-2.0.

135M params5.27GBclip-ViT-B-32-multilingual-v1onnx openvino safetensorspermissive
FactsParams135MSize5.27 GBFormatsonnx, openvino, safetensorsTasksentence similarityLicenseApache-2.0From sourcepermissive
$ fw get sentence-transformers/clip-ViT-B-32-multilingual-v1
# manifest sha256 92a4b531adc1… · 5.27 GB · 30 files
$ fw verify ./clip-ViT-B-32-multilingual-v1 sentence-transformers/clip-ViT-B-32-multilingual-v1
From sourceHosted (signed)sentence-transformers/clip-ViT-B-32-multilingual-v1Last check: 2026-11-15 02:30 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Evaluate with

Overview

Size
5.27 GB
Weights
541 MB (safetensors)
Parameters
135M
Formats
onnx, openvino, safetensors
Task
sentence similarity
License
Apache-2.0 (permissive)
Files
30, each with a sha256
Publisher
sentence-transformers
Added
2026-11-15
Section
alt.freeweights.embed
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:30 UTCpassed

Model card

From the publisher at commit 58edf8c. Shown as plain text with links; images open at the publisher.

sentence-transformers/clip-ViT-B-32-multilingual-v1#

This is a multi-lingual version of the OpenAI CLIP-ViT-B32 model. You can map text (in 50+ languages) and images to a common dense vector space such that images and the matching texts are close. This model can be used for image search (users search through a large collection of images) and for multi-lingual zero-shot image classification (image labels are defined as text).

Usage (Sentence-Transformers)#

Using this model becomes easy when you have sentence-transformers installed:

pip install -U sentence-transformers

Then you can use the model like this:

from sentence_transformers import SentenceTransformer, util
from PIL import Image, ImageFile
import requests
import torch

# We use the original clip-ViT-B-32 for encoding images
img_model = SentenceTransformer('clip-ViT-B-32')

# Our text embedding model is aligned to the img_model and maps 50+
# languages to the same vector space
text_model = SentenceTransformer('sentence-transformers/clip-ViT-B-32-multilingual-v1')


# Now we load and encode the images
def load_image(url_or_path):
    if url_or_path.startswith("http://") or url_or_path.startswith("https://"):
        return Image.open(requests.get(url_or_path, stream=True).raw)
    else:
        return Image.open(url_or_path)

# We load 3 images. You can either pass URLs or
# a path on your disc
img_paths = [
    # Dog image
    "https://unsplash.com/photos/QtxgNsmJQSs/download?ixid=MnwxMjA3fDB8MXxhbGx8fHx8fHx8fHwxNjM1ODQ0MjY3&w=640",

    # Cat image
    "https://unsplash.com/photos/9UUoGaaHtNE/download?ixid=MnwxMjA3fDB8MXxzZWFyY2h8Mnx8Y2F0fHwwfHx8fDE2MzU4NDI1ODQ&w=640",

    # Beach image
    "https://unsplash.com/photos/Siuwr3uCir0/download?ixid=MnwxMjA3fDB8MXxzZWFyY2h8NHx8YmVhY2h8fDB8fHx8MTYzNTg0MjYzMg&w=640"
]

images = [load_image(img) for img in img_paths]

# Map images to the vector space
img_embeddings = img_model.encode(images)

# Now we encode our text:
texts = [
    "A dog in the snow",
    "Eine Katze",  # German: A cat
    "Una playa con palmeras."  # Spanish: a beach with palm trees
]

text_embeddings = text_model.encode(texts)

# Compute cosine similarities:
cos_sim = util.cos_sim(text_embeddings, img_embeddings)

for text, scores in zip(texts, cos_sim):
    max_img_idx = torch.argmax(scores)
    print("Text:", text)
    print("Score:", scores[max_img_idx] )
    print("Path:", img_paths[max_img_idx], "\n")

Multilingual Image Search - Demo#

For a demo of multilingual image search, have a look at: Image_Search-multilingual.ipynb ( Colab version )

For more details on image search and zero-shot image classification, have a look at the documentation on SBERT.net.

Training#

This model has been created using Multilingual Knowledge Distillation. As teacher model, we used the original clip-ViT-B-32 and then trained a multilingual DistilBERT model as student model. Using parallel data, the multilingual student model learns to align the teachers vector space across many languages. As a result, you get an text embedding model that works for 50+ languages.

The image encoder from CLIP is unchanged, i.e. you can use the original CLIP image encoder to encode images.

Have a look at the SBERT.net - Multilingual-Models documentation on more details and for training code.

We used the following 50+ languages to align the vector spaces: ar, bg, ca, cs, da, de, el, es, et, fa, fi, fr, fr-ca, gl, gu, he, hi, hr, hu, hy, id, it, ja, ka, ko, ku, lt, lv, mk, mn, mr, ms, my, nb, nl, pl, pt, pt, pt-br, ro, ru, sk, sl, sq, sr, sv, th, tr, uk, ur, vi, zh-cn, zh-tw.

The original multilingual DistilBERT supports 100+ lanugages. The model also work for these languages, but might not yield the best results.

Full Model Architecture#

SentenceTransformer(
  (0): Transformer({'max_seq_length': 128, 'do_lower_case': False}) with Transformer model: DistilBertModel 
  (1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False})
  (2): Dense({'in_features': 768, 'out_features': 512, 'bias': False, 'activation_function': 'torch.nn.modules.linear.Identity'})
)

Citing & Authors#

This model was trained by sentence-transformers.

If you find this model helpful, feel free to cite our publication Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks:

@inproceedings{reimers-2019-sentence-bert,
    title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
    author = "Reimers, Nils and Gurevych, Iryna",
    booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
    month = "11",
    year = "2019",
    publisher = "Association for Computational Linguistics",
    url = "http://arxiv.org/abs/1908.10084",
}

Files

30 files · 5.27 GBWeights 541 MB (safetensors). Sizes and sha256 from the signed manifest.
Show all 30 files with their sha256
FileSizesha256
.gitattributes744 Bf888dc7c230287cd68af7034aa9fc2e2d6663fb7b3e70faa153caf93877914c3
1_Pooling/config.json190 Ba37f83ada23e7887be6b88f4998927dbeac0038af301553c7cd5461413bf1a56
2_Dense/config.json115 B48f4dfaf605a6c2869cd200970e54911c6c15053781d2bdcf3e81e89e77662ed
2_Dense/model.safetensors1.57 MBd12568dc7300970a4d3dbb49068ad16cd89b99840b74b026f8e48071e9414f74
2_Dense/pytorch_model.bin1.57 MB616d24a48f22b1097c30423a6054b8ac025fedf31ee9fbb05d5c963c56a14ecf
README.md5.65 KB023953714bc8541390994257494d21484994d84e45e01cd96304f0b5f9e770a2
config.json572 Bedc12f518bfc445dedfe8a7c58374ea659525e0b6e67814686bd6cd57f90f8b3
config_sentence_transformers.json122 Bb8c64b5cece00d8424b4896ea75b512b6008576088497609dfeb6bd63e6d36b8
model.safetensors539 MB7b968c09938603158413ea2c91af82e82158ebb6db901a6cf97c28ce7d7ebc6d
modules.json341 Bf83ea5d68ac85ec15f650b350f0dc37b03d63abd60442f518e14c06f479beee6
onnx/model.onnx539 MBca09969eb6e0f36fb1622654d1b47ac2025f576794f48b249a50b78d4b70373f
onnx/model_O1.onnx539 MB40c72af695247dac8f422e79cc5b34e39d910f89cc9591cda372de84b97c6f86
onnx/model_O2.onnx539 MBe2f1ee691e6e9279e990acdf4399ed6f9a564381a1d06ddda66edc0e9f47c71f
onnx/model_O3.onnx539 MBe1acd84f801ef84403955f63c7bad828fb84a8283f28046dfdd6e1c992384035
onnx/model_O4.onnx269 MBc477ffcac84a350f654d0c1b27e68b038056f0922c933b146a67cd301f8092fd
onnx/model_qint8_arm64.onnx135 MB3bed77e83926519660b5c0833cb3321cfde952331edec4f7d501c7d384b8a8a7
onnx/model_qint8_avx512.onnx135 MB3bed77e83926519660b5c0833cb3321cfde952331edec4f7d501c7d384b8a8a7
onnx/model_qint8_avx512_vnni.onnx135 MB3bed77e83926519660b5c0833cb3321cfde952331edec4f7d501c7d384b8a8a7
onnx/model_quint8_avx2.onnx135 MBfbc8fbeaa5237d96bd1bf430057c70d34de8334a463e933a5faa305f6caeed9c
openvino/openvino_model.bin539 MB0c5d866bb10b6725acb41bb42dd86c1d9127f6e575d9f69e434b40d8a91ecc28
openvino/openvino_model.xml218 KBbf99deb8c7cff9d061fc219c322ca9b949bea6e984987568ef8bf6fb8c80830b
openvino/openvino_model_qint8_quantized.bin136 MB14a716d633306dfda26e639bc9a040142675c94707096151622f1660cc554995
openvino/openvino_model_qint8_quantized.xml372 KB50fdaf32d85e68e953c29d3d6ccb64235083504c2b16be28b1286b18a9f15dca
pytorch_model.bin539 MBa220db68008f8d22d5899fbb71f51e95a34bc42402ecb967c8d42b3ab0e5000f
sentence_bert_config.json53 B70f4448f31320443fe3557cacea5abf2dcc4915dda8c80646bec9f3bb0aa5a1f
special_tokens_map.json112 B303df45a03609e4ead04bc3dc1536d0ab19b5358db685b6f3da123d05ec200e3
tf_model.h5539 MB49a1575672b38fcee04adc20c403fad3f274a115fa29ce690c19556aba0a49ca
tokenizer.json1.96 MB5b4e1a8171c81dfd666ae40265b9530c6e0b3d53923fe8ac493dcc84229adf81
tokenizer_config.json371 B8f66d0ad85be46afc77e0bbf48312cff326ddb9e7290926df96a8228d69a814e
vocab.txt996 KBfe0fda7c425b48c516fc8f160d594c8022a0808447475c1a7c6d6479763f310c
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
58edf8cada pinned now2026-11-15 02:30 UTC30 files · 5.27 GB

Use it

$ fw get sentence-transformers/clip-ViT-B-32-multilingual-v1
# manifest sha256 92a4b531adc1… · 5.27 GB · 30 files
$ fw verify ./clip-ViT-B-32-multilingual-v1 sentence-transformers/clip-ViT-B-32-multilingual-v1
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/sentence-transformers/clip-ViT-B-32-multilingual-v1.json --dir ./clip-ViT-B-32-multilingual-v1 $ python3 fw.py verify ./clip-ViT-B-32-multilingual-v1 ./sentence-transformers__clip-ViT-B-32-multilingual-v1.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download sentence-transformers/clip-ViT-B-32-multilingual-v1 --revision 58edf8cada9e398793dca955574a48cbb7f18be2 --local-dir ./clip-ViT-B-32-multilingual-v1
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModel, AutoTokenizer tok = AutoTokenizer.from_pretrained("sentence-transformers/clip-ViT-B-32-multilingual-v1", revision="58edf8cada9e398793dca955574a48cbb7f18be2") model = AutoModel.from_pretrained("sentence-transformers/clip-ViT-B-32-multilingual-v1", revision="58edf8cada9e398793dca955574a48cbb7f18be2", device_map="auto")
sentence-transformersEmbed text with sentence-transformers.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from sentence_transformers import SentenceTransformer model = SentenceTransformer("sentence-transformers/clip-ViT-B-32-multilingual-v1", revision="58edf8cada9e398793dca955574a48cbb7f18be2") vectors = model.encode(["Hello"])

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
023953714bc8541390994257494d21484994d84e45e01cd96304f0b5f9e770a2
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: sentence-transformers <huggingface.co/sentence-transformers>Newsgroups: alt.freeweights.embedSubject: clip-ViT-B-32-multilingual-v1Date: 2026-11-15Commit: 58edf8cSigned: 2DC28CC7B26A283B ✓
Upstream
sentence-transformers/clip-ViT-B-32-multilingual-v1
Pinned commit
58edf8cada9e398793dca955574a48cbb7f18be2
Manifest
clip-ViT-B-32-multilingual-v1.json · .minisig
Manifest sha256
92a4b531adc1041bfc1b93350ebeb4e052c6e4de1038d0a7d2f3c4e0eb7a0907
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:30 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/sentence-transformers/clip-ViT-B-32-multilingual-v1.json $ curl -O https://freeweights.allternit.com/manifests/sentence-transformers/clip-ViT-B-32-multilingual-v1.json.minisig $ minisign -Vm clip-ViT-B-32-multilingual-v1.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download sentence-transformers/clip-ViT-B-32-multilingual-v1
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. clip-ViT-B-32-multilingual-v1.json. Provenance. Takedown history: none.
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: all-MiniLM-L6-v1
From: unsloth <huggingface.co/unsloth>Subject: all-MiniLM-L6-v2
From: mlx-community <huggingface.co/mlx-community>Subject: all-MiniLM-L6-v2-4bit
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: all-mpnet-base-v1
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: allenai-specter
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: bert-base-nli-max-tokens