How to use Walid-Ahmed/arabic-sentiment-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Walid-Ahmed/arabic-sentiment-model")
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Walid-Ahmed/arabic-sentiment-model") model = AutoModelForSequenceClassification.from_pretrained("Walid-Ahmed/arabic-sentiment-model")
This model is trained for Arabic sentiment classification.
You can try out the model using an interactive demo hosted on Hugging Face Spaces.
Click here to try the demo.
Files info
Base model