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