Run this model with HF Jobs
Run sentence-transformers/clip-ViT-B-32 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/sentence-transformers/clip-ViT-B-32. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/sentence-transformers/clip-ViT-B-32 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
Download 0_CLIPModel/pytorch_model.bin from sentence-transformers/clip-ViT-B-32: direct link, hf CLI and curl.
- Browser
- Download file 605 MB
-
https://huggingface.co/sentence-transformers/clip-ViT-B-32/resolve/main/0_CLIPModel/pytorch_model.bin
- Command line
-
hf download hf://sentence-transformers/clip-ViT-B-32/0_CLIPModel/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/sentence-transformers/clip-ViT-B-32/resolve/main/0_CLIPModel/pytorch_model.bin
605 MB
- Xet hash:
- 57fe1319d988e37d3da2bddac58a31b3412c657ed0379a60260053a2f0095539
- Size of remote file:
- 605 MB
- SHA256:
- a62934cf6216e42859223aed2df08b4f1bd0042cb31be80d2db5cd54f71c0d16
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.