PassbyGrocer commited on
Commit
ff77bc3
·
verified ·
1 Parent(s): 0809e17

End of training

Browse files
README.md ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: hfl/chinese-roberta-wwm-ext-large
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - precision
9
+ - recall
10
+ - f1
11
+ - accuracy
12
+ model-index:
13
+ - name: robert_bilstm_mega_res-ner-resume-ner
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # robert_bilstm_mega_res-ner-resume-ner
21
+
22
+ This model is a fine-tuned version of [hfl/chinese-roberta-wwm-ext-large](https://huggingface.co/hfl/chinese-roberta-wwm-ext-large) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.2110
25
+ - Precision: 0.9394
26
+ - Recall: 0.9582
27
+ - F1: 0.9487
28
+ - Accuracy: 0.9817
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 5e-05
48
+ - train_batch_size: 32
49
+ - eval_batch_size: 32
50
+ - seed: 42
51
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 100
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
58
+ |:-------------:|:-----:|:-----:|:---------------:|:---------:|:------:|:------:|:--------:|
59
+ | 0.0676 | 1.0 | 120 | 0.0879 | 0.8905 | 0.9464 | 0.9176 | 0.9751 |
60
+ | 0.0751 | 2.0 | 240 | 0.0774 | 0.9136 | 0.9518 | 0.9323 | 0.9796 |
61
+ | 0.0342 | 3.0 | 360 | 0.0889 | 0.9198 | 0.9591 | 0.9390 | 0.9807 |
62
+ | 0.0261 | 4.0 | 480 | 0.1041 | 0.9317 | 0.9555 | 0.9434 | 0.9809 |
63
+ | 0.0082 | 5.0 | 600 | 0.1255 | 0.9308 | 0.9536 | 0.9421 | 0.9802 |
64
+ | 0.0134 | 6.0 | 720 | 0.1389 | 0.9286 | 0.9573 | 0.9427 | 0.9793 |
65
+ | 0.0089 | 7.0 | 840 | 0.1369 | 0.9366 | 0.9536 | 0.9450 | 0.9798 |
66
+ | 0.0093 | 8.0 | 960 | 0.1272 | 0.9393 | 0.9564 | 0.9477 | 0.9815 |
67
+ | 0.0044 | 9.0 | 1080 | 0.1384 | 0.9332 | 0.9518 | 0.9424 | 0.9803 |
68
+ | 0.0017 | 10.0 | 1200 | 0.1662 | 0.9401 | 0.9564 | 0.9482 | 0.9788 |
69
+ | 0.001 | 11.0 | 1320 | 0.1569 | 0.9368 | 0.9564 | 0.9465 | 0.9801 |
70
+ | 0.0007 | 12.0 | 1440 | 0.1724 | 0.9384 | 0.9564 | 0.9473 | 0.9801 |
71
+ | 0.0017 | 13.0 | 1560 | 0.1794 | 0.9291 | 0.9536 | 0.9412 | 0.9790 |
72
+ | 0.0004 | 14.0 | 1680 | 0.1716 | 0.9325 | 0.9545 | 0.9434 | 0.9795 |
73
+ | 0.0027 | 15.0 | 1800 | 0.1679 | 0.9435 | 0.9573 | 0.9504 | 0.9807 |
74
+ | 0.0048 | 16.0 | 1920 | 0.1753 | 0.9401 | 0.9564 | 0.9482 | 0.9800 |
75
+ | 0.001 | 17.0 | 2040 | 0.1872 | 0.9359 | 0.9564 | 0.9460 | 0.9793 |
76
+ | 0.0009 | 18.0 | 2160 | 0.1851 | 0.9453 | 0.9582 | 0.9517 | 0.9798 |
77
+ | 0.0067 | 19.0 | 2280 | 0.1645 | 0.9461 | 0.9582 | 0.9521 | 0.9805 |
78
+ | 0.0002 | 20.0 | 2400 | 0.1712 | 0.9352 | 0.9573 | 0.9461 | 0.9798 |
79
+ | 0.0023 | 21.0 | 2520 | 0.1779 | 0.9412 | 0.96 | 0.9505 | 0.9805 |
80
+ | 0.0001 | 22.0 | 2640 | 0.1804 | 0.9402 | 0.9582 | 0.9491 | 0.9806 |
81
+ | 0.0002 | 23.0 | 2760 | 0.1868 | 0.9386 | 0.9591 | 0.9487 | 0.9808 |
82
+ | 0.0017 | 24.0 | 2880 | 0.1742 | 0.9358 | 0.9545 | 0.9451 | 0.9811 |
83
+ | 0.0006 | 25.0 | 3000 | 0.1792 | 0.9452 | 0.9573 | 0.9512 | 0.9818 |
84
+ | 0.0011 | 26.0 | 3120 | 0.1801 | 0.9265 | 0.9518 | 0.9390 | 0.9778 |
85
+ | 0.0002 | 27.0 | 3240 | 0.2164 | 0.9402 | 0.9582 | 0.9491 | 0.9783 |
86
+ | 0.0001 | 28.0 | 3360 | 0.1851 | 0.9425 | 0.9545 | 0.9485 | 0.9821 |
87
+ | 0.0001 | 29.0 | 3480 | 0.1889 | 0.9417 | 0.9545 | 0.9481 | 0.9813 |
88
+ | 0.0005 | 30.0 | 3600 | 0.1914 | 0.9460 | 0.9564 | 0.9512 | 0.9804 |
89
+ | 0.0023 | 31.0 | 3720 | 0.1854 | 0.9497 | 0.9609 | 0.9553 | 0.9823 |
90
+ | 0.0004 | 32.0 | 3840 | 0.1883 | 0.9409 | 0.9545 | 0.9477 | 0.9807 |
91
+ | 0.0005 | 33.0 | 3960 | 0.1789 | 0.9470 | 0.9591 | 0.9530 | 0.9819 |
92
+ | 0.0002 | 34.0 | 4080 | 0.2061 | 0.9453 | 0.9582 | 0.9517 | 0.9802 |
93
+ | 0.0001 | 35.0 | 4200 | 0.1968 | 0.9479 | 0.9591 | 0.9535 | 0.9812 |
94
+ | 0.0001 | 36.0 | 4320 | 0.2021 | 0.9479 | 0.9591 | 0.9535 | 0.9813 |
95
+ | 0.0002 | 37.0 | 4440 | 0.2001 | 0.9437 | 0.96 | 0.9518 | 0.9812 |
96
+ | 0.0016 | 38.0 | 4560 | 0.1796 | 0.9340 | 0.9518 | 0.9428 | 0.9805 |
97
+ | 0.0001 | 39.0 | 4680 | 0.1759 | 0.9461 | 0.9582 | 0.9521 | 0.9806 |
98
+ | 0.0017 | 40.0 | 4800 | 0.1789 | 0.9462 | 0.96 | 0.9531 | 0.9816 |
99
+ | 0.0053 | 41.0 | 4920 | 0.1794 | 0.9436 | 0.9591 | 0.9513 | 0.9816 |
100
+ | 0.0 | 42.0 | 5040 | 0.1849 | 0.9418 | 0.9555 | 0.9486 | 0.9814 |
101
+ | 0.0 | 43.0 | 5160 | 0.1888 | 0.9453 | 0.9582 | 0.9517 | 0.9814 |
102
+ | 0.0001 | 44.0 | 5280 | 0.1972 | 0.9340 | 0.9527 | 0.9433 | 0.9788 |
103
+ | 0.0001 | 45.0 | 5400 | 0.1898 | 0.9400 | 0.9545 | 0.9472 | 0.9793 |
104
+ | 0.001 | 46.0 | 5520 | 0.1926 | 0.9392 | 0.9545 | 0.9468 | 0.9798 |
105
+ | 0.0001 | 47.0 | 5640 | 0.1932 | 0.9383 | 0.9545 | 0.9464 | 0.9796 |
106
+ | 0.0 | 48.0 | 5760 | 0.1978 | 0.9340 | 0.9518 | 0.9428 | 0.9796 |
107
+ | 0.0 | 49.0 | 5880 | 0.1978 | 0.9392 | 0.9545 | 0.9468 | 0.9801 |
108
+ | 0.0003 | 50.0 | 6000 | 0.2032 | 0.9366 | 0.9536 | 0.9450 | 0.9798 |
109
+ | 0.0 | 51.0 | 6120 | 0.2091 | 0.9367 | 0.9555 | 0.9460 | 0.9800 |
110
+ | 0.0 | 52.0 | 6240 | 0.2040 | 0.9427 | 0.9564 | 0.9495 | 0.9799 |
111
+ | 0.0001 | 53.0 | 6360 | 0.2029 | 0.9368 | 0.9564 | 0.9465 | 0.9810 |
112
+ | 0.0001 | 54.0 | 6480 | 0.2217 | 0.9391 | 0.9527 | 0.9458 | 0.9796 |
113
+ | 0.0002 | 55.0 | 6600 | 0.2129 | 0.9435 | 0.9573 | 0.9504 | 0.9800 |
114
+ | 0.0 | 56.0 | 6720 | 0.2186 | 0.9443 | 0.9555 | 0.9498 | 0.9798 |
115
+ | 0.0 | 57.0 | 6840 | 0.2201 | 0.9451 | 0.9555 | 0.9503 | 0.9800 |
116
+ | 0.0 | 58.0 | 6960 | 0.1975 | 0.9393 | 0.9564 | 0.9477 | 0.9815 |
117
+ | 0.0 | 59.0 | 7080 | 0.2077 | 0.9444 | 0.9573 | 0.9508 | 0.9810 |
118
+ | 0.0001 | 60.0 | 7200 | 0.2111 | 0.9452 | 0.9564 | 0.9507 | 0.9801 |
119
+ | 0.0 | 61.0 | 7320 | 0.2132 | 0.9480 | 0.9618 | 0.9549 | 0.9824 |
120
+ | 0.0 | 62.0 | 7440 | 0.2058 | 0.9442 | 0.9545 | 0.9494 | 0.9808 |
121
+ | 0.0023 | 63.0 | 7560 | 0.1970 | 0.9522 | 0.9591 | 0.9556 | 0.9812 |
122
+ | 0.0 | 64.0 | 7680 | 0.2055 | 0.9497 | 0.9609 | 0.9553 | 0.9805 |
123
+ | 0.0 | 65.0 | 7800 | 0.2050 | 0.9488 | 0.96 | 0.9544 | 0.9808 |
124
+ | 0.0 | 66.0 | 7920 | 0.2336 | 0.9399 | 0.9527 | 0.9463 | 0.9778 |
125
+ | 0.0 | 67.0 | 8040 | 0.1999 | 0.9447 | 0.9627 | 0.9536 | 0.9817 |
126
+ | 0.0 | 68.0 | 8160 | 0.2082 | 0.9419 | 0.9582 | 0.9500 | 0.9806 |
127
+ | 0.0 | 69.0 | 8280 | 0.2113 | 0.9419 | 0.9582 | 0.9500 | 0.9806 |
128
+ | 0.0 | 70.0 | 8400 | 0.2164 | 0.9436 | 0.9591 | 0.9513 | 0.9803 |
129
+ | 0.0 | 71.0 | 8520 | 0.2041 | 0.9411 | 0.9582 | 0.9495 | 0.9807 |
130
+ | 0.0 | 72.0 | 8640 | 0.2099 | 0.9470 | 0.9582 | 0.9526 | 0.9798 |
131
+ | 0.0008 | 73.0 | 8760 | 0.2107 | 0.9444 | 0.9573 | 0.9508 | 0.9798 |
132
+ | 0.0 | 74.0 | 8880 | 0.2119 | 0.9470 | 0.9582 | 0.9526 | 0.9798 |
133
+ | 0.0 | 75.0 | 9000 | 0.2079 | 0.9470 | 0.9582 | 0.9526 | 0.9798 |
134
+ | 0.0 | 76.0 | 9120 | 0.2132 | 0.9419 | 0.9573 | 0.9495 | 0.9798 |
135
+ | 0.0 | 77.0 | 9240 | 0.2163 | 0.9367 | 0.9545 | 0.9455 | 0.9797 |
136
+ | 0.0 | 78.0 | 9360 | 0.2168 | 0.9384 | 0.9555 | 0.9468 | 0.9796 |
137
+ | 0.0 | 79.0 | 9480 | 0.2125 | 0.9436 | 0.9582 | 0.9508 | 0.9808 |
138
+ | 0.0 | 80.0 | 9600 | 0.2151 | 0.9375 | 0.9545 | 0.9459 | 0.9800 |
139
+ | 0.0 | 81.0 | 9720 | 0.2150 | 0.9367 | 0.9545 | 0.9455 | 0.9799 |
140
+ | 0.0 | 82.0 | 9840 | 0.2157 | 0.9368 | 0.9564 | 0.9465 | 0.9803 |
141
+ | 0.0 | 83.0 | 9960 | 0.2159 | 0.9368 | 0.9564 | 0.9465 | 0.9805 |
142
+ | 0.0 | 84.0 | 10080 | 0.2160 | 0.9368 | 0.9564 | 0.9465 | 0.9801 |
143
+ | 0.0 | 85.0 | 10200 | 0.2164 | 0.9367 | 0.9545 | 0.9455 | 0.9799 |
144
+ | 0.0 | 86.0 | 10320 | 0.2175 | 0.9384 | 0.9555 | 0.9468 | 0.9800 |
145
+ | 0.0 | 87.0 | 10440 | 0.2190 | 0.9384 | 0.9555 | 0.9468 | 0.9801 |
146
+ | 0.0002 | 88.0 | 10560 | 0.2193 | 0.9375 | 0.9545 | 0.9459 | 0.9801 |
147
+ | 0.0 | 89.0 | 10680 | 0.2176 | 0.9383 | 0.9545 | 0.9464 | 0.9798 |
148
+ | 0.0 | 90.0 | 10800 | 0.2205 | 0.9410 | 0.9573 | 0.9491 | 0.9803 |
149
+ | 0.0 | 91.0 | 10920 | 0.2094 | 0.9368 | 0.9564 | 0.9465 | 0.9805 |
150
+ | 0.0 | 92.0 | 11040 | 0.2094 | 0.9351 | 0.9555 | 0.9451 | 0.9804 |
151
+ | 0.0 | 93.0 | 11160 | 0.2096 | 0.9376 | 0.9564 | 0.9469 | 0.9808 |
152
+ | 0.0 | 94.0 | 11280 | 0.2100 | 0.9376 | 0.9564 | 0.9469 | 0.9808 |
153
+ | 0.0 | 95.0 | 11400 | 0.2104 | 0.9401 | 0.9555 | 0.9477 | 0.9812 |
154
+ | 0.0 | 96.0 | 11520 | 0.2107 | 0.9410 | 0.9564 | 0.9486 | 0.9814 |
155
+ | 0.0 | 97.0 | 11640 | 0.2107 | 0.9401 | 0.9564 | 0.9482 | 0.9816 |
156
+ | 0.0 | 98.0 | 11760 | 0.2109 | 0.9402 | 0.9582 | 0.9491 | 0.9818 |
157
+ | 0.0 | 99.0 | 11880 | 0.2110 | 0.9394 | 0.9582 | 0.9487 | 0.9817 |
158
+ | 0.0 | 100.0 | 12000 | 0.2110 | 0.9394 | 0.9582 | 0.9487 | 0.9817 |
159
+
160
+
161
+ ### Framework versions
162
+
163
+ - Transformers 4.46.2
164
+ - Pytorch 2.4.1+cu124
165
+ - Datasets 3.1.0
166
+ - Tokenizers 0.20.3
config.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "hfl/chinese-roberta-wwm-ext-large",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "directionality": "bidi",
10
+ "eos_token_id": 2,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 1024,
14
+ "id2label": {
15
+ "0": "O",
16
+ "1": "B-CONT",
17
+ "2": "I-CONT",
18
+ "3": "B-EDU",
19
+ "4": "I-EDU",
20
+ "5": "B-LOC",
21
+ "6": "I-LOC",
22
+ "7": "B-NAME",
23
+ "8": "I-NAME",
24
+ "9": "B-ORG",
25
+ "10": "I-ORG",
26
+ "11": "B-PRO",
27
+ "12": "I-PRO",
28
+ "13": "B-RACE",
29
+ "14": "I-RACE",
30
+ "15": "B-TITLE",
31
+ "16": "I-TITLE"
32
+ },
33
+ "initializer_range": 0.02,
34
+ "intermediate_size": 4096,
35
+ "label2id": {
36
+ "B-CONT": 1,
37
+ "B-EDU": 3,
38
+ "B-LOC": 5,
39
+ "B-NAME": 7,
40
+ "B-ORG": 9,
41
+ "B-PRO": 11,
42
+ "B-RACE": 13,
43
+ "B-TITLE": 15,
44
+ "I-CONT": 2,
45
+ "I-EDU": 4,
46
+ "I-LOC": 6,
47
+ "I-NAME": 8,
48
+ "I-ORG": 10,
49
+ "I-PRO": 12,
50
+ "I-RACE": 14,
51
+ "I-TITLE": 16,
52
+ "O": 0
53
+ },
54
+ "layer_norm_eps": 1e-12,
55
+ "max_position_embeddings": 512,
56
+ "model_type": "bert",
57
+ "num_attention_heads": 16,
58
+ "num_hidden_layers": 24,
59
+ "output_past": true,
60
+ "pad_token_id": 0,
61
+ "pooler_fc_size": 768,
62
+ "pooler_num_attention_heads": 12,
63
+ "pooler_num_fc_layers": 3,
64
+ "pooler_size_per_head": 128,
65
+ "pooler_type": "first_token_transform",
66
+ "position_embedding_type": "absolute",
67
+ "torch_dtype": "float32",
68
+ "transformers_version": "4.46.2",
69
+ "type_vocab_size": 2,
70
+ "use_cache": true,
71
+ "vocab_size": 21128
72
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4142a6869edb4d2a48ac0566360917e7490b39ed8bbb78b921c17bd8e68d4f8d
3
+ size 1298007804
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "mask_token": "[MASK]",
48
+ "model_max_length": 1000000000000000019884624838656,
49
+ "pad_token": "[PAD]",
50
+ "sep_token": "[SEP]",
51
+ "strip_accents": null,
52
+ "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "BertTokenizer",
54
+ "unk_token": "[UNK]"
55
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35bb8256e5d7e2bb6fb017eacacf34380417b37feb4927334679fbe52b021af6
3
+ size 5304
vocab.txt ADDED
The diff for this file is too large to render. See raw diff