hai2131 commited on
Commit
9844753
·
verified ·
1 Parent(s): f9755ed

End of training

Browse files
README.md ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google-bert/bert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: absa-restaurants-bert-base-uncased
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # absa-restaurants-bert-base-uncased
18
+
19
+ This model is a fine-tuned version of [google-bert/bert-base-uncased](https://huggingface.co/google-bert/bert-base-uncased) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.7275
22
+ - Accuracy: 0.8790
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 2e-05
42
+ - train_batch_size: 256
43
+ - eval_batch_size: 256
44
+ - seed: 42
45
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
46
+ - lr_scheduler_type: linear
47
+ - num_epochs: 50
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
53
+ | 0.2396 | 1.0 | 23 | 0.4017 | 0.8679 |
54
+ | 0.1873 | 2.0 | 46 | 0.4208 | 0.8714 |
55
+ | 0.1489 | 3.0 | 69 | 0.4428 | 0.8679 |
56
+ | 0.1123 | 4.0 | 92 | 0.4690 | 0.8721 |
57
+ | 0.0867 | 5.0 | 115 | 0.5119 | 0.8776 |
58
+ | 0.0672 | 6.0 | 138 | 0.5222 | 0.8741 |
59
+ | 0.0753 | 7.0 | 161 | 0.5781 | 0.8721 |
60
+ | 0.0732 | 8.0 | 184 | 0.5416 | 0.8672 |
61
+ | 0.0589 | 9.0 | 207 | 0.5674 | 0.8769 |
62
+ | 0.0507 | 10.0 | 230 | 0.5819 | 0.8734 |
63
+ | 0.0466 | 11.0 | 253 | 0.5871 | 0.8769 |
64
+ | 0.0452 | 12.0 | 276 | 0.5818 | 0.8797 |
65
+ | 0.0444 | 13.0 | 299 | 0.6002 | 0.8783 |
66
+ | 0.0376 | 14.0 | 322 | 0.5886 | 0.8714 |
67
+ | 0.0315 | 15.0 | 345 | 0.5846 | 0.8790 |
68
+ | 0.0295 | 16.0 | 368 | 0.6067 | 0.8693 |
69
+ | 0.0292 | 17.0 | 391 | 0.6186 | 0.8734 |
70
+ | 0.0226 | 18.0 | 414 | 0.6222 | 0.8783 |
71
+ | 0.0305 | 19.0 | 437 | 0.6400 | 0.8734 |
72
+ | 0.0245 | 20.0 | 460 | 0.6544 | 0.8721 |
73
+ | 0.0241 | 21.0 | 483 | 0.6438 | 0.8748 |
74
+ | 0.0208 | 22.0 | 506 | 0.6512 | 0.8734 |
75
+ | 0.0225 | 23.0 | 529 | 0.6580 | 0.8748 |
76
+ | 0.0215 | 24.0 | 552 | 0.6401 | 0.8790 |
77
+ | 0.019 | 25.0 | 575 | 0.6705 | 0.8679 |
78
+ | 0.0197 | 26.0 | 598 | 0.6809 | 0.8769 |
79
+ | 0.0192 | 27.0 | 621 | 0.6569 | 0.8748 |
80
+ | 0.0182 | 28.0 | 644 | 0.6763 | 0.8748 |
81
+ | 0.0173 | 29.0 | 667 | 0.6846 | 0.8790 |
82
+ | 0.0151 | 30.0 | 690 | 0.7100 | 0.8776 |
83
+ | 0.0171 | 31.0 | 713 | 0.6979 | 0.8748 |
84
+ | 0.0185 | 32.0 | 736 | 0.6947 | 0.8762 |
85
+ | 0.0161 | 33.0 | 759 | 0.6979 | 0.8755 |
86
+ | 0.0169 | 34.0 | 782 | 0.7015 | 0.8741 |
87
+ | 0.0158 | 35.0 | 805 | 0.7085 | 0.8804 |
88
+ | 0.0144 | 36.0 | 828 | 0.7080 | 0.8776 |
89
+ | 0.0138 | 37.0 | 851 | 0.7070 | 0.8797 |
90
+ | 0.0145 | 38.0 | 874 | 0.7088 | 0.8776 |
91
+ | 0.0154 | 39.0 | 897 | 0.7177 | 0.8755 |
92
+ | 0.0159 | 40.0 | 920 | 0.7217 | 0.8776 |
93
+ | 0.0154 | 41.0 | 943 | 0.7165 | 0.8762 |
94
+ | 0.013 | 42.0 | 966 | 0.7222 | 0.8783 |
95
+ | 0.0142 | 43.0 | 989 | 0.7190 | 0.8776 |
96
+ | 0.0143 | 44.0 | 1012 | 0.7207 | 0.8762 |
97
+ | 0.0123 | 45.0 | 1035 | 0.7256 | 0.8762 |
98
+ | 0.013 | 46.0 | 1058 | 0.7291 | 0.8790 |
99
+ | 0.0135 | 47.0 | 1081 | 0.7276 | 0.8797 |
100
+ | 0.012 | 48.0 | 1104 | 0.7286 | 0.8797 |
101
+ | 0.0135 | 49.0 | 1127 | 0.7278 | 0.8783 |
102
+ | 0.0139 | 50.0 | 1150 | 0.7275 | 0.8790 |
103
+
104
+
105
+ ### Framework versions
106
+
107
+ - Transformers 4.47.0
108
+ - Pytorch 2.5.1+cu121
109
+ - Datasets 3.3.1
110
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-base-uncased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "neutral",
14
+ "1": "negative",
15
+ "2": "positive",
16
+ "3": "conflict",
17
+ "4": "none"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "conflict": 3,
23
+ "negative": 1,
24
+ "neutral": 0,
25
+ "none": 4,
26
+ "positive": 2
27
+ },
28
+ "layer_norm_eps": 1e-12,
29
+ "max_position_embeddings": 512,
30
+ "model_type": "bert",
31
+ "num_attention_heads": 12,
32
+ "num_hidden_layers": 12,
33
+ "pad_token_id": 0,
34
+ "position_embedding_type": "absolute",
35
+ "problem_type": "single_label_classification",
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.47.0",
38
+ "type_vocab_size": 2,
39
+ "use_cache": true,
40
+ "vocab_size": 30522
41
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d41c3ada0954a758f5359b63d6bfa1753b5a4bf19664671ed395eded52f7b53
3
+ size 437967876
runs/Mar21_06-03-33_da50f1b0fb17/events.out.tfevents.1742537017.da50f1b0fb17.31.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c92a3610dc2d50653a1af3635d420a4b9a0c325220979609846fc8b40c2f945
3
+ size 8497
runs/Mar21_06-08-13_da50f1b0fb17/events.out.tfevents.1742537296.da50f1b0fb17.31.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f9e48e578aa40345191f02c5850d9f87532c80287bd244431517d2c8ef7511e
3
+ size 32395
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": false,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "extra_special_tokens": {},
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "BertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e9a0d68c79a6a1530f022eb43b3a021527790d154cb30c1b88c0156dd72bb2c
3
+ size 5368
vocab.txt ADDED
The diff for this file is too large to render. See raw diff