Yousefmd commited on
Commit
99ccd0b
·
1 Parent(s): e93d52b

Model save

Browse files
Files changed (2) hide show
  1. README.md +8 -8
  2. config.json +8 -8
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- base_model: aubmindlab/bert-large-arabertv02-twitter
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-arabertv02-twitter](https://huggingface.co/aubmindlab/bert-large-arabertv02-twitter) on an unknown dataset.
18
  It achieves the following results on the evaluation set:
19
- - Loss: 0.6045
20
- - Macro F1: 0.6642
21
- - Accuracy: 0.7837
22
 
23
  ## Model description
24
 
@@ -51,9 +51,9 @@ The following hyperparameters were used during training:
51
 
52
  | Training Loss | Epoch | Step | Validation Loss | Macro F1 | Accuracy |
53
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
54
- | No log | 1.0 | 491 | 0.5546 | 0.6309 | 0.7916 |
55
- | 0.6287 | 2.0 | 983 | 0.6021 | 0.6662 | 0.7809 |
56
- | 0.5234 | 3.0 | 1473 | 0.6045 | 0.6642 | 0.7837 |
57
 
58
 
59
  ### Framework versions
 
1
  ---
2
+ base_model: aubmindlab/bert-large-arabertv2
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-arabertv2](https://huggingface.co/aubmindlab/bert-large-arabertv2) on an unknown dataset.
18
  It achieves the following results on the evaluation set:
19
+ - Loss: 0.6123
20
+ - Macro F1: 0.6539
21
+ - Accuracy: 0.7723
22
 
23
  ## Model description
24
 
 
51
 
52
  | Training Loss | Epoch | Step | Validation Loss | Macro F1 | Accuracy |
53
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
54
+ | No log | 1.0 | 491 | 0.6646 | 0.5748 | 0.7527 |
55
+ | 0.9023 | 2.0 | 983 | 0.6157 | 0.6093 | 0.7710 |
56
+ | 0.6187 | 3.0 | 1473 | 0.6123 | 0.6539 | 0.7723 |
57
 
58
 
59
  ### Framework versions
config.json CHANGED
@@ -9,18 +9,18 @@
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 1024,
11
  "id2label": {
12
- "0": "LABEL_0",
13
- "1": "LABEL_1",
14
- "2": "LABEL_2",
15
- "3": "LABEL_3"
16
  },
17
  "initializer_range": 0.02,
18
  "intermediate_size": 4096,
19
  "label2id": {
20
- "LABEL_0": 0,
21
- "LABEL_1": 1,
22
- "LABEL_2": 2,
23
- "LABEL_3": 3
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,