Emotion Detector

Classify text into six basic emotions: sadness, joy, love, anger, fear, and surprise. Useful for social media monitoring, customer feedback analysis, and sentiment-aware routing

75.5%Test Accuracy
6Classes
10,000Training Examples
<80msLatency

Try it

Use it

Python
from jeffy.engine import Engine

engine = Engine()
engine.load()

result = engine.predict("emotion", "I'm so frustrated with this service")
print(result["label"])  # anger
curl
$ curl -s -X POST https://playground.jeffyclassify.com/v1/predict \
  -H "Content-Type: application/json" \
  -d '{"text":"I feel so happy today","task":"emotion"}'
pip install jeffy-classify

Labels

sadness joy love anger fear surprise

Model details

Task IDemotion EncoderBAAI/bge-large-en-v1.5 TypeText classifier (logistic regression) Train accuracy83.4% Test accuracy75.5% LicenseAcademic SourceEmotion dataset