Yousefmd commited on
Commit
4265d99
1 Parent(s): 71f1fb7

Model save

Browse files
Files changed (2) hide show
  1. README.md +8 -8
  2. config.json +6 -6
README.md CHANGED
@@ -16,9 +16,9 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  This model is a fine-tuned version of [Yousefmd/arabert-sentiment-classification](https://huggingface.co/Yousefmd/arabert-sentiment-classification) on the None dataset.
18
  It achieves the following results on the evaluation set:
19
- - Loss: 0.4916
20
- - Macro F1: 0.8140
21
- - Accuracy: 0.8325
22
 
23
  ## Model description
24
 
@@ -51,13 +51,13 @@ The following hyperparameters were used during training:
51
 
52
  | Training Loss | Epoch | Step | Validation Loss | Macro F1 | Accuracy |
53
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
54
- | 0.5627 | 1.0 | 1241 | 0.4709 | 0.7885 | 0.8160 |
55
- | 0.3618 | 2.0 | 2482 | 0.4916 | 0.8140 | 0.8325 |
56
 
57
 
58
  ### Framework versions
59
 
60
- - Transformers 4.34.0
61
- - Pytorch 2.0.1+cu118
62
  - Datasets 2.14.5
63
- - Tokenizers 0.14.0
 
16
 
17
  This model is a fine-tuned version of [Yousefmd/arabert-sentiment-classification](https://huggingface.co/Yousefmd/arabert-sentiment-classification) on the None dataset.
18
  It achieves the following results on the evaluation set:
19
+ - Loss: 0.5153
20
+ - Macro F1: 0.8132
21
+ - Accuracy: 0.8358
22
 
23
  ## Model description
24
 
 
51
 
52
  | Training Loss | Epoch | Step | Validation Loss | Macro F1 | Accuracy |
53
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
54
+ | 0.5443 | 1.0 | 1239 | 0.4786 | 0.7893 | 0.8112 |
55
+ | 0.3437 | 2.0 | 2478 | 0.5153 | 0.8132 | 0.8358 |
56
 
57
 
58
  ### Framework versions
59
 
60
+ - Transformers 4.33.3
61
+ - Pytorch 1.12.0
62
  - Datasets 2.14.5
63
+ - Tokenizers 0.13.3
config.json CHANGED
@@ -10,16 +10,16 @@
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 1024,
12
  "id2label": {
13
- "0": "LABEL_0",
14
- "1": "LABEL_1",
15
- "2": "LABEL_2"
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
  },
24
  "layer_norm_eps": 1e-12,
25
  "max_position_embeddings": 512,
 
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 1024,
12
  "id2label": {
13
+ "0": "request",
14
+ "1": "complaint",
15
+ "2": "satisfaction"
16
  },
17
  "initializer_range": 0.02,
18
  "intermediate_size": 4096,
19
  "label2id": {
20
+ "complaint": 1,
21
+ "request": 0,
22
+ "satisfaction": 2
23
  },
24
  "layer_norm_eps": 1e-12,
25
  "max_position_embeddings": 512,