thanhdath commited on
Commit
2dcdbf2
1 Parent(s): 3a4c961

End of training

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: microsoft/Multilingual-MiniLM-L12-H384
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ - f1
10
+ - accuracy
11
+ model-index:
12
+ - name: ner-coin-v2
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # ner-coin-v2
20
+
21
+ This model is a fine-tuned version of [microsoft/Multilingual-MiniLM-L12-H384](https://huggingface.co/microsoft/Multilingual-MiniLM-L12-H384) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.0182
24
+ - Precision: 0.9837
25
+ - Recall: 0.9947
26
+ - F1: 0.9892
27
+ - Accuracy: 0.9971
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 5e-05
47
+ - train_batch_size: 64
48
+ - eval_batch_size: 64
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 100
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
+ | No log | 1.0 | 51 | 0.2140 | 0.7507 | 0.8582 | 0.8008 | 0.9790 |
59
+ | No log | 2.0 | 102 | 0.1401 | 0.9631 | 0.9790 | 0.9710 | 0.9936 |
60
+ | No log | 3.0 | 153 | 0.1071 | 0.9710 | 0.9790 | 0.9750 | 0.9945 |
61
+ | No log | 4.0 | 204 | 0.0852 | 0.9676 | 0.9857 | 0.9766 | 0.9948 |
62
+ | No log | 5.0 | 255 | 0.0712 | 0.9741 | 0.9880 | 0.9810 | 0.9953 |
63
+ | No log | 6.0 | 306 | 0.0586 | 0.9842 | 0.9820 | 0.9831 | 0.9962 |
64
+ | No log | 7.0 | 357 | 0.0514 | 0.9799 | 0.9865 | 0.9832 | 0.9960 |
65
+ | No log | 8.0 | 408 | 0.0472 | 0.9778 | 0.9895 | 0.9836 | 0.9957 |
66
+ | No log | 9.0 | 459 | 0.0428 | 0.9749 | 0.9895 | 0.9821 | 0.9956 |
67
+ | 0.1133 | 10.0 | 510 | 0.0393 | 0.9864 | 0.9782 | 0.9823 | 0.9956 |
68
+ | 0.1133 | 11.0 | 561 | 0.0342 | 0.9828 | 0.9857 | 0.9843 | 0.9959 |
69
+ | 0.1133 | 12.0 | 612 | 0.0307 | 0.9806 | 0.9880 | 0.9843 | 0.9964 |
70
+ | 0.1133 | 13.0 | 663 | 0.0302 | 0.9748 | 0.9880 | 0.9814 | 0.9956 |
71
+ | 0.1133 | 14.0 | 714 | 0.0295 | 0.9677 | 0.9895 | 0.9785 | 0.9948 |
72
+ | 0.1133 | 15.0 | 765 | 0.0256 | 0.9828 | 0.9872 | 0.9850 | 0.9964 |
73
+ | 0.1133 | 16.0 | 816 | 0.0295 | 0.9601 | 0.9932 | 0.9764 | 0.9939 |
74
+ | 0.1133 | 17.0 | 867 | 0.0252 | 0.9784 | 0.9865 | 0.9824 | 0.9958 |
75
+ | 0.1133 | 18.0 | 918 | 0.0289 | 0.9819 | 0.9775 | 0.9797 | 0.9948 |
76
+ | 0.1133 | 19.0 | 969 | 0.0248 | 0.9798 | 0.9842 | 0.9820 | 0.9954 |
77
+ | 0.0217 | 20.0 | 1020 | 0.0254 | 0.9741 | 0.9880 | 0.9810 | 0.9950 |
78
+ | 0.0217 | 21.0 | 1071 | 0.0219 | 0.9749 | 0.9902 | 0.9825 | 0.9956 |
79
+ | 0.0217 | 22.0 | 1122 | 0.0240 | 0.9770 | 0.9887 | 0.9828 | 0.9955 |
80
+ | 0.0217 | 23.0 | 1173 | 0.0226 | 0.9807 | 0.9887 | 0.9847 | 0.9958 |
81
+ | 0.0217 | 24.0 | 1224 | 0.0209 | 0.9756 | 0.9910 | 0.9833 | 0.9957 |
82
+ | 0.0217 | 25.0 | 1275 | 0.0203 | 0.9822 | 0.9917 | 0.9869 | 0.9963 |
83
+ | 0.0217 | 26.0 | 1326 | 0.0231 | 0.9727 | 0.9902 | 0.9814 | 0.9950 |
84
+ | 0.0217 | 27.0 | 1377 | 0.0204 | 0.9778 | 0.9895 | 0.9836 | 0.9958 |
85
+ | 0.0217 | 28.0 | 1428 | 0.0196 | 0.9771 | 0.9917 | 0.9844 | 0.9962 |
86
+ | 0.0217 | 29.0 | 1479 | 0.0206 | 0.9757 | 0.9932 | 0.9844 | 0.9957 |
87
+ | 0.0097 | 30.0 | 1530 | 0.0217 | 0.9757 | 0.9955 | 0.9855 | 0.9959 |
88
+ | 0.0097 | 31.0 | 1581 | 0.0192 | 0.9843 | 0.9872 | 0.9858 | 0.9962 |
89
+ | 0.0097 | 32.0 | 1632 | 0.0189 | 0.9844 | 0.9910 | 0.9877 | 0.9964 |
90
+ | 0.0097 | 33.0 | 1683 | 0.0174 | 0.9844 | 0.9925 | 0.9884 | 0.9966 |
91
+ | 0.0097 | 34.0 | 1734 | 0.0183 | 0.9836 | 0.9910 | 0.9873 | 0.9966 |
92
+ | 0.0097 | 35.0 | 1785 | 0.0189 | 0.9785 | 0.9917 | 0.9851 | 0.9964 |
93
+ | 0.0097 | 36.0 | 1836 | 0.0202 | 0.9757 | 0.9940 | 0.9848 | 0.9960 |
94
+ | 0.0097 | 37.0 | 1887 | 0.0203 | 0.9770 | 0.9880 | 0.9825 | 0.9957 |
95
+ | 0.0097 | 38.0 | 1938 | 0.0189 | 0.9778 | 0.9932 | 0.9855 | 0.9962 |
96
+ | 0.0097 | 39.0 | 1989 | 0.0169 | 0.9836 | 0.9895 | 0.9865 | 0.9966 |
97
+ | 0.0055 | 40.0 | 2040 | 0.0183 | 0.9778 | 0.9917 | 0.9847 | 0.9961 |
98
+ | 0.0055 | 41.0 | 2091 | 0.0159 | 0.9866 | 0.9910 | 0.9888 | 0.9968 |
99
+ | 0.0055 | 42.0 | 2142 | 0.0175 | 0.9778 | 0.9917 | 0.9847 | 0.9962 |
100
+ | 0.0055 | 43.0 | 2193 | 0.0153 | 0.9829 | 0.9940 | 0.9884 | 0.9969 |
101
+ | 0.0055 | 44.0 | 2244 | 0.0170 | 0.9778 | 0.9925 | 0.9851 | 0.9963 |
102
+ | 0.0055 | 45.0 | 2295 | 0.0184 | 0.9750 | 0.9940 | 0.9844 | 0.9962 |
103
+ | 0.0055 | 46.0 | 2346 | 0.0172 | 0.9786 | 0.9940 | 0.9862 | 0.9964 |
104
+ | 0.0055 | 47.0 | 2397 | 0.0174 | 0.9779 | 0.9947 | 0.9862 | 0.9965 |
105
+ | 0.0055 | 48.0 | 2448 | 0.0169 | 0.9778 | 0.9910 | 0.9844 | 0.9962 |
106
+ | 0.0055 | 49.0 | 2499 | 0.0193 | 0.9701 | 0.9962 | 0.9830 | 0.9958 |
107
+ | 0.0035 | 50.0 | 2550 | 0.0163 | 0.9792 | 0.9910 | 0.9851 | 0.9963 |
108
+ | 0.0035 | 51.0 | 2601 | 0.0173 | 0.9771 | 0.9925 | 0.9847 | 0.9960 |
109
+ | 0.0035 | 52.0 | 2652 | 0.0164 | 0.9829 | 0.9932 | 0.9881 | 0.9966 |
110
+ | 0.0035 | 53.0 | 2703 | 0.0177 | 0.9757 | 0.9955 | 0.9855 | 0.9961 |
111
+ | 0.0035 | 54.0 | 2754 | 0.0164 | 0.9815 | 0.9932 | 0.9873 | 0.9965 |
112
+ | 0.0035 | 55.0 | 2805 | 0.0171 | 0.9793 | 0.9947 | 0.9870 | 0.9966 |
113
+ | 0.0035 | 56.0 | 2856 | 0.0175 | 0.98 | 0.9925 | 0.9862 | 0.9966 |
114
+ | 0.0035 | 57.0 | 2907 | 0.0167 | 0.9801 | 0.9955 | 0.9877 | 0.9966 |
115
+ | 0.0035 | 58.0 | 2958 | 0.0168 | 0.9880 | 0.9887 | 0.9884 | 0.9966 |
116
+ | 0.0025 | 59.0 | 3009 | 0.0174 | 0.9858 | 0.9917 | 0.9888 | 0.9969 |
117
+ | 0.0025 | 60.0 | 3060 | 0.0153 | 0.9837 | 0.9940 | 0.9888 | 0.9970 |
118
+ | 0.0025 | 61.0 | 3111 | 0.0165 | 0.9829 | 0.9932 | 0.9881 | 0.9968 |
119
+ | 0.0025 | 62.0 | 3162 | 0.0150 | 0.9881 | 0.9925 | 0.9903 | 0.9971 |
120
+ | 0.0025 | 63.0 | 3213 | 0.0156 | 0.9851 | 0.9947 | 0.9899 | 0.9972 |
121
+ | 0.0025 | 64.0 | 3264 | 0.0147 | 0.9873 | 0.9940 | 0.9907 | 0.9974 |
122
+ | 0.0025 | 65.0 | 3315 | 0.0169 | 0.9815 | 0.9947 | 0.9881 | 0.9967 |
123
+ | 0.0025 | 66.0 | 3366 | 0.0186 | 0.9786 | 0.9962 | 0.9874 | 0.9964 |
124
+ | 0.0025 | 67.0 | 3417 | 0.0171 | 0.9815 | 0.9940 | 0.9877 | 0.9967 |
125
+ | 0.0025 | 68.0 | 3468 | 0.0164 | 0.9822 | 0.9932 | 0.9877 | 0.9966 |
126
+ | 0.0021 | 69.0 | 3519 | 0.0161 | 0.9829 | 0.9932 | 0.9881 | 0.9968 |
127
+ | 0.0021 | 70.0 | 3570 | 0.0156 | 0.9858 | 0.9925 | 0.9892 | 0.9970 |
128
+ | 0.0021 | 71.0 | 3621 | 0.0163 | 0.9815 | 0.9947 | 0.9881 | 0.9967 |
129
+ | 0.0021 | 72.0 | 3672 | 0.0166 | 0.9837 | 0.9947 | 0.9892 | 0.9970 |
130
+ | 0.0021 | 73.0 | 3723 | 0.0161 | 0.9866 | 0.9925 | 0.9895 | 0.9970 |
131
+ | 0.0021 | 74.0 | 3774 | 0.0165 | 0.9837 | 0.9947 | 0.9892 | 0.9970 |
132
+ | 0.0021 | 75.0 | 3825 | 0.0165 | 0.9859 | 0.9947 | 0.9903 | 0.9972 |
133
+ | 0.0021 | 76.0 | 3876 | 0.0170 | 0.9830 | 0.9947 | 0.9888 | 0.9969 |
134
+ | 0.0021 | 77.0 | 3927 | 0.0171 | 0.9844 | 0.9947 | 0.9896 | 0.9971 |
135
+ | 0.0021 | 78.0 | 3978 | 0.0179 | 0.9815 | 0.9947 | 0.9881 | 0.9967 |
136
+ | 0.0016 | 79.0 | 4029 | 0.0170 | 0.9851 | 0.9947 | 0.9899 | 0.9971 |
137
+ | 0.0016 | 80.0 | 4080 | 0.0170 | 0.9851 | 0.9947 | 0.9899 | 0.9971 |
138
+ | 0.0016 | 81.0 | 4131 | 0.0186 | 0.9779 | 0.9955 | 0.9866 | 0.9963 |
139
+ | 0.0016 | 82.0 | 4182 | 0.0179 | 0.9822 | 0.9947 | 0.9884 | 0.9968 |
140
+ | 0.0016 | 83.0 | 4233 | 0.0177 | 0.9822 | 0.9947 | 0.9884 | 0.9968 |
141
+ | 0.0016 | 84.0 | 4284 | 0.0177 | 0.9822 | 0.9947 | 0.9884 | 0.9968 |
142
+ | 0.0016 | 85.0 | 4335 | 0.0176 | 0.9830 | 0.9947 | 0.9888 | 0.9969 |
143
+ | 0.0016 | 86.0 | 4386 | 0.0182 | 0.9822 | 0.9947 | 0.9884 | 0.9968 |
144
+ | 0.0016 | 87.0 | 4437 | 0.0173 | 0.9851 | 0.9947 | 0.9899 | 0.9971 |
145
+ | 0.0016 | 88.0 | 4488 | 0.0179 | 0.9808 | 0.9947 | 0.9877 | 0.9966 |
146
+ | 0.0015 | 89.0 | 4539 | 0.0176 | 0.9837 | 0.9947 | 0.9892 | 0.9970 |
147
+ | 0.0015 | 90.0 | 4590 | 0.0181 | 0.9837 | 0.9947 | 0.9892 | 0.9970 |
148
+ | 0.0015 | 91.0 | 4641 | 0.0183 | 0.9837 | 0.9947 | 0.9892 | 0.9970 |
149
+ | 0.0015 | 92.0 | 4692 | 0.0183 | 0.9844 | 0.9947 | 0.9896 | 0.9971 |
150
+ | 0.0015 | 93.0 | 4743 | 0.0188 | 0.9837 | 0.9947 | 0.9892 | 0.9969 |
151
+ | 0.0015 | 94.0 | 4794 | 0.0189 | 0.9837 | 0.9947 | 0.9892 | 0.9969 |
152
+ | 0.0015 | 95.0 | 4845 | 0.0186 | 0.9837 | 0.9947 | 0.9892 | 0.9969 |
153
+ | 0.0015 | 96.0 | 4896 | 0.0180 | 0.9837 | 0.9947 | 0.9892 | 0.9971 |
154
+ | 0.0015 | 97.0 | 4947 | 0.0181 | 0.9837 | 0.9947 | 0.9892 | 0.9970 |
155
+ | 0.0015 | 98.0 | 4998 | 0.0182 | 0.9837 | 0.9947 | 0.9892 | 0.9970 |
156
+ | 0.0013 | 99.0 | 5049 | 0.0182 | 0.9837 | 0.9947 | 0.9892 | 0.9971 |
157
+ | 0.0013 | 100.0 | 5100 | 0.0182 | 0.9837 | 0.9947 | 0.9892 | 0.9971 |
158
+
159
+
160
+ ### Framework versions
161
+
162
+ - Transformers 4.40.2
163
+ - Pytorch 2.1.0+cu121
164
+ - Datasets 2.14.5
165
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/Multilingual-MiniLM-L12-H384",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "finetuning_task": "ner",
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 384,
12
+ "id2label": {
13
+ "0": "O",
14
+ "1": "I-COIN",
15
+ "2": "B-COIN"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 1536,
19
+ "label2id": {
20
+ "B-COIN": 2,
21
+ "I-COIN": 1,
22
+ "O": 0
23
+ },
24
+ "layer_norm_eps": 1e-12,
25
+ "max_position_embeddings": 512,
26
+ "model_type": "bert",
27
+ "num_attention_heads": 12,
28
+ "num_hidden_layers": 12,
29
+ "pad_token_id": 0,
30
+ "position_embedding_type": "absolute",
31
+ "tokenizer_class": "XLMRobertaTokenizer",
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.40.2",
34
+ "type_vocab_size": 2,
35
+ "use_cache": true,
36
+ "vocab_size": 250037
37
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d90635090e7911c6a2e8b17fe84ca3844218f50d85ecc9fdc2c6fc577e523799
3
+ size 470051652
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
3
+ size 5069051
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b74659c780d49afad7a7b9799868f75cbd3014fb6c34956e85a793028d38094a
3
+ size 17098251
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "250001": {
36
+ "content": "<mask>",
37
+ "lstrip": true,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "<s>",
45
+ "clean_up_tokenization_spaces": true,
46
+ "cls_token": "<s>",
47
+ "eos_token": "</s>",
48
+ "mask_token": "<mask>",
49
+ "model_max_length": 1000000000000000019884624838656,
50
+ "pad_token": "<pad>",
51
+ "sep_token": "</s>",
52
+ "sp_model_kwargs": {},
53
+ "tokenizer_class": "XLMRobertaTokenizer",
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:79a5d9d371236acdd673b0daf320aadfc499dd5615060dfefde91cfe7d33e2e0
3
+ size 4984