mirfan899/imdb_urdu_reviews
Viewer • Updated • 50k • 301 • 1
A fine-tuned bert-base-multilingual-cased model for Urdu sentiment analysis — classifying Urdu text as positive or negative.
| Metric | Score |
|---|---|
| Accuracy | 81.00% |
| F1 Score (weighted) | 0.8098 |
from transformers import pipeline
classifier = pipeline("text-classification", model="H-Layba/urdu-sentiment-classifier")
classifier("یہ فلم بہت اچھی تھی")
# [{'label': 'positive', 'score': 0.9936}]
classifier("آج کا دن بہت برا تھا")
# [{'label': 'negative', 'score': 0.9918}]
Trained on mirfan899/imdb_urdu_reviews — 50,000 Urdu translations of IMDB movie reviews with positive/negative sentiment labels.
This model is part of a larger collection of fine-tuned Urdu NLP models: