Downloads · 30 days
17
13% of all-time downloads
amaan00z/sarcasm_xlmr
sarcasm_xlmr 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
17
13% of all-time downloads
All-time downloads
128
Public
Parameters
278M
1.1 GB on disk
Likes
1
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 Sarcasm Detection Model (XLM-RoBERTa Base — Fine-Tuned)
Version: 1.0 Author: Amaan Shaikh (amaan00z) Language: Hinglish Labels: 0 = not_sarcastic 1 = sarcastic
✨ Model Summary
This is a Hinglish Sarcasm Classifier trained on a rich combination of:
✅ MUStARD Hinglish Dialogues ✅ Swami et al. Hinglish Twitter dataset ✅ 4,000 generated Gen-Z + political + meme sarcasm samples ✅ 2,500 real non-sarcastic Hinglish social-media samples ✅ Reddit & general Hinglish sarcasm templates ✅ Cleaned + deduplicated final dataset: 9,594 samples
Model backbone: XLM-RoBERTa Base
📘 Labels
ID Label
0 not_sarcastic 1 sarcastic
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| 0.2244 | 1.0 | 505 | 0.1979 | 0.9220 | 0.9291 |
| 0.2034 | 2.0 | 1010 | 0.1418 | 0.9387 | 0.9448 |
| 0.1759 | 3.0 | 1515 | 0.1423 | 0.9498 | 0.9546 |
| 0.1009 | 4.0 | 2020 | 0.2033 | 0.9465 | 0.9509 |