pytorch xlm-roberta text-classification multilingual arxiv:2104.12250 transformers emotion emotion-analysis license:mit
---
language: multilingual
license: mit
tags:
- emotion
- emotion-analysis
- multilingual

widget:
- text: "Guarda! ci sono dei bellissimi capibara!"
  example_title: "Emotion Classification 1"
- text: "Sei una testa di cazzo!!"
  example_title: "Emotion Classification 2"
- text: "Quelle bonne nouvelle!"
  example_title: "Emotion Classification 3"


---

#
[Federico Bianchi](https://federicobianchi.io/) •
[Debora Nozza](http://dnozza.github.io/) •
[Dirk Hovy](http://www.dirkhovy.com/)

## Abstract

Detecting emotion in text allows social and computational scientists to study how people behave and react to online events. However, developing these tools for different languages requires data that is not always available. This paper collects the available emotion detection datasets across 19 languages. We train a multilingual emotion prediction model for social media data, XLM-EMO. The model shows competitive performance in a zero-shot setting, suggesting it is helpful in the context of low-resource languages. We release our model to the community so that interested researchers can directly use it.

## Model

This model is the fine-tuned version of the [XLM-T](https://arxiv.org/abs/2104.12250) model. 

## Results

This model had an F1 of 0.85 on the test set.

## Citation
Please use the following BibTeX entry if you use this model in your project:
```
@inproceedings{bianchi2021feel,
    title = "{XLM-EMO: Multilingual Emotion Prediction in Social Media Text}",
    author = "Bianchi, Federico and Nozza, Debora and Hovy, Dirk",
    booktitle = "Proceedings of the 12th Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis",
    year = "2022",
    publisher = "Association for Computational Linguistics",
}
```