Instructions to use dappradar/setfit-dappradar with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use dappradar/setfit-dappradar with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("dappradar/setfit-dappradar") 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 dappradar/setfit-dappradar with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("dappradar/setfit-dappradar") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from dappradar/setfit-dappradar: direct link, hf CLI and curl.
- Browser
- Download file 438 MB
-
https://huggingface.co/dappradar/setfit-dappradar/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://dappradar/setfit-dappradar/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/dappradar/setfit-dappradar/resolve/main/pytorch_model.bin
438 MB
- Xet hash:
- ad6ff73489e66e7fce635d6c44f2320faa477bfaf0c62b955b0e304a9969851a
- Size of remote file:
- 438 MB
- SHA256:
- 8c5441b45a78eb64a011dca3a6eb8dfc7369ec771becff74fc4b627a924e7557
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.