Update README.md
Browse files
README.md
CHANGED
|
@@ -1,6 +1,9 @@
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
-
tags:
|
|
|
|
|
|
|
|
|
|
| 4 |
---
|
| 5 |
|
| 6 |
# Model Card for Arabic Sentiment Muhannedsh
|
|
@@ -21,6 +24,16 @@ This is a fine-tuned BERT-based Arabic sentiment analysis model, specifically ad
|
|
| 21 |
|
| 22 |
- **Repository:** https://huggingface.co/Muhannedbsh/arabert-sentiment-model-MuhannedSh
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
## Uses
|
| 25 |
|
| 26 |
### Direct Use
|
|
@@ -56,4 +69,4 @@ model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
|
| 56 |
text = "هذا المنتج رائع جدا"
|
| 57 |
inputs = tokenizer(text, return_tensors="pt")
|
| 58 |
outputs = model(**inputs)
|
| 59 |
-
print(outputs.logits)
|
|
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
+
tags:
|
| 4 |
+
- sentiment-analysis
|
| 5 |
+
- arabic
|
| 6 |
+
- classification
|
| 7 |
---
|
| 8 |
|
| 9 |
# Model Card for Arabic Sentiment Muhannedsh
|
|
|
|
| 24 |
|
| 25 |
- **Repository:** https://huggingface.co/Muhannedbsh/arabert-sentiment-model-MuhannedSh
|
| 26 |
|
| 27 |
+
### Training Metrics
|
| 28 |
+
- **Training Loss:** 0.0315
|
| 29 |
+
- **Training Accuracy:** 99.31%
|
| 30 |
+
- **Training F1-Score:** 99.28%
|
| 31 |
+
|
| 32 |
+
### Validation Metrics
|
| 33 |
+
- **Validation Loss:** 0.2464
|
| 34 |
+
- **Validation Accuracy:** 92.24%
|
| 35 |
+
- **Validation F1-Score:** 92.89%
|
| 36 |
+
|
| 37 |
## Uses
|
| 38 |
|
| 39 |
### Direct Use
|
|
|
|
| 69 |
text = "هذا المنتج رائع جدا"
|
| 70 |
inputs = tokenizer(text, return_tensors="pt")
|
| 71 |
outputs = model(**inputs)
|
| 72 |
+
print(outputs.logits)
|