Downloads · 30 days
5
4% of all-time downloads
yahyaqarni/socialsense-xlm-r
socialsense-xlm-r is a text classification model from yahyaqarni. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
Fine-tuned XLM-R for Urdu & Roman Urdu text sentiment classification.
Downloads · 30 days
5
4% of all-time downloads
All-time downloads
127
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
Fine-tuned XLM-R for Urdu & Roman Urdu text sentiment classification.
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"))
This model was fine-tuned from cardiffnlp/twitter-xlm-roberta-base-sentiment, originally released under the Apache 2.0 License.