Model save
Browse files- README.md +7 -7
- config.json +8 -8
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
base_model: aubmindlab/bert-large-
|
3 |
tags:
|
4 |
- generated_from_trainer
|
5 |
metrics:
|
@@ -14,11 +14,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
14 |
|
15 |
# arabert-sentiment-classification
|
16 |
|
17 |
-
This model is a fine-tuned version of [aubmindlab/bert-large-
|
18 |
It achieves the following results on the evaluation set:
|
19 |
-
- Loss: 0.
|
20 |
-
- Macro F1: 0.
|
21 |
-
- Accuracy: 0.
|
22 |
|
23 |
## Model description
|
24 |
|
@@ -51,8 +51,8 @@ The following hyperparameters were used during training:
|
|
51 |
|
52 |
| Training Loss | Epoch | Step | Validation Loss | Macro F1 | Accuracy |
|
53 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
|
54 |
-
| No log | 1.0 | 497 | 0.
|
55 |
-
| 0.
|
56 |
|
57 |
|
58 |
### Framework versions
|
|
|
1 |
---
|
2 |
+
base_model: aubmindlab/bert-large-arabertv02
|
3 |
tags:
|
4 |
- generated_from_trainer
|
5 |
metrics:
|
|
|
14 |
|
15 |
# arabert-sentiment-classification
|
16 |
|
17 |
+
This model is a fine-tuned version of [aubmindlab/bert-large-arabertv02](https://huggingface.co/aubmindlab/bert-large-arabertv02) on an unknown dataset.
|
18 |
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.5767
|
20 |
+
- Macro F1: 0.6269
|
21 |
+
- Accuracy: 0.7872
|
22 |
|
23 |
## Model description
|
24 |
|
|
|
51 |
|
52 |
| Training Loss | Epoch | Step | Validation Loss | Macro F1 | Accuracy |
|
53 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
|
54 |
+
| No log | 1.0 | 497 | 0.6310 | 0.5865 | 0.7776 |
|
55 |
+
| 0.8509 | 2.0 | 994 | 0.5767 | 0.6269 | 0.7872 |
|
56 |
|
57 |
|
58 |
### Framework versions
|
config.json
CHANGED
@@ -9,18 +9,18 @@
|
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 1024,
|
11 |
"id2label": {
|
12 |
-
"0": "
|
13 |
-
"1": "
|
14 |
-
"2": "
|
15 |
-
"3": "
|
16 |
},
|
17 |
"initializer_range": 0.02,
|
18 |
"intermediate_size": 4096,
|
19 |
"label2id": {
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
},
|
25 |
"layer_norm_eps": 1e-12,
|
26 |
"max_position_embeddings": 512,
|
|
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 1024,
|
11 |
"id2label": {
|
12 |
+
"0": "Positive",
|
13 |
+
"1": "Negative",
|
14 |
+
"2": "Neutral",
|
15 |
+
"3": "Mixed"
|
16 |
},
|
17 |
"initializer_range": 0.02,
|
18 |
"intermediate_size": 4096,
|
19 |
"label2id": {
|
20 |
+
"Mixed": 3,
|
21 |
+
"Negative": 1,
|
22 |
+
"Neutral": 2,
|
23 |
+
"Positive": 0
|
24 |
},
|
25 |
"layer_norm_eps": 1e-12,
|
26 |
"max_position_embeddings": 512,
|