haryoaw commited on
Commit
3bf9f02
1 Parent(s): f390794

Initial Commit

Browse files
Files changed (5) hide show
  1. README.md +169 -0
  2. config.json +53 -0
  3. eval_result_ner.json +1 -0
  4. model.safetensors +3 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: microsoft/mdeberta-v3-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - precision
9
+ - recall
10
+ - f1
11
+ - accuracy
12
+ model-index:
13
+ - name: scenario-non-kd-scr-ner-half-mdeberta_data-univner_full44
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
+ # scenario-non-kd-scr-ner-half-mdeberta_data-univner_full44
21
+
22
+ This model is a fine-tuned version of [microsoft/mdeberta-v3-base](https://huggingface.co/microsoft/mdeberta-v3-base) on the None dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.3534
25
+ - Precision: 0.6234
26
+ - Recall: 0.5829
27
+ - F1: 0.6024
28
+ - Accuracy: 0.9614
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: 3e-05
48
+ - train_batch_size: 32
49
+ - eval_batch_size: 32
50
+ - seed: 44
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 30
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
58
+ |:-------------:|:-------:|:-----:|:---------------:|:---------:|:------:|:------:|:--------:|
59
+ | 0.3562 | 0.2910 | 500 | 0.2852 | 0.2966 | 0.1133 | 0.1639 | 0.9283 |
60
+ | 0.2364 | 0.5821 | 1000 | 0.2099 | 0.3403 | 0.2622 | 0.2961 | 0.9384 |
61
+ | 0.1729 | 0.8731 | 1500 | 0.1788 | 0.4217 | 0.3849 | 0.4025 | 0.9465 |
62
+ | 0.1341 | 1.1641 | 2000 | 0.1651 | 0.4680 | 0.4595 | 0.4637 | 0.9513 |
63
+ | 0.1123 | 1.4552 | 2500 | 0.1575 | 0.5014 | 0.4913 | 0.4963 | 0.9539 |
64
+ | 0.104 | 1.7462 | 3000 | 0.1514 | 0.5253 | 0.5071 | 0.5161 | 0.9559 |
65
+ | 0.0921 | 2.0373 | 3500 | 0.1484 | 0.5065 | 0.5485 | 0.5267 | 0.9561 |
66
+ | 0.0674 | 2.3283 | 4000 | 0.1515 | 0.5461 | 0.5643 | 0.5550 | 0.9584 |
67
+ | 0.0661 | 2.6193 | 4500 | 0.1523 | 0.5477 | 0.5588 | 0.5532 | 0.9589 |
68
+ | 0.0649 | 2.9104 | 5000 | 0.1511 | 0.5704 | 0.5721 | 0.5712 | 0.9600 |
69
+ | 0.0493 | 3.2014 | 5500 | 0.1632 | 0.5742 | 0.5666 | 0.5704 | 0.9601 |
70
+ | 0.0441 | 3.4924 | 6000 | 0.1626 | 0.5910 | 0.5748 | 0.5828 | 0.9605 |
71
+ | 0.0446 | 3.7835 | 6500 | 0.1678 | 0.6082 | 0.5561 | 0.5809 | 0.9611 |
72
+ | 0.0396 | 4.0745 | 7000 | 0.1740 | 0.5672 | 0.5738 | 0.5705 | 0.9601 |
73
+ | 0.0312 | 4.3655 | 7500 | 0.1776 | 0.5913 | 0.5713 | 0.5812 | 0.9605 |
74
+ | 0.0311 | 4.6566 | 8000 | 0.1723 | 0.5811 | 0.5944 | 0.5877 | 0.9601 |
75
+ | 0.0306 | 4.9476 | 8500 | 0.1793 | 0.5924 | 0.5807 | 0.5865 | 0.9608 |
76
+ | 0.0221 | 5.2386 | 9000 | 0.1898 | 0.5809 | 0.5931 | 0.5870 | 0.9605 |
77
+ | 0.0214 | 5.5297 | 9500 | 0.1910 | 0.5876 | 0.5827 | 0.5852 | 0.9602 |
78
+ | 0.0229 | 5.8207 | 10000 | 0.1947 | 0.5694 | 0.5934 | 0.5811 | 0.9596 |
79
+ | 0.0203 | 6.1118 | 10500 | 0.2044 | 0.6051 | 0.5732 | 0.5887 | 0.9608 |
80
+ | 0.015 | 6.4028 | 11000 | 0.2076 | 0.5915 | 0.5954 | 0.5935 | 0.9606 |
81
+ | 0.0157 | 6.6938 | 11500 | 0.2152 | 0.5937 | 0.5853 | 0.5895 | 0.9603 |
82
+ | 0.0166 | 6.9849 | 12000 | 0.2135 | 0.6049 | 0.5826 | 0.5935 | 0.9606 |
83
+ | 0.0115 | 7.2759 | 12500 | 0.2225 | 0.5847 | 0.5887 | 0.5867 | 0.9599 |
84
+ | 0.0119 | 7.5669 | 13000 | 0.2173 | 0.6006 | 0.5996 | 0.6001 | 0.9606 |
85
+ | 0.0124 | 7.8580 | 13500 | 0.2253 | 0.6116 | 0.5855 | 0.5983 | 0.9613 |
86
+ | 0.0099 | 8.1490 | 14000 | 0.2324 | 0.6004 | 0.5876 | 0.5939 | 0.9613 |
87
+ | 0.0081 | 8.4400 | 14500 | 0.2409 | 0.6121 | 0.5729 | 0.5918 | 0.9611 |
88
+ | 0.0097 | 8.7311 | 15000 | 0.2405 | 0.5896 | 0.5809 | 0.5852 | 0.9600 |
89
+ | 0.0088 | 9.0221 | 15500 | 0.2459 | 0.5980 | 0.5866 | 0.5923 | 0.9609 |
90
+ | 0.0065 | 9.3132 | 16000 | 0.2465 | 0.6075 | 0.5866 | 0.5969 | 0.9612 |
91
+ | 0.0069 | 9.6042 | 16500 | 0.2520 | 0.6127 | 0.5709 | 0.5911 | 0.9609 |
92
+ | 0.0073 | 9.8952 | 17000 | 0.2520 | 0.6088 | 0.5851 | 0.5967 | 0.9613 |
93
+ | 0.0062 | 10.1863 | 17500 | 0.2605 | 0.6225 | 0.5599 | 0.5895 | 0.9608 |
94
+ | 0.0047 | 10.4773 | 18000 | 0.2612 | 0.6002 | 0.5806 | 0.5902 | 0.9607 |
95
+ | 0.0054 | 10.7683 | 18500 | 0.2615 | 0.6137 | 0.5833 | 0.5981 | 0.9611 |
96
+ | 0.0053 | 11.0594 | 19000 | 0.2658 | 0.6199 | 0.5838 | 0.6013 | 0.9614 |
97
+ | 0.0045 | 11.3504 | 19500 | 0.2701 | 0.6195 | 0.5813 | 0.5998 | 0.9615 |
98
+ | 0.0047 | 11.6414 | 20000 | 0.2753 | 0.6101 | 0.5744 | 0.5917 | 0.9610 |
99
+ | 0.004 | 11.9325 | 20500 | 0.2671 | 0.6004 | 0.5898 | 0.5951 | 0.9605 |
100
+ | 0.004 | 12.2235 | 21000 | 0.2692 | 0.6134 | 0.5849 | 0.5988 | 0.9615 |
101
+ | 0.0035 | 12.5146 | 21500 | 0.2752 | 0.6215 | 0.5833 | 0.6018 | 0.9615 |
102
+ | 0.0038 | 12.8056 | 22000 | 0.2782 | 0.6198 | 0.5709 | 0.5944 | 0.9616 |
103
+ | 0.0032 | 13.0966 | 22500 | 0.2833 | 0.6040 | 0.5820 | 0.5928 | 0.9611 |
104
+ | 0.0029 | 13.3877 | 23000 | 0.2855 | 0.6122 | 0.5698 | 0.5902 | 0.9605 |
105
+ | 0.0029 | 13.6787 | 23500 | 0.2882 | 0.6066 | 0.5859 | 0.5961 | 0.9613 |
106
+ | 0.0031 | 13.9697 | 24000 | 0.2927 | 0.6072 | 0.5788 | 0.5927 | 0.9608 |
107
+ | 0.002 | 14.2608 | 24500 | 0.2950 | 0.6220 | 0.5739 | 0.5970 | 0.9613 |
108
+ | 0.0024 | 14.5518 | 25000 | 0.2941 | 0.6104 | 0.5830 | 0.5964 | 0.9612 |
109
+ | 0.0026 | 14.8428 | 25500 | 0.2932 | 0.6181 | 0.5865 | 0.6019 | 0.9617 |
110
+ | 0.002 | 15.1339 | 26000 | 0.3020 | 0.6059 | 0.5827 | 0.5941 | 0.9610 |
111
+ | 0.0019 | 15.4249 | 26500 | 0.3010 | 0.6254 | 0.5807 | 0.6022 | 0.9616 |
112
+ | 0.0024 | 15.7159 | 27000 | 0.3093 | 0.6379 | 0.5563 | 0.5943 | 0.9613 |
113
+ | 0.002 | 16.0070 | 27500 | 0.3038 | 0.5999 | 0.5953 | 0.5976 | 0.9611 |
114
+ | 0.0015 | 16.2980 | 28000 | 0.3101 | 0.6056 | 0.6014 | 0.6035 | 0.9616 |
115
+ | 0.0019 | 16.5891 | 28500 | 0.3110 | 0.6152 | 0.5742 | 0.5940 | 0.9610 |
116
+ | 0.0018 | 16.8801 | 29000 | 0.3143 | 0.6179 | 0.5842 | 0.6006 | 0.9612 |
117
+ | 0.0016 | 17.1711 | 29500 | 0.3179 | 0.6280 | 0.5799 | 0.6030 | 0.9614 |
118
+ | 0.0013 | 17.4622 | 30000 | 0.3202 | 0.6165 | 0.5778 | 0.5966 | 0.9615 |
119
+ | 0.0016 | 17.7532 | 30500 | 0.3185 | 0.6162 | 0.5879 | 0.6017 | 0.9614 |
120
+ | 0.0012 | 18.0442 | 31000 | 0.3236 | 0.6151 | 0.5784 | 0.5962 | 0.9614 |
121
+ | 0.0009 | 18.3353 | 31500 | 0.3210 | 0.6160 | 0.5920 | 0.6037 | 0.9616 |
122
+ | 0.0013 | 18.6263 | 32000 | 0.3265 | 0.6257 | 0.5750 | 0.5992 | 0.9613 |
123
+ | 0.0013 | 18.9173 | 32500 | 0.3219 | 0.6199 | 0.5778 | 0.5981 | 0.9612 |
124
+ | 0.0013 | 19.2084 | 33000 | 0.3215 | 0.6142 | 0.5839 | 0.5987 | 0.9614 |
125
+ | 0.0011 | 19.4994 | 33500 | 0.3180 | 0.6189 | 0.5891 | 0.6036 | 0.9616 |
126
+ | 0.0011 | 19.7905 | 34000 | 0.3217 | 0.6192 | 0.5879 | 0.6032 | 0.9615 |
127
+ | 0.0009 | 20.0815 | 34500 | 0.3240 | 0.6018 | 0.5979 | 0.5998 | 0.9612 |
128
+ | 0.0012 | 20.3725 | 35000 | 0.3250 | 0.6120 | 0.5904 | 0.6010 | 0.9611 |
129
+ | 0.001 | 20.6636 | 35500 | 0.3277 | 0.6196 | 0.5851 | 0.6018 | 0.9615 |
130
+ | 0.0009 | 20.9546 | 36000 | 0.3354 | 0.6251 | 0.5729 | 0.5979 | 0.9614 |
131
+ | 0.0008 | 21.2456 | 36500 | 0.3315 | 0.6177 | 0.5783 | 0.5973 | 0.9613 |
132
+ | 0.0008 | 21.5367 | 37000 | 0.3258 | 0.6185 | 0.5875 | 0.6026 | 0.9617 |
133
+ | 0.0008 | 21.8277 | 37500 | 0.3327 | 0.6236 | 0.5842 | 0.6032 | 0.9619 |
134
+ | 0.0008 | 22.1187 | 38000 | 0.3309 | 0.6071 | 0.6015 | 0.6043 | 0.9614 |
135
+ | 0.0006 | 22.4098 | 38500 | 0.3401 | 0.6302 | 0.5638 | 0.5952 | 0.9613 |
136
+ | 0.0006 | 22.7008 | 39000 | 0.3372 | 0.6285 | 0.5787 | 0.6026 | 0.9617 |
137
+ | 0.0008 | 22.9919 | 39500 | 0.3391 | 0.6189 | 0.5855 | 0.6017 | 0.9615 |
138
+ | 0.0007 | 23.2829 | 40000 | 0.3356 | 0.6190 | 0.5874 | 0.6028 | 0.9619 |
139
+ | 0.0005 | 23.5739 | 40500 | 0.3330 | 0.6222 | 0.5868 | 0.6040 | 0.9620 |
140
+ | 0.0009 | 23.8650 | 41000 | 0.3381 | 0.6156 | 0.5846 | 0.5997 | 0.9610 |
141
+ | 0.0004 | 24.1560 | 41500 | 0.3460 | 0.6298 | 0.5732 | 0.6002 | 0.9614 |
142
+ | 0.0005 | 24.4470 | 42000 | 0.3442 | 0.6215 | 0.5881 | 0.6043 | 0.9615 |
143
+ | 0.0006 | 24.7381 | 42500 | 0.3467 | 0.6240 | 0.5848 | 0.6038 | 0.9617 |
144
+ | 0.0005 | 25.0291 | 43000 | 0.3492 | 0.6307 | 0.5734 | 0.6007 | 0.9615 |
145
+ | 0.0006 | 25.3201 | 43500 | 0.3411 | 0.6287 | 0.5823 | 0.6046 | 0.9619 |
146
+ | 0.0003 | 25.6112 | 44000 | 0.3486 | 0.6342 | 0.5705 | 0.6006 | 0.9616 |
147
+ | 0.0004 | 25.9022 | 44500 | 0.3437 | 0.6257 | 0.5817 | 0.6029 | 0.9614 |
148
+ | 0.0005 | 26.1932 | 45000 | 0.3434 | 0.6152 | 0.5891 | 0.6019 | 0.9614 |
149
+ | 0.0003 | 26.4843 | 45500 | 0.3486 | 0.6239 | 0.5755 | 0.5987 | 0.9612 |
150
+ | 0.0005 | 26.7753 | 46000 | 0.3492 | 0.6083 | 0.5869 | 0.5974 | 0.9613 |
151
+ | 0.0004 | 27.0664 | 46500 | 0.3531 | 0.6198 | 0.5767 | 0.5975 | 0.9612 |
152
+ | 0.0003 | 27.3574 | 47000 | 0.3489 | 0.6178 | 0.5874 | 0.6022 | 0.9613 |
153
+ | 0.0004 | 27.6484 | 47500 | 0.3489 | 0.6184 | 0.5839 | 0.6007 | 0.9612 |
154
+ | 0.0003 | 27.9395 | 48000 | 0.3517 | 0.6191 | 0.5813 | 0.5996 | 0.9613 |
155
+ | 0.0003 | 28.2305 | 48500 | 0.3523 | 0.6227 | 0.5806 | 0.6009 | 0.9614 |
156
+ | 0.0002 | 28.5215 | 49000 | 0.3530 | 0.6225 | 0.5852 | 0.6033 | 0.9615 |
157
+ | 0.0003 | 28.8126 | 49500 | 0.3528 | 0.6234 | 0.5820 | 0.6020 | 0.9614 |
158
+ | 0.0003 | 29.1036 | 50000 | 0.3531 | 0.6205 | 0.5830 | 0.6012 | 0.9613 |
159
+ | 0.0004 | 29.3946 | 50500 | 0.3521 | 0.6202 | 0.5875 | 0.6034 | 0.9614 |
160
+ | 0.0003 | 29.6857 | 51000 | 0.3532 | 0.6219 | 0.5836 | 0.6022 | 0.9613 |
161
+ | 0.0003 | 29.9767 | 51500 | 0.3534 | 0.6234 | 0.5829 | 0.6024 | 0.9614 |
162
+
163
+
164
+ ### Framework versions
165
+
166
+ - Transformers 4.44.2
167
+ - Pytorch 2.1.1+cu121
168
+ - Datasets 2.14.5
169
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/mdeberta-v3-base",
3
+ "architectures": [
4
+ "DebertaV2ForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 384,
10
+ "id2label": {
11
+ "0": "LABEL_0",
12
+ "1": "LABEL_1",
13
+ "2": "LABEL_2",
14
+ "3": "LABEL_3",
15
+ "4": "LABEL_4",
16
+ "5": "LABEL_5",
17
+ "6": "LABEL_6"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 1536,
21
+ "label2id": {
22
+ "LABEL_0": 0,
23
+ "LABEL_1": 1,
24
+ "LABEL_2": 2,
25
+ "LABEL_3": 3,
26
+ "LABEL_4": 4,
27
+ "LABEL_5": 5,
28
+ "LABEL_6": 6
29
+ },
30
+ "layer_norm_eps": 1e-07,
31
+ "max_position_embeddings": 512,
32
+ "max_relative_positions": -1,
33
+ "model_type": "deberta-v2",
34
+ "norm_rel_ebd": "layer_norm",
35
+ "num_attention_heads": 12,
36
+ "num_hidden_layers": 6,
37
+ "pad_token_id": 0,
38
+ "pooler_dropout": 0,
39
+ "pooler_hidden_act": "gelu",
40
+ "pooler_hidden_size": 768,
41
+ "pos_att_type": [
42
+ "p2c",
43
+ "c2p"
44
+ ],
45
+ "position_biased_input": false,
46
+ "position_buckets": 256,
47
+ "relative_attention": true,
48
+ "share_att_key": true,
49
+ "torch_dtype": "float32",
50
+ "transformers_version": "4.44.2",
51
+ "type_vocab_size": 0,
52
+ "vocab_size": 251000
53
+ }
eval_result_ner.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"ceb_gja": {"precision": 0.26262626262626265, "recall": 0.5306122448979592, "f1": 0.35135135135135137, "accuracy": 0.9243243243243243}, "en_pud": {"precision": 0.4958283671036949, "recall": 0.3869767441860465, "f1": 0.4346917450365726, "accuracy": 0.9480071779372875}, "de_pud": {"precision": 0.13062409288824384, "recall": 0.2598652550529355, "f1": 0.17385705086928527, "accuracy": 0.8563124091697529}, "pt_pud": {"precision": 0.5616438356164384, "recall": 0.5222929936305732, "f1": 0.5412541254125414, "accuracy": 0.9589866279318152}, "ru_pud": {"precision": 0.019635343618513323, "recall": 0.06756756756756757, "f1": 0.030428167789610956, "accuracy": 0.6835443037974683}, "sv_pud": {"precision": 0.5087719298245614, "recall": 0.3100097181729835, "f1": 0.38526570048309183, "accuracy": 0.9450094359404487}, "tl_trg": {"precision": 0.24, "recall": 0.5217391304347826, "f1": 0.3287671232876712, "accuracy": 0.9373297002724795}, "tl_ugnayan": {"precision": 0.07228915662650602, "recall": 0.18181818181818182, "f1": 0.10344827586206895, "accuracy": 0.9079307201458523}, "zh_gsd": {"precision": 0.514030612244898, "recall": 0.5254237288135594, "f1": 0.5196647324306899, "accuracy": 0.9395604395604396}, "zh_gsdsimp": {"precision": 0.5470668485675307, "recall": 0.5255570117955439, "f1": 0.536096256684492, "accuracy": 0.9412254412254413}, "hr_set": {"precision": 0.7452135493372607, "recall": 0.7213114754098361, "f1": 0.7330677290836654, "accuracy": 0.968878812860676}, "da_ddt": {"precision": 0.6639344262295082, "recall": 0.5436241610738255, "f1": 0.5977859778597786, "accuracy": 0.9716651701087499}, "en_ewt": {"precision": 0.6045016077170418, "recall": 0.5183823529411765, "f1": 0.5581395348837209, "accuracy": 0.9589592381559549}, "pt_bosque": {"precision": 0.6475195822454308, "recall": 0.6123456790123457, "f1": 0.6294416243654822, "accuracy": 0.9654760179684104}, "sr_set": {"precision": 0.7734741784037559, "recall": 0.7780401416765053, "f1": 0.775750441436139, "accuracy": 0.9681288853865686}, "sk_snk": {"precision": 0.39926062846580407, "recall": 0.2360655737704918, "f1": 0.2967032967032967, "accuracy": 0.9126099246231156}, "sv_talbanken": {"precision": 0.66875, "recall": 0.5459183673469388, "f1": 0.601123595505618, "accuracy": 0.9933748834470236}}
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a125eb45b6785facc1af9620bcd485a18e2ab5cbd2cecad75176e4084d923e4a
3
+ size 428939068
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:333672004eed0873c1d89985318e95a1bd6e486e9a4d2b196ddf4242ec1bd539
3
+ size 5304