Yousefmd commited on
Commit
a18ac95
·
1 Parent(s): ec4fb82

Model save

Browse files
Files changed (2) hide show
  1. README.md +10 -10
  2. config.json +6 -6
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- base_model: Yousefmd/arabert-sentiment-classification
3
  tags:
4
  - generated_from_trainer
5
  metrics:
@@ -14,11 +14,11 @@ should probably proofread and complete it, then remove this comment. -->
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.5129
20
- - Macro F1: 0.8172
21
- - Accuracy: 0.8340
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.532 | 1.0 | 1238 | 0.4517 | 0.8098 | 0.8279 |
55
- | 0.3349 | 2.0 | 2476 | 0.5129 | 0.8172 | 0.8340 |
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
 
1
  ---
2
+ base_model: aubmindlab/bert-large-arabertv2
3
  tags:
4
  - generated_from_trainer
5
  metrics:
 
14
 
15
  # feedback-classification
16
 
17
+ This model is a fine-tuned version of [aubmindlab/bert-large-arabertv2](https://huggingface.co/aubmindlab/bert-large-arabertv2) on the None dataset.
18
  It achieves the following results on the evaluation set:
19
+ - Loss: 0.3881
20
+ - Macro F1: 0.8586
21
+ - Accuracy: 0.8586
22
 
23
  ## Model description
24
 
 
51
 
52
  | Training Loss | Epoch | Step | Validation Loss | Macro F1 | Accuracy |
53
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
54
+ | No log | 1.0 | 339 | 0.4434 | 0.8448 | 0.8468 |
55
+ | 0.6508 | 2.0 | 678 | 0.3881 | 0.8586 | 0.8586 |
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.1
config.json CHANGED
@@ -9,16 +9,16 @@
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
  },
16
  "initializer_range": 0.02,
17
  "intermediate_size": 4096,
18
  "label2id": {
19
- "LABEL_0": 0,
20
- "LABEL_1": 1,
21
- "LABEL_2": 2
22
  },
23
  "layer_norm_eps": 1e-12,
24
  "max_position_embeddings": 512,
 
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 1024,
11
  "id2label": {
12
+ "0": "request",
13
+ "1": "complaint",
14
+ "2": "satisfaction"
15
  },
16
  "initializer_range": 0.02,
17
  "intermediate_size": 4096,
18
  "label2id": {
19
+ "complaint": 1,
20
+ "request": 0,
21
+ "satisfaction": 2
22
  },
23
  "layer_norm_eps": 1e-12,
24
  "max_position_embeddings": 512,