Downloads · 30 days
14.9K
13% of all-time downloads
Qdrant/clip-ViT-B-32-text
clip-ViT-B-32-text is a sentence similarity model from Qdrant. Use it when you need a score for how close two texts are. It is set up for transformers. The card lists the license as mit.
ONNX port of sentence-transformers/clip-ViT-B-32 for text classification and similarity searches.
Downloads · 30 days
14.9K
13% of all-time downloads
All-time downloads
117K
Public
Repo size
254 MB
Likes
3
Public
Click a slice to open those files.
.onnx254 MB · 99%
From the Hugging Face model README
ONNX port of sentence-transformers/clip-ViT-B-32 for text classification and similarity searches.
Here's an example of performing inference using the model with FastEmbed.
from fastembed import TextEmbedding
documents = [
"You should stay, study and sprint.",
"History can only prepare us to be surprised yet again.",
]
model = TextEmbedding(model_name="Qdrant/clip-ViT-B-32-text")
embeddings = list(model.embed(documents))
# [
# array([1.57889184e-02, -2.21896712e-02, -1.40235685e-02, -2.36918423e-02, ...],
# dtype=float32)
# ]