Anwaarma commited on
Commit
5d26dee
1 Parent(s): 3a34602

End of training

Browse files
Files changed (2) hide show
  1. README.md +85 -0
  2. config.json +1 -8
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: aubmindlab/bert-base-arabertv2
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ model-index:
8
+ - name: Improved-Arabert-twitter-sentiment-No-dropout
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # Improved-Arabert-twitter-sentiment-No-dropout
16
+
17
+ This model is a fine-tuned version of [aubmindlab/bert-base-arabertv2](https://huggingface.co/aubmindlab/bert-base-arabertv2) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.5434
20
+ - Accuracy: 0.9
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 1e-05
40
+ - train_batch_size: 32
41
+ - eval_batch_size: 32
42
+ - seed: 42
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: linear
45
+ - num_epochs: 15
46
+
47
+ ### Training results
48
+
49
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
50
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
51
+ | 0.5764 | 0.55 | 50 | 0.4925 | 0.79 |
52
+ | 0.3357 | 1.1 | 100 | 0.3094 | 0.88 |
53
+ | 0.2183 | 1.65 | 150 | 0.2971 | 0.87 |
54
+ | 0.2042 | 2.2 | 200 | 0.3013 | 0.89 |
55
+ | 0.1258 | 2.75 | 250 | 0.3038 | 0.9 |
56
+ | 0.1359 | 3.3 | 300 | 0.3114 | 0.89 |
57
+ | 0.0893 | 3.85 | 350 | 0.3108 | 0.91 |
58
+ | 0.0816 | 4.4 | 400 | 0.3569 | 0.9 |
59
+ | 0.071 | 4.95 | 450 | 0.3574 | 0.9 |
60
+ | 0.1043 | 5.49 | 500 | 0.4332 | 0.89 |
61
+ | 0.0407 | 6.04 | 550 | 0.4232 | 0.9 |
62
+ | 0.0378 | 6.59 | 600 | 0.4273 | 0.91 |
63
+ | 0.0341 | 7.14 | 650 | 0.4671 | 0.91 |
64
+ | 0.0226 | 7.69 | 700 | 0.5174 | 0.9 |
65
+ | 0.0215 | 8.24 | 750 | 0.4786 | 0.89 |
66
+ | 0.0329 | 8.79 | 800 | 0.4853 | 0.9 |
67
+ | 0.021 | 9.34 | 850 | 0.5430 | 0.9 |
68
+ | 0.0219 | 9.89 | 900 | 0.5510 | 0.89 |
69
+ | 0.0154 | 10.44 | 950 | 0.5518 | 0.9 |
70
+ | 0.0119 | 10.99 | 1000 | 0.5473 | 0.9 |
71
+ | 0.0108 | 11.54 | 1050 | 0.5285 | 0.9 |
72
+ | 0.0138 | 12.09 | 1100 | 0.5239 | 0.91 |
73
+ | 0.0133 | 12.64 | 1150 | 0.5584 | 0.89 |
74
+ | 0.0121 | 13.19 | 1200 | 0.5334 | 0.9 |
75
+ | 0.0063 | 13.74 | 1250 | 0.5325 | 0.91 |
76
+ | 0.0061 | 14.29 | 1300 | 0.5429 | 0.9 |
77
+ | 0.0105 | 14.84 | 1350 | 0.5434 | 0.9 |
78
+
79
+
80
+ ### Framework versions
81
+
82
+ - Transformers 4.34.1
83
+ - Pytorch 2.1.0+cu118
84
+ - Datasets 2.14.7
85
+ - Tokenizers 0.14.1
config.json CHANGED
@@ -8,16 +8,8 @@
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
11
- "id2label": {
12
- "0": "Negative",
13
- "1": "Positive"
14
- },
15
  "initializer_range": 0.02,
16
  "intermediate_size": 3072,
17
- "label2id": {
18
- "Negative": 0,
19
- "Positive": 1
20
- },
21
  "layer_norm_eps": 1e-12,
22
  "max_position_embeddings": 512,
23
  "model_type": "bert",
@@ -25,6 +17,7 @@
25
  "num_hidden_layers": 12,
26
  "pad_token_id": 0,
27
  "position_embedding_type": "absolute",
 
28
  "torch_dtype": "float32",
29
  "transformers_version": "4.34.1",
30
  "type_vocab_size": 2,
 
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
 
 
 
 
11
  "initializer_range": 0.02,
12
  "intermediate_size": 3072,
 
 
 
 
13
  "layer_norm_eps": 1e-12,
14
  "max_position_embeddings": 512,
15
  "model_type": "bert",
 
17
  "num_hidden_layers": 12,
18
  "pad_token_id": 0,
19
  "position_embedding_type": "absolute",
20
+ "problem_type": "single_label_classification",
21
  "torch_dtype": "float32",
22
  "transformers_version": "4.34.1",
23
  "type_vocab_size": 2,