Instructions to use lewtun/setfit-new-model-card with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use lewtun/setfit-new-model-card with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("lewtun/setfit-new-model-card") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - setfit
How to use lewtun/setfit-new-model-card with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("lewtun/setfit-new-model-card") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from lewtun/setfit-new-model-card: direct link, hf CLI and curl.
- Browser
- Download file 438 MB
-
https://huggingface.co/lewtun/setfit-new-model-card/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://lewtun/setfit-new-model-card/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/lewtun/setfit-new-model-card/resolve/main/pytorch_model.bin
438 MB
- Xet hash:
- cd7c16757d1e43e68f1153061d4afdb92bf3ece2432308194295f971a5e01ee6
- Size of remote file:
- 438 MB
- SHA256:
- 8f9ef530ce71d39fee30c9e4400140065ad6f30866b64b4d65e9239994e2ac2b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.