Text Classification
setfit
Safetensors
sentence-transformers
mpnet
generated_from_setfit_trainer
text-embeddings-inference
Instructions to use hojzas/setfit-tutorial with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use hojzas/setfit-tutorial with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("hojzas/setfit-tutorial") - sentence-transformers
How to use hojzas/setfit-tutorial with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("hojzas/setfit-tutorial") 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] - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 75b6f3c761c917e6b674068ba14128cc9e58ddeb9536f680046bc6ef4099b61c
- Size of remote file:
- 438 MB
- SHA256:
- f0200ab08e4fb75017a83c0fee9433fed8cecc6fd16ae0268577835ab1086932
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.