Back to all models
text-classification mask_token: <mask>
Query this model
🔥 This model is currently loaded and running on the Inference API. ⚠️ This model could not be loaded by the inference API. ⚠️ This model can be loaded on the Inference API on-demand.
JSON Output
API endpoint  

⚡️ Upgrade your account to access the Inference API

							$
							curl -X POST \
-H "Authorization: Bearer YOUR_ORG_OR_USER_API_TOKEN" \
-H "Content-Type: application/json" \
-d '"json encoded string"' \
https://api-inference.huggingface.co/models/akhooli/xlm-r-large-arabic-sent
Share Copied link to clipboard

Monthly model downloads

akhooli/xlm-r-large-arabic-sent akhooli/xlm-r-large-arabic-sent
231 downloads
last 30 days

pytorch

tf

Contributed by

akhooli Abed Khooli
5 models

How to use this model directly from the 🤗/transformers library:

			
Copy to clipboard
from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("akhooli/xlm-r-large-arabic-sent") model = AutoModelForSequenceClassification.from_pretrained("akhooli/xlm-r-large-arabic-sent")

xlm-r-large-arabic-sent

Multilingual sentiment classification (Label_0: mixed, Label_1: negative, Label_2: positive) of Arabic reviews by fine-tuning XLM-Roberta-Large. Zero shot classification of other languages (also works in mixed languages - ex. Arabic & English). Mixed category is not accurate and may confuse other classes (was based on a rate of 3 out of 5 in reviews).
Usage: see last section in this Colab notebook