Freya's mood reader

A small text classifier that reads a sentence and says which of eleven moods it carries: neutral, happy, excited, curious, thinking, proud, playful, shy, surprised, sad, sleepy.

It chooses the expression of Freya, an AI study companion, and runs inside her app in the browser.

  • Started from: google/bert_uncased_L-2_H-128_A-2 (4,387,339 parameters)
  • Trained on: GoEmotions (Reddit comments labelled with emotions, mapped to the eleven moods) plus a few hand-written lines, 22,240 examples after balancing, for 4 epochs
  • Result: 61.8% accuracy on 3,930 unseen test sentences (always answering "neutral" gets 40.9%)

Limits

It learned from short English Reddit comments, so it is weaker on other kinds of text and other languages. It was never taught anger, fear or disgust. Moods are a matter of opinion: treat its answer as a hint, not a fact.

Try it

from transformers import pipeline
read = pipeline("text-classification", model="wuosyn/freya-mood-reader")
print(read("i can't keep my eyes open any more"))
Downloads last month
-
Safetensors
Model size
4.39M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for wuosyn/freya-mood-reader

Finetuned
(143)
this model

Dataset used to train wuosyn/freya-mood-reader