komari6/ajgt_twitter_ar
Viewer • Updated • 1.8k • 487 • 4
How to use Anwaarma/Arabert-twitter-sentiment with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Anwaarma/Arabert-twitter-sentiment") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Anwaarma/Arabert-twitter-sentiment")
model = AutoModelForSequenceClassification.from_pretrained("Anwaarma/Arabert-twitter-sentiment")This model is a fine-tuned version of aubmindlab/bert-base-arabertv02-twitter on the ajgt_twitter_ar dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.4258 | 1.11 | 50 | 0.2875 | 0.88 |
| 0.1848 | 2.22 | 100 | 0.2274 | 0.93 |
| 0.1117 | 3.33 | 150 | 0.2743 | 0.9 |
| 0.0598 | 4.44 | 200 | 0.2292 | 0.94 |
| 0.0354 | 5.56 | 250 | 0.2714 | 0.95 |
| 0.0319 | 6.67 | 300 | 0.2870 | 0.95 |
| 0.0195 | 7.78 | 350 | 0.3029 | 0.95 |
| 0.0136 | 8.89 | 400 | 0.3097 | 0.95 |
| 0.0078 | 10.0 | 450 | 0.3197 | 0.95 |
| 0.0088 | 11.11 | 500 | 0.3227 | 0.95 |
| 0.0057 | 12.22 | 550 | 0.3263 | 0.95 |
| 0.0058 | 13.33 | 600 | 0.3283 | 0.95 |
| 0.0051 | 14.44 | 650 | 0.3318 | 0.95 |
Base model
aubmindlab/bert-base-arabertv02-twitter