AI SeedbankHelp preserve open and free AI for humanity's future

← All models

j-hartmann_emotion-english-distilroberta-base

j-hartmann · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


language: "en" tags:

  • distilroberta
  • sentiment
  • emotion
  • twitter
  • reddit

widget:

  • text: "Oh wow. I didn't know that."
  • text: "This movie always makes me cry.."
  • text: "Oh Happy Day"

Emotion English DistilRoBERTa-base

Description ℹ

With this model, you can classify emotions in English text data. The model was trained on 6 diverse datasets (see Appendix below) and predicts Ekman's 6 basic emotions, plus a neutral class:

  1. anger 🤬
  2. disgust 🤢
  3. fear 😨
  4. joy 😀
  5. neutral 😐
  6. sadness 😭
  7. surprise 😲

The model is a fine-tuned checkpoint of DistilRoBERTa-base. For a 'non-distilled' emotion model, please refer to the model card of the RoBERTa-large version.

Application 🚀

a) Run emotion model with 3 lines of code on single text example using Hugging Face's pipeline command on Google Colab:

from transformers import pipeline
classifier = pipeline("text-classification", model="j-hartmann/emotion-english-distilroberta-base", return_all_scores=True)
classifier("I love this!")
Output:
[[{'label': 'anger', 'score': 0.004419783595949411},
  {'label': 'disgust', 'score': 0.0016119900392368436},
  {'label': 'fear', 'score': 0.0004138521908316761},
  {'label': 'joy', 'score': 0.9771687984466553},
  {'label': 'neutral', 'score': 0.005764586851000786},
  {'label': 'sadness', 'score': 0.002092392183840275},
  {'label': 'surprise', 'score': 0.008528684265911579}]]

b) Run emotion model on multiple examples and full datasets (e.g., .csv files) on Google Colab:

Contact 💻

Please reach out to [email protected] if you have any questions or feedback.

Thanks to Samuel Domdey and chrsiebert for their support in making this model available.

Reference ✅

For attribution, please cite the following reference if you use this model. A working paper will be available soon.

Jochen Hartmann, "Emotion English DistilRoBERTa-base". https://huggingface.co/j-hartmann/emotion-english-distilroberta-base/, 2022.

BibTex citation:

@misc{hartmann2022emotionenglish,
  author={Hartmann, Jochen},
  title={Emotion English DistilRoBERTa-base},
  year={2022},
  howpublished = {\url{https://huggingface.co/j-hartmann/emotion-english-distilroberta-base/}},
}

Appendix 📚

Please find an overview of the datasets used for training below. All datasets contain English text. The table summarizes which emotions are available in each of the datasets. The datasets represent a diverse collection of text types. Specifically, they contain emotion labels for texts from Twitter, Reddit, student self-reports, and utterances from TV dialogues. As MELD (Multimodal EmotionLines Dataset) extends the popular EmotionLines dataset, EmotionLines itself is not included here.

Name anger disgust fear joy neutral sadness surprise
Crowdflower (2016) Yes - - Yes Yes Yes Yes
Emotion Dataset, Elvis et al. (2018) Yes - Yes Yes - Yes Yes
GoEmotions, Demszky et al. (2020) Yes Yes Yes Yes Yes Yes Yes
ISEAR, Vikash (2018) Yes Yes Yes Yes - Yes -
MELD, Poria et al. (2019) Yes Yes Yes Yes Yes Yes Yes
SemEval-2018, EI-reg, Mohammad et al. (2018) Yes - Yes Yes - Yes -

The model is trained on a balanced subset from the datasets listed above (2,811 observations per emotion, i.e., nearly 20k observations in total). 80% of this balanced subset is used for training and 20% for evaluation. The evaluation accuracy is 66% (vs. the random-chance baseline of 1/7 = 14%).

Scientific Applications 📖

Below you can find a list of papers using "Emotion English DistilRoBERTa-base". If you would like your paper to be added to the list, please send me an email.

  • Butt, S., Sharma, S., Sharma, R., Sidorov, G., & Gelbukh, A. (2022). What goes on inside rumour and non-rumour tweets and their reactions: A Psycholinguistic Analyses. Computers in Human Behavior, 107345.
  • Kuang, Z., Zong, S., Zhang, J., Chen, J., & Liu, H. (2022). Music-to-Text Synaesthesia: Generating Descriptive Text from Music Recordings. arXiv preprint arXiv:2210.00434.
  • Rozado, D., Hughes, R., & Halberstadt, J. (2022). Longitudinal analysis of sentiment and emotion in news media headlines using automated labelling with Transformer language models. Plos one, 17(10), e0276367.

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:6eaaebb7337e5c9bd23ed10816c9fc4483919135&dn=j-hartmann_emotion-english-distilroberta-base

Open magnet in torrent client · infohash 6eaaebb7337e5c9bd23ed10816c9fc4483919135

Files & hashes

PathSizesha1sha256
README.md4.8 KB (4,886 B)085c77db345f15ad5633de5a745b6b788d9e03914747de6637a433ead0b140b77d316c32917b6ad1d4703919561eebcd7dbfa010
config.json1005 B (1,005 B)10d853287ef2f8e3e8f9cd1e89dd967937a40086ab16b3e561e9c9bda68a97a668bd3aa59978dcdc20b6257fdcae1bb0682b625c
merges.txt445.7 KB (456,356 B)6636bda4a1fd7a63653dffb22683b8162c8de956fe36cab26d4f4421ed725e10a2e9ddb7f799449c603a96e7f29b5a3c82a95862
pytorch_model.bin313.3 MB (328,544,361 B)b42fb9aa5078299c88f9e15e067b15995929a5c0dde1eadd81741344dd707d1c482a3293810eb895c873053213ccdb2b57ca9e95
special_tokens_map.json239 B (239 B)2ea7ad0e45a9d1d1591782ba7e29a703d0758831378eb3bf733eb16e65792d7e3fda5b8a4631387ca04d2015199c4d4f22ae554d
tokenizer.json1.3 MB (1,356,047 B)fcb66de1795c6da6d8b01d4f3f1978a88b39c3f4a65474d70a34ab230f809b83412ee547a1d91803f742086977028b13dc6d5b70
tokenizer_config.json294 B (294 B)ca40de99cebb24fe4d2c259d48f3350dfe1372c544e6cbab3bc89d7b04cc614a5a8d6ef6483e3de53e5a423be82e799de3deb2ca
training_args.bin2.4 KB (2,415 B)64a4f8f9497d76e8582704b93c72c2023af33a0d4ed7a68d54395ab0be21726d6fcf25f942ed459b16387bbf9cf251051986766f
vocab.json779.6 KB (798,293 B)4ebe4bb3f3114daf2e4cc349f24873a1175a35d7ed19656ea1707df69134c4af35c8ceda2cc9860bf2c3495026153a133670ab5e

Cite this release

Canonical URL
https://aiseedbank.org/models/j-hartmann_emotion-english-distilroberta-base/
Slug
j-hartmann_emotion-english-distilroberta-base
Infohash
6eaaebb7337e5c9bd23ed10816c9fc4483919135
License
no license recorded
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: j-hartmann_emotion-english-distilroberta-base.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositoryj-hartmann/emotion-english-distilroberta-base
Revision (pinned)0e1cd914e3d46199ed785853e12b57304e04178b
Fetched at2026-09-04T01:03:45Z
License at fetchno license recorded
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-04T01:03:50Z

no license recorded315.8 MB (331,163,896 bytes)transformerspytorchrobertatext-classificationdistilrobertasentimentemotiontwitterreddittext-embeddings-inferenceendpoints_compatible2 languages (tf, en)paper: 2210.00434