Downloads · 30 days
16
30% of all-time downloads
Shoriful025/multi_lingual_sentiment_analyzer
multi_lingual_sentiment_analyzer is a machine learning model from Shoriful025. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This model is a high-performance multilingual sentiment classifier fine-tuned on the XLM-RoBERTa architecture. It is designed to detect emotional polarity in text across 100+ languages, categorizing inputs into Negati…
Downloads · 30 days
16
30% of all-time downloads
All-time downloads
54
Public
Repo size
—
Likes
0
Public
Click a slice to open those files.
.md1.7 KB · 43%
From the Hugging Face model README
This model is a high-performance multilingual sentiment classifier fine-tuned on the XLM-RoBERTa architecture. It is designed to detect emotional polarity in text across 100+ languages, categorizing inputs into Negative, Neutral, or Positive sentiments. It is particularly robust against code-switching and informal linguistic structures common in social media data.
The model is based on XLMRobertaForSequenceClassification, a transformer-based encoder model.
The classification head consists of a linear layer applied to the representation of the <s> (start-of-sentence) token, formulated as:
$$y = \text{Softmax}(W \cdot h_{<s>} + b)$$