Instructions to use OrcaDB/clip-ViT-L-14 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use OrcaDB/clip-ViT-L-14 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("OrcaDB/clip-ViT-L-14") 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
Download modules.json from OrcaDB/clip-ViT-L-14: direct link, hf CLI and curl.
- Browser
- Download file 111 Bytes
-
https://huggingface.co/OrcaDB/clip-ViT-L-14/resolve/main/modules.json
- Command line
-
hf download hf://OrcaDB/clip-ViT-L-14/modules.json
-
curl -L -o modules.json https://huggingface.co/OrcaDB/clip-ViT-L-14/resolve/main/modules.json
111 Bytes
| [ | |
| { | |
| "idx": 0, | |
| "name": "0", | |
| "path": "", | |
| "type": "sentence_transformers.models.CLIPModel" | |
| } | |
| ] |