Text Classification
setfit
Safetensors
sentence-transformers
mpnet
generated_from_setfit_trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use dendimaki/emotionSample with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use dendimaki/emotionSample with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("dendimaki/emotionSample") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - sentence-transformers
How to use dendimaki/emotionSample with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("dendimaki/emotionSample") 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 config_setfit.json from dendimaki/emotionSample: direct link, hf CLI and curl.
- Browser
- Download file 132 Bytes
-
https://huggingface.co/dendimaki/emotionSample/resolve/main/config_setfit.json
- Command line
-
hf download hf://dendimaki/emotionSample/config_setfit.json
-
curl -L -o config_setfit.json https://huggingface.co/dendimaki/emotionSample/resolve/main/config_setfit.json
132 Bytes
| { | |
| "labels": [ | |
| "sadness", | |
| "joy", | |
| "love", | |
| "anger", | |
| "fear", | |
| "surprise" | |
| ], | |
| "normalize_embeddings": false | |
| } |