Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,37 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
language:
|
4 |
+
- ar
|
5 |
+
base_model:
|
6 |
+
- Kalmundi/Q8BERTA
|
7 |
+
tags:
|
8 |
+
- transformers
|
9 |
+
- safetensors
|
10 |
+
- sentiment-analysis
|
11 |
+
---
|
12 |
+
|
13 |
+
|
14 |
+
# Fine-Tuned SA-Q8BERTA Model for Sentiment Analysis
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [Kalmundi/Q8BERTA](https://huggingface.co/Kalmundi/Q8BERTA), which was trained on a customized dataset for sentiment analysis.
|
17 |
+
This model mainly focuses on Sentiment Analysis for the Kuwaiti Dialect.
|
18 |
+
|
19 |
+
## Model Details
|
20 |
+
|
21 |
+
- **Base Model**: The original model is [Kalmundi/Q8BERTA](https://huggingface.co/Kalmundi/Q8BERTA), a transformer-based model pre-trained on a sufficient size Kuwaiti Dialect dataset.
|
22 |
+
- **Fine-Tuning**: This model was fine-tuned on a dataset for sentiment analysis related to Kuwaiti Dialect, and it can classify text as either positive or negative.
|
23 |
+
- **Fine-Tuning Task**: The model was fine-tuned for 5 epochs with a learning rate of `2e-5`.
|
24 |
+
|
25 |
+
## Model Usage
|
26 |
+
|
27 |
+
To use the model for sentiment analysis:
|
28 |
+
|
29 |
+
```python
|
30 |
+
from transformers import pipeline
|
31 |
+
|
32 |
+
# Load the fine-tuned model
|
33 |
+
classifier = pipeline("sentiment-analysis", model="Kalmundi/Q8BERTA-SA")
|
34 |
+
|
35 |
+
# Test the classifier
|
36 |
+
result = classifier("الجو اليوم وايد حلو")
|
37 |
+
print(result)
|