Instructions to use sentence-transformers/clip-ViT-B-32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use sentence-transformers/clip-ViT-B-32 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("sentence-transformers/clip-ViT-B-32") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
License?
3
#4 opened almost 3 years ago
by
Li0ness
Copy of config.json in directory sentence-transformers/clip-ViT-B-32 please
1
#3 opened about 3 years ago
by
jawhster
Add MTEB results
#2 opened about 3 years ago
by
yonting
cross_encoder and bi_encoder for clip fine tuning
#1 opened almost 4 years ago
by
nancy10195