Text Classification
setfit
Safetensors
sentence-transformers
distilbert
generated_from_setfit_trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use fede-m/FGSDI_final_setfit_fold_0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use fede-m/FGSDI_final_setfit_fold_0 with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("fede-m/FGSDI_final_setfit_fold_0") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - sentence-transformers
How to use fede-m/FGSDI_final_setfit_fold_0 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("fede-m/FGSDI_final_setfit_fold_0") 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
Download vocab.txt from fede-m/FGSDI_final_setfit_fold_0: direct link, hf CLI and curl.
- Browser
- Download file 996 kB
-
https://huggingface.co/fede-m/FGSDI_final_setfit_fold_0/resolve/main/vocab.txt
- Command line
-
hf download hf://fede-m/FGSDI_final_setfit_fold_0/vocab.txt
-
curl -L -o vocab.txt https://huggingface.co/fede-m/FGSDI_final_setfit_fold_0/resolve/main/vocab.txt
996 kB
File too large to display, you can check the raw version instead.