Instructions to use moshew/gte-tiny_SetFit_sst2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use moshew/gte-tiny_SetFit_sst2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("moshew/gte-tiny_SetFit_sst2") 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 moshew/gte-tiny_SetFit_sst2 with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("moshew/gte-tiny_SetFit_sst2") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 626cdafd8bfeff0a541f1832f470d7e058c93fb7359f24831cbd5affcbe58742
- Size of remote file:
- 90.9 MB
- SHA256:
- 429eebb2a079efe88c7012effb42b1b7a9bca1774abb5ae1fa5d6a4b35122c98
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.