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: 134 Bytes
362991c | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:14ceb984c501267e9ca7a07990080dd19ed95c1e5a8cfb713705d688875993b1
size 438009257
|