Text Classification
setfit
Safetensors
sentence-transformers
English
mpnet
generated_from_setfit_trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use carlesoctav/SentimentClassifierDune-8shot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use carlesoctav/SentimentClassifierDune-8shot with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("carlesoctav/SentimentClassifierDune-8shot") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - sentence-transformers
How to use carlesoctav/SentimentClassifierDune-8shot with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("carlesoctav/SentimentClassifierDune-8shot") 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 model_head.pkl from carlesoctav/SentimentClassifierDune-8shot: direct link, hf CLI and curl.
- Browser
- Download file 7 kB
-
https://huggingface.co/carlesoctav/SentimentClassifierDune-8shot/resolve/main/model_head.pkl
- Command line
-
hf download hf://carlesoctav/SentimentClassifierDune-8shot/model_head.pkl
-
curl -L -o model_head.pkl https://huggingface.co/carlesoctav/SentimentClassifierDune-8shot/resolve/main/model_head.pkl
7 kB
- Xet hash:
- e4876faab55c979e1111d0417045ee5fd0b69fe4bd9f01b63c6305f68acca67e
- Size of remote file:
- 7 kB
- SHA256:
- 4ab948312a0da79000ae118a0f9ef0933b96a21d5412aa2814d43f7688bb0700
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.