Demo
Enter a text and see which emotions a model finds in it, computed in your browser.
Runs in your browser
Your text stays on your device and is not stored. Choose one of three general models (compare them below). Nothing is downloaded before you do; each model is about 570 MB. Every result names the model that produced it.
For non-commercial use only; the 30-corpora model for non-commercial research only.
Or try an example:
Many texts at once? Online batch processing analyses a text file with one text per line and gives you a table to download.
The models
The demo runs half-precision (fp16) versions of three of our general models: the no perspective model‡, which also produced the case studies, the perspective model‡ (both non-commercial use only) and the 30-corpora model‡ (non-commercial research only). All three are on Hugging Face; all other models are under Models.
Compare the models and read more about them
| No perspective model‡ | Perspective model‡ | 30-corpora model‡ | |
|---|---|---|---|
| Whose emotion | not distinguished; use it if you do not know the perspective | you choose: the writer's, that of a person in the text, or the reader's | not distinguished |
| Training data | 27 corpora, only labels made by people | 30 corpora, including automatically labelled ones | |
| Emotion categories | yes (9) | yes (9) | yes (9) |
| Valence and arousal | yes | yes | no |
| Emotion components | yes (5) | yes (5) | no |
| Appraisals | yes (16), only for texts that describe an event | yes (16), only for texts that describe an event | no |
| License | non-commercial use | non-commercial use | non-commercial research only |
Emotion roles (who feels an emotion, what causes it, which words show it) come from a separate tagger, which you can add to any of the three models.
The no perspective model and the perspective model use the same recipe and differ in one thing. The no perspective model reads every text with the same fixed token. The perspective model was trained with a token for the perspective of each corpus and reads your text with the perspective you choose (by default writer, which includes emotions the writer annotated).
Both are XLM-RoBERTa base models, fine-tuned on 27 corpora of ours and of other groups, only on labels made by people. Each of the two predicts one or more of anger, disgust, fear, joy, sadness, surprise, shame/guilt, trust or no emotion, valence and arousal, which of the five emotion components of Scherer's component process model the text expresses (cognitive appraisal, bodily reaction, motivation, expression, subjective feeling), and 16 appraisal dimensions from 0 to 1. Appraisals only make sense for texts that describe an event, so the same model also decides whether the text describes one; it learned this from about 1,000 texts we labelled by hand. If it finds no event, the demo leaves the appraisals out.

