CoolFace
Modelpublic

yahyaqarni/socialsense-xlm-r

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
1likes8downloads
Model Card

socialsense-xmlr

Fine-tuned XLM-R for Urdu & Roman Urdu text sentiment classification.

Labels

  • —0: NEGATIVE
  • —1: NEUTRAL
  • —2: POSITIVE

Usage

python
from transformers import pipeline
pipe = pipeline("text-classification",
                model="yahyaqarni/socialsense-xmlr",
                tokenizer="yahyaqarni/socialsense-xmlr",
                top_k=None)
print(pipe("یہ بہت اچھا ہے"))
print(pipe("me bilkul khush nai hoon"))

Acknowledgements

This model was fine-tuned from cardiffnlp/twitter-xlm-roberta-base-sentiment, originally released under the Apache 2.0 License.