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