Yousefmd commited on
Commit
58cbf86
1 Parent(s): a2f7a3c

Model save

Browse files
Files changed (2) hide show
  1. README.md +10 -9
  2. config.json +6 -6
README.md CHANGED
@@ -1,4 +1,5 @@
1
  ---
 
2
  tags:
3
  - generated_from_trainer
4
  metrics:
@@ -13,11 +14,11 @@ should probably proofread and complete it, then remove this comment. -->
13
 
14
  # feedback-classification
15
 
16
- This model is a fine-tuned version of [aubmindlab/bert-large-arabertv02-twitter](https://huggingface.co/aubmindlab/bert-large-arabertv02-twitter) on the None dataset.
17
  It achieves the following results on the evaluation set:
18
- - Loss: 0.5082
19
- - Macro F1: 0.8425
20
- - Accuracy: 0.8406
21
 
22
  ## Model description
23
 
@@ -50,13 +51,13 @@ The following hyperparameters were used during training:
50
 
51
  | Training Loss | Epoch | Step | Validation Loss | Macro F1 | Accuracy |
52
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
53
- | No log | 1.0 | 341 | 0.5222 | 0.8353 | 0.8333 |
54
- | 0.5602 | 2.0 | 682 | 0.5082 | 0.8425 | 0.8406 |
55
 
56
 
57
  ### Framework versions
58
 
59
- - Transformers 4.30.1
60
  - Pytorch 2.0.1+cu118
61
- - Datasets 2.12.0
62
- - Tokenizers 0.13.3
 
1
  ---
2
+ base_model: Yousefmd/arabert-sentiment-classification
3
  tags:
4
  - generated_from_trainer
5
  metrics:
 
14
 
15
  # feedback-classification
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.5553
20
+ - Macro F1: 0.8261
21
+ - Accuracy: 0.8187
22
 
23
  ## Model description
24
 
 
51
 
52
  | Training Loss | Epoch | Step | Validation Loss | Macro F1 | Accuracy |
53
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
54
+ | No log | 1.0 | 341 | 0.5271 | 0.8163 | 0.8114 |
55
+ | 0.485 | 2.0 | 682 | 0.5553 | 0.8261 | 0.8187 |
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
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,