ReviewRadar Sentiment
sentiment classification for English and Roman Urdu
1 min readupdated
The model classifies customer reviews and feedback comments as negative, neutral, or positive. It is built on cardiffnlp/twitter-xlm-roberta-base-sentiment (a multilingual language model) and fine-tuned on Amazon review datasets and a Roman Urdu corpus. The product is useful for developers and analysts who need to process feedback in English and mixed Roman Urdu (Urdu written in the Latin alphabet like "product bohat acha hai").
Key features
- Supports English and Roman Urdu.
- Outputs three sentiment classes: negative, neutral, and positive.
- Built on the efficient XLM-RoBERTa architecture (0.28 billion parameters).
- Fine-tuned with a frozen embedding layer to save resources.
What you can do
- Integrate into a customer feedback processing pipeline for automatic sorting of emails and support tickets.
- Use in bots or web services for quick user sentiment evaluation.
- Analyze large volumes of feedback on social media and online stores.
Example
from transformers import pipeline
clf = pipeline("text-classification", model="fateemah26/reviewradar-sentiment")
clf("Quality achi hai lekin delivery late thi")
Read more
DetailsBenchmarks: Accuracy 0.679, Macro F1 0.677 (outperforms the TF-IDF and Multilingual DistilBERT baseline).
Hardware requirements: Training was performed on a CPU within 7 GB of RAM.
Limitations: The Roman Urdu data comes from social media rather than marketplaces; the model is sensitive to sarcasm and mixed reviews.










Comments