Downloads · 30 days
34
16% of all-time downloads
amaan00z/emotion_xlmr3
emotion_xlmr3 is a text classification model from amaan00z. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
34
16% of all-time downloads
All-time downloads
210
Public
Parameters
278M
1.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.1 GB · 98%
From the Hugging Face model README
This model is a fine-tuned version of xlm-roberta-base on the None dataset. It achieves the following results on the evaluation set:
Hinglish Emotion Detection Model (XLM-RoBERTa Base — Fine-Tuned)
Version: 1.0 Author: Amaan Shaikh (amaan00z) Languages: Hinglish (Hindi–English code-mixed) Labels: anger (0), fear (1), disgust (2), sadness (3), disapproval (4), surprise (5), admiration (6), joy (7), love (8), neutral (9)
✨ Model Summary
This model is a Transformer-based Hinglish Emotion Classifier, fine-tuned on a high-quality 25,689-sample dataset designed specifically for real-world Indian social-media text.
It is built using XLM-RoBERTa Base, which performs strongly on multilingual and code-mixed text.
🎯 Labels
The model predicts 10 emotions:
ID Label
0 anger 1 fear 2 disgust 3 sadness 4 disapproval 5 surprise 6 admiration 7 joy 8 love 9 neutral
This model was trained on a curated, cleaned, balanced Hinglish emotion dataset, including:
✅ 24,500 manually cleaned Hinglish emotion samples ✅ Additional 3,000 refined sarcastic emotion-enhanced Hinglish samples ✅ Removal of duplicates & noisy samples ✅ Emoji-heavy and Gen-Z slang patterns included
Dataset Source: (Add your Kaggle link)
🎯 Labels
The model predicts 10 emotions:
ID Label
0 anger 1 fear 2 disgust 3 sadness 4 disapproval 5 surprise 6 admiration 7 joy 8 love 9 neutral
Shaikh, Amaan. (2025). Hinglish Emotion Detection Model (XLM-R). https://huggingface.co/amaan00z/emotion-hinglish-xlmr
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| 0.1204 | 1.0 | 1445 | 0.0718 | 0.9833 | 0.9801 |
| 0.0788 | 2.0 | 2890 | 0.0521 | 0.9840 | 0.9809 |
| 0.045 | 3.0 | 4335 | 0.0481 | 0.9875 | 0.9849 |
| 0.0205 | 4.0 | 5780 | 0.0471 | 0.9875 | 0.9850 |