NeverLearn
commited on
Commit
•
e1ea729
1
Parent(s):
f8ec979
End of training
Browse files- README.md +92 -0
- config.json +162 -2
- model.safetensors +2 -2
- training_args.bin +1 -1
README.md
ADDED
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: distilbert-base-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- maccrobat_biomedical_ner
|
8 |
+
metrics:
|
9 |
+
- precision
|
10 |
+
- recall
|
11 |
+
- f1
|
12 |
+
- accuracy
|
13 |
+
model-index:
|
14 |
+
- name: distilbert-base-uncased-finetuned-ner
|
15 |
+
results:
|
16 |
+
- task:
|
17 |
+
name: Token Classification
|
18 |
+
type: token-classification
|
19 |
+
dataset:
|
20 |
+
name: maccrobat_biomedical_ner
|
21 |
+
type: maccrobat_biomedical_ner
|
22 |
+
config: default
|
23 |
+
split: train
|
24 |
+
args: default
|
25 |
+
metrics:
|
26 |
+
- name: Precision
|
27 |
+
type: precision
|
28 |
+
value: 0.438385803326849
|
29 |
+
- name: Recall
|
30 |
+
type: recall
|
31 |
+
value: 0.38719800834531365
|
32 |
+
- name: F1
|
33 |
+
type: f1
|
34 |
+
value: 0.4112050346317122
|
35 |
+
- name: Accuracy
|
36 |
+
type: accuracy
|
37 |
+
value: 0.6079383357712697
|
38 |
+
---
|
39 |
+
|
40 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
41 |
+
should probably proofread and complete it, then remove this comment. -->
|
42 |
+
|
43 |
+
# distilbert-base-uncased-finetuned-ner
|
44 |
+
|
45 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the maccrobat_biomedical_ner dataset.
|
46 |
+
It achieves the following results on the evaluation set:
|
47 |
+
- Loss: 1.6396
|
48 |
+
- Precision: 0.4384
|
49 |
+
- Recall: 0.3872
|
50 |
+
- F1: 0.4112
|
51 |
+
- Accuracy: 0.6079
|
52 |
+
|
53 |
+
## Model description
|
54 |
+
|
55 |
+
More information needed
|
56 |
+
|
57 |
+
## Intended uses & limitations
|
58 |
+
|
59 |
+
More information needed
|
60 |
+
|
61 |
+
## Training and evaluation data
|
62 |
+
|
63 |
+
More information needed
|
64 |
+
|
65 |
+
## Training procedure
|
66 |
+
|
67 |
+
### Training hyperparameters
|
68 |
+
|
69 |
+
The following hyperparameters were used during training:
|
70 |
+
- learning_rate: 2e-05
|
71 |
+
- train_batch_size: 16
|
72 |
+
- eval_batch_size: 16
|
73 |
+
- seed: 42
|
74 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
75 |
+
- lr_scheduler_type: linear
|
76 |
+
- num_epochs: 3
|
77 |
+
|
78 |
+
### Training results
|
79 |
+
|
80 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
81 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
82 |
+
| No log | 1.0 | 13 | 1.8288 | 0.3215 | 0.2593 | 0.2871 | 0.5356 |
|
83 |
+
| No log | 2.0 | 26 | 1.6907 | 0.3988 | 0.3448 | 0.3698 | 0.5838 |
|
84 |
+
| No log | 3.0 | 39 | 1.6396 | 0.4384 | 0.3872 | 0.4112 | 0.6079 |
|
85 |
+
|
86 |
+
|
87 |
+
### Framework versions
|
88 |
+
|
89 |
+
- Transformers 4.39.3
|
90 |
+
- Pytorch 2.2.1
|
91 |
+
- Datasets 2.18.0
|
92 |
+
- Tokenizers 0.15.2
|
config.json
CHANGED
@@ -11,13 +11,173 @@
|
|
11 |
"id2label": {
|
12 |
"0": "LABEL_0",
|
13 |
"1": "LABEL_1",
|
14 |
-
"2": "LABEL_2"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
},
|
16 |
"initializer_range": 0.02,
|
17 |
"label2id": {
|
18 |
"LABEL_0": 0,
|
19 |
"LABEL_1": 1,
|
20 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
},
|
22 |
"max_position_embeddings": 512,
|
23 |
"model_type": "distilbert",
|
|
|
11 |
"id2label": {
|
12 |
"0": "LABEL_0",
|
13 |
"1": "LABEL_1",
|
14 |
+
"2": "LABEL_2",
|
15 |
+
"3": "LABEL_3",
|
16 |
+
"4": "LABEL_4",
|
17 |
+
"5": "LABEL_5",
|
18 |
+
"6": "LABEL_6",
|
19 |
+
"7": "LABEL_7",
|
20 |
+
"8": "LABEL_8",
|
21 |
+
"9": "LABEL_9",
|
22 |
+
"10": "LABEL_10",
|
23 |
+
"11": "LABEL_11",
|
24 |
+
"12": "LABEL_12",
|
25 |
+
"13": "LABEL_13",
|
26 |
+
"14": "LABEL_14",
|
27 |
+
"15": "LABEL_15",
|
28 |
+
"16": "LABEL_16",
|
29 |
+
"17": "LABEL_17",
|
30 |
+
"18": "LABEL_18",
|
31 |
+
"19": "LABEL_19",
|
32 |
+
"20": "LABEL_20",
|
33 |
+
"21": "LABEL_21",
|
34 |
+
"22": "LABEL_22",
|
35 |
+
"23": "LABEL_23",
|
36 |
+
"24": "LABEL_24",
|
37 |
+
"25": "LABEL_25",
|
38 |
+
"26": "LABEL_26",
|
39 |
+
"27": "LABEL_27",
|
40 |
+
"28": "LABEL_28",
|
41 |
+
"29": "LABEL_29",
|
42 |
+
"30": "LABEL_30",
|
43 |
+
"31": "LABEL_31",
|
44 |
+
"32": "LABEL_32",
|
45 |
+
"33": "LABEL_33",
|
46 |
+
"34": "LABEL_34",
|
47 |
+
"35": "LABEL_35",
|
48 |
+
"36": "LABEL_36",
|
49 |
+
"37": "LABEL_37",
|
50 |
+
"38": "LABEL_38",
|
51 |
+
"39": "LABEL_39",
|
52 |
+
"40": "LABEL_40",
|
53 |
+
"41": "LABEL_41",
|
54 |
+
"42": "LABEL_42",
|
55 |
+
"43": "LABEL_43",
|
56 |
+
"44": "LABEL_44",
|
57 |
+
"45": "LABEL_45",
|
58 |
+
"46": "LABEL_46",
|
59 |
+
"47": "LABEL_47",
|
60 |
+
"48": "LABEL_48",
|
61 |
+
"49": "LABEL_49",
|
62 |
+
"50": "LABEL_50",
|
63 |
+
"51": "LABEL_51",
|
64 |
+
"52": "LABEL_52",
|
65 |
+
"53": "LABEL_53",
|
66 |
+
"54": "LABEL_54",
|
67 |
+
"55": "LABEL_55",
|
68 |
+
"56": "LABEL_56",
|
69 |
+
"57": "LABEL_57",
|
70 |
+
"58": "LABEL_58",
|
71 |
+
"59": "LABEL_59",
|
72 |
+
"60": "LABEL_60",
|
73 |
+
"61": "LABEL_61",
|
74 |
+
"62": "LABEL_62",
|
75 |
+
"63": "LABEL_63",
|
76 |
+
"64": "LABEL_64",
|
77 |
+
"65": "LABEL_65",
|
78 |
+
"66": "LABEL_66",
|
79 |
+
"67": "LABEL_67",
|
80 |
+
"68": "LABEL_68",
|
81 |
+
"69": "LABEL_69",
|
82 |
+
"70": "LABEL_70",
|
83 |
+
"71": "LABEL_71",
|
84 |
+
"72": "LABEL_72",
|
85 |
+
"73": "LABEL_73",
|
86 |
+
"74": "LABEL_74",
|
87 |
+
"75": "LABEL_75",
|
88 |
+
"76": "LABEL_76",
|
89 |
+
"77": "LABEL_77",
|
90 |
+
"78": "LABEL_78",
|
91 |
+
"79": "LABEL_79",
|
92 |
+
"80": "LABEL_80",
|
93 |
+
"81": "LABEL_81",
|
94 |
+
"82": "LABEL_82"
|
95 |
},
|
96 |
"initializer_range": 0.02,
|
97 |
"label2id": {
|
98 |
"LABEL_0": 0,
|
99 |
"LABEL_1": 1,
|
100 |
+
"LABEL_10": 10,
|
101 |
+
"LABEL_11": 11,
|
102 |
+
"LABEL_12": 12,
|
103 |
+
"LABEL_13": 13,
|
104 |
+
"LABEL_14": 14,
|
105 |
+
"LABEL_15": 15,
|
106 |
+
"LABEL_16": 16,
|
107 |
+
"LABEL_17": 17,
|
108 |
+
"LABEL_18": 18,
|
109 |
+
"LABEL_19": 19,
|
110 |
+
"LABEL_2": 2,
|
111 |
+
"LABEL_20": 20,
|
112 |
+
"LABEL_21": 21,
|
113 |
+
"LABEL_22": 22,
|
114 |
+
"LABEL_23": 23,
|
115 |
+
"LABEL_24": 24,
|
116 |
+
"LABEL_25": 25,
|
117 |
+
"LABEL_26": 26,
|
118 |
+
"LABEL_27": 27,
|
119 |
+
"LABEL_28": 28,
|
120 |
+
"LABEL_29": 29,
|
121 |
+
"LABEL_3": 3,
|
122 |
+
"LABEL_30": 30,
|
123 |
+
"LABEL_31": 31,
|
124 |
+
"LABEL_32": 32,
|
125 |
+
"LABEL_33": 33,
|
126 |
+
"LABEL_34": 34,
|
127 |
+
"LABEL_35": 35,
|
128 |
+
"LABEL_36": 36,
|
129 |
+
"LABEL_37": 37,
|
130 |
+
"LABEL_38": 38,
|
131 |
+
"LABEL_39": 39,
|
132 |
+
"LABEL_4": 4,
|
133 |
+
"LABEL_40": 40,
|
134 |
+
"LABEL_41": 41,
|
135 |
+
"LABEL_42": 42,
|
136 |
+
"LABEL_43": 43,
|
137 |
+
"LABEL_44": 44,
|
138 |
+
"LABEL_45": 45,
|
139 |
+
"LABEL_46": 46,
|
140 |
+
"LABEL_47": 47,
|
141 |
+
"LABEL_48": 48,
|
142 |
+
"LABEL_49": 49,
|
143 |
+
"LABEL_5": 5,
|
144 |
+
"LABEL_50": 50,
|
145 |
+
"LABEL_51": 51,
|
146 |
+
"LABEL_52": 52,
|
147 |
+
"LABEL_53": 53,
|
148 |
+
"LABEL_54": 54,
|
149 |
+
"LABEL_55": 55,
|
150 |
+
"LABEL_56": 56,
|
151 |
+
"LABEL_57": 57,
|
152 |
+
"LABEL_58": 58,
|
153 |
+
"LABEL_59": 59,
|
154 |
+
"LABEL_6": 6,
|
155 |
+
"LABEL_60": 60,
|
156 |
+
"LABEL_61": 61,
|
157 |
+
"LABEL_62": 62,
|
158 |
+
"LABEL_63": 63,
|
159 |
+
"LABEL_64": 64,
|
160 |
+
"LABEL_65": 65,
|
161 |
+
"LABEL_66": 66,
|
162 |
+
"LABEL_67": 67,
|
163 |
+
"LABEL_68": 68,
|
164 |
+
"LABEL_69": 69,
|
165 |
+
"LABEL_7": 7,
|
166 |
+
"LABEL_70": 70,
|
167 |
+
"LABEL_71": 71,
|
168 |
+
"LABEL_72": 72,
|
169 |
+
"LABEL_73": 73,
|
170 |
+
"LABEL_74": 74,
|
171 |
+
"LABEL_75": 75,
|
172 |
+
"LABEL_76": 76,
|
173 |
+
"LABEL_77": 77,
|
174 |
+
"LABEL_78": 78,
|
175 |
+
"LABEL_79": 79,
|
176 |
+
"LABEL_8": 8,
|
177 |
+
"LABEL_80": 80,
|
178 |
+
"LABEL_81": 81,
|
179 |
+
"LABEL_82": 82,
|
180 |
+
"LABEL_9": 9
|
181 |
},
|
182 |
"max_position_embeddings": 512,
|
183 |
"model_type": "distilbert",
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cda9460cd08ef9cd4915822cce59f566649e49d867530efc81a8fa5610f0f651
|
3 |
+
size 265719180
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4920
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:85db3fb44bdddd83bbf2c87120539eda647ad9e00436a1fb383ff6d4b986ce47
|
3 |
size 4920
|