Downloads · 30 days
9
9% of all-time downloads
HagerAbbas/arabic-sentiment-analysis-model
arabic-sentiment-analysis-model is a text classification model from HagerAbbas. Use it when you need a label for a piece of text. The card lists the license as mit.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
9
9% of all-time downloads
All-time downloads
95
Public
Parameters
163M
2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors651 MB · 99%
From the Hugging Face model README
This model is a fine-tuned version of UBC-NLP/MARBERT on an unknown dataset. It achieves the following results on the evaluation set:
This model is fine-tuned for Arabic Sentiment Analysis. It can classify Arabic text into different emotional categories (Positive/Negative).
This model is intended for analyzing social media posts, customer reviews, and general Arabic text to determine sentiment.
from transformers import pipeline
classifier = pipeline("sentiment-analysis", model="HagerAbbas/اسم-الموديل-بتاعك")
classifier("أنا سعيد جداً بهذا الإنجاز")
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 16
- eval_batch_size: 8
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 3
### Training results
| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:-----:|:----:|:---------------:|
| 0.168 | 1.0 | 113 | 0.2174 |
| 0.1619 | 2.0 | 226 | 0.0477 |
| 0.014 | 3.0 | 339 | 0.0339 |
### Framework versions
- Transformers 4.57.3
- Pytorch 2.9.0+cu126
- Datasets 4.4.2
- Tokenizers 0.22.1