Instructions to use ancerlop/SetFitLocal0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ancerlop/SetFitLocal0 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ancerlop/SetFitLocal0") 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 ancerlop/SetFitLocal0 with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("ancerlop/SetFitLocal0") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
362991c | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:8c816a6d45f743c1220c39a1224262354329f19212791a2e400a62cb1c38f223
size 570424
|