This model is a multilingual fine-tuned version of the
RoBERTa model, specifically tailored for emotion classification tasks in Hungarian, Slovak, Polish, and Czech languages.
The model was trained to classify textual data into six emotional categories (
anger, fear, disgust, sadness, joy, and
none of them).
This model is intended for classifying textual data into emotional categories across multiple languages, including Hungarian, Slovak, Polish, and Czech.
It can be used in applications such as sentiment analysis, social media monitoring, customer feedback analysis, and similar tasks.
The model predicts the dominant emotion in a given text among the six predefined categories.
The model demonstrates strong performance across different emotional categories, with particularly high precision, recall, and F1 scores in the fear, disgust, and joy categories.
The model performs moderately well in detecting anger and none of them categories, but still achieves adequate accuracy in these cases.
1from transformers import pipeline
2
3# Load the fine-tuned model
4classifier = pipeline("text-classification", model="visegradmedia-emotion/Emotion_RoBERTa_pooled_V4")
5
6# Example usage
7result = classifier("Nagyon örömtelinek érzem magam ma!")
8print(result)