Training complete
Browse files
README.md
CHANGED
@@ -18,8 +18,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
18 |
|
19 |
This model is a fine-tuned version of [d4data/biomedical-ner-all](https://huggingface.co/d4data/biomedical-ner-all) on an unknown dataset.
|
20 |
It achieves the following results on the evaluation set:
|
21 |
-
- Loss: 0.
|
22 |
-
- Accuracy: 0.
|
23 |
|
24 |
## Model description
|
25 |
|
@@ -42,7 +42,7 @@ The following hyperparameters were used during training:
|
|
42 |
- train_batch_size: 16
|
43 |
- eval_batch_size: 16
|
44 |
- seed: 42
|
45 |
-
- optimizer: Use
|
46 |
- lr_scheduler_type: linear
|
47 |
- num_epochs: 20
|
48 |
|
@@ -50,31 +50,31 @@ The following hyperparameters were used during training:
|
|
50 |
|
51 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
52 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
53 |
-
| 2.
|
54 |
-
| 1.
|
55 |
-
| 0.
|
56 |
-
| 0.
|
57 |
-
| 0.
|
58 |
-
| 0.
|
59 |
-
| 0.
|
60 |
-
| 0.
|
61 |
-
| 0.
|
62 |
-
| 0.
|
63 |
-
| 0.
|
64 |
-
| 0.
|
65 |
-
| 0.
|
66 |
-
| 0.
|
67 |
-
| 0.
|
68 |
-
| 0.
|
69 |
-
| 0.
|
70 |
-
| 0.
|
71 |
-
| 0.
|
72 |
-
| 0.
|
73 |
|
74 |
|
75 |
### Framework versions
|
76 |
|
77 |
- Transformers 4.47.1
|
78 |
-
- Pytorch 2.5.1+
|
79 |
- Datasets 3.2.0
|
80 |
- Tokenizers 0.21.0
|
|
|
18 |
|
19 |
This model is a fine-tuned version of [d4data/biomedical-ner-all](https://huggingface.co/d4data/biomedical-ner-all) on an unknown dataset.
|
20 |
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.6342
|
22 |
+
- Accuracy: 0.7903
|
23 |
|
24 |
## Model description
|
25 |
|
|
|
42 |
- train_batch_size: 16
|
43 |
- eval_batch_size: 16
|
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: 20
|
48 |
|
|
|
50 |
|
51 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
52 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
53 |
+
| 2.5437 | 1.0 | 10 | 1.6009 | 0.3671 |
|
54 |
+
| 1.3262 | 2.0 | 20 | 0.9660 | 0.6254 |
|
55 |
+
| 0.8675 | 3.0 | 30 | 0.7436 | 0.7145 |
|
56 |
+
| 0.6199 | 4.0 | 40 | 0.6544 | 0.7385 |
|
57 |
+
| 0.4707 | 5.0 | 50 | 0.6131 | 0.7660 |
|
58 |
+
| 0.3735 | 6.0 | 60 | 0.6027 | 0.7709 |
|
59 |
+
| 0.3049 | 7.0 | 70 | 0.6056 | 0.7786 |
|
60 |
+
| 0.2507 | 8.0 | 80 | 0.5992 | 0.7792 |
|
61 |
+
| 0.2144 | 9.0 | 90 | 0.6115 | 0.7780 |
|
62 |
+
| 0.1801 | 10.0 | 100 | 0.6062 | 0.7863 |
|
63 |
+
| 0.1539 | 11.0 | 110 | 0.6101 | 0.7854 |
|
64 |
+
| 0.1372 | 12.0 | 120 | 0.6157 | 0.7892 |
|
65 |
+
| 0.1234 | 13.0 | 130 | 0.6269 | 0.7896 |
|
66 |
+
| 0.1119 | 14.0 | 140 | 0.6285 | 0.7881 |
|
67 |
+
| 0.1025 | 15.0 | 150 | 0.6364 | 0.7879 |
|
68 |
+
| 0.0945 | 16.0 | 160 | 0.6326 | 0.7896 |
|
69 |
+
| 0.09 | 17.0 | 170 | 0.6297 | 0.7916 |
|
70 |
+
| 0.0861 | 18.0 | 180 | 0.6318 | 0.7908 |
|
71 |
+
| 0.083 | 19.0 | 190 | 0.6317 | 0.7901 |
|
72 |
+
| 0.0817 | 20.0 | 200 | 0.6342 | 0.7903 |
|
73 |
|
74 |
|
75 |
### Framework versions
|
76 |
|
77 |
- Transformers 4.47.1
|
78 |
+
- Pytorch 2.5.1+cu121
|
79 |
- Datasets 3.2.0
|
80 |
- Tokenizers 0.21.0
|
config.json
CHANGED
@@ -12,171 +12,171 @@
|
|
12 |
"0": "O",
|
13 |
"1": "B-Age",
|
14 |
"2": "I-Age",
|
15 |
-
"3": "B-
|
16 |
-
"4": "I-
|
17 |
-
"5": "B-
|
18 |
-
"6": "
|
19 |
-
"7": "B-
|
20 |
-
"8": "
|
21 |
-
"9": "
|
22 |
-
"10": "
|
23 |
-
"11": "
|
24 |
-
"12": "B-
|
25 |
-
"13": "I-
|
26 |
-
"14": "
|
27 |
-
"15": "
|
28 |
-
"16": "B-
|
29 |
-
"17": "I-
|
30 |
-
"18": "B-
|
31 |
-
"19": "I-
|
32 |
-
"20": "B-
|
33 |
-
"21": "
|
34 |
-
"22": "
|
35 |
-
"23": "
|
36 |
-
"24": "
|
37 |
-
"25": "
|
38 |
-
"26": "I-
|
39 |
-
"27": "B-
|
40 |
-
"28": "I-
|
41 |
-
"29": "
|
42 |
-
"30": "B-
|
43 |
-
"31": "I-
|
44 |
-
"32": "B-
|
45 |
-
"33": "B-
|
46 |
-
"34": "I-
|
47 |
-
"35": "B-
|
48 |
-
"36": "I-
|
49 |
-
"37": "
|
50 |
-
"38": "
|
51 |
-
"39": "
|
52 |
-
"40": "
|
53 |
-
"41": "
|
54 |
-
"42": "
|
55 |
-
"43": "
|
56 |
-
"44": "B-
|
57 |
-
"45": "I-
|
58 |
-
"46": "
|
59 |
-
"47": "
|
60 |
-
"48": "
|
61 |
-
"49": "
|
62 |
-
"50": "
|
63 |
-
"51": "
|
64 |
-
"52": "
|
65 |
-
"53": "
|
66 |
-
"54": "
|
67 |
-
"55": "
|
68 |
-
"56": "
|
69 |
-
"57": "
|
70 |
-
"58": "
|
71 |
-
"59": "B-
|
72 |
-
"60": "I-
|
73 |
-
"61": "
|
74 |
-
"62": "
|
75 |
-
"63": "B-
|
76 |
-
"64": "I-
|
77 |
-
"65": "
|
78 |
-
"66": "
|
79 |
-
"67": "
|
80 |
"68": "I-Subject",
|
81 |
-
"69": "B-
|
82 |
-
"70": "I-
|
83 |
-
"71": "B-
|
84 |
-
"72": "I-
|
85 |
-
"73": "
|
86 |
-
"74": "
|
87 |
-
"75": "
|
88 |
-
"76": "
|
89 |
-
"77": "
|
90 |
-
"78": "
|
91 |
-
"79": "I-
|
92 |
-
"80": "I-
|
93 |
"81": "B-Mass",
|
94 |
"82": "I-Mass"
|
95 |
},
|
96 |
"initializer_range": 0.02,
|
97 |
"label2id": {
|
98 |
-
"B-Activity":
|
99 |
-
"B-Administration":
|
100 |
"B-Age": 1,
|
101 |
-
"B-Area":
|
102 |
-
"B-Biological_attribute":
|
103 |
-
"B-Biological_structure":
|
104 |
-
"B-Clinical_event":
|
105 |
-
"B-Color":
|
106 |
-
"B-Coreference":
|
107 |
-
"B-Date":
|
108 |
-
"B-Detailed_description":
|
109 |
-
"B-Diagnostic_procedure":
|
110 |
-
"B-Disease_disorder":
|
111 |
-
"B-Distance":
|
112 |
-
"B-Dosage":
|
113 |
-
"B-Duration":
|
114 |
-
"B-Family_history":
|
115 |
-
"B-Frequency":
|
116 |
-
"B-Height":
|
117 |
-
"B-History":
|
118 |
-
"B-Lab_value":
|
119 |
"B-Mass": 81,
|
120 |
-
"B-Medication":
|
121 |
-
"B-Nonbiological_location":
|
122 |
-
"B-Occupation":
|
123 |
-
"B-Other_entity":
|
124 |
-
"B-Other_event":
|
125 |
-
"B-Outcome":
|
126 |
-
"B-Personal_background":
|
127 |
-
"B-Qualitative_concept":
|
128 |
-
"B-Quantitative_concept":
|
129 |
-
"B-Severity":
|
130 |
-
"B-Sex":
|
131 |
-
"B-Shape":
|
132 |
-
"B-Sign_symptom":
|
133 |
-
"B-Subject":
|
134 |
-
"B-Texture":
|
135 |
-
"B-Therapeutic_procedure":
|
136 |
-
"B-Time":
|
137 |
-
"B-Volume":
|
138 |
-
"B-Weight":
|
139 |
-
"I-Activity":
|
140 |
-
"I-Administration":
|
141 |
"I-Age": 2,
|
142 |
-
"I-Area":
|
143 |
-
"I-Biological_attribute":
|
144 |
-
"I-Biological_structure":
|
145 |
-
"I-Clinical_event":
|
146 |
-
"I-Color":
|
147 |
-
"I-Coreference":
|
148 |
-
"I-Date":
|
149 |
-
"I-Detailed_description":
|
150 |
-
"I-Diagnostic_procedure":
|
151 |
-
"I-Disease_disorder":
|
152 |
-
"I-Distance":
|
153 |
-
"I-Dosage":
|
154 |
-
"I-Duration":
|
155 |
-
"I-Family_history":
|
156 |
-
"I-Frequency":
|
157 |
-
"I-Height":
|
158 |
-
"I-History":
|
159 |
-
"I-Lab_value":
|
160 |
"I-Mass": 82,
|
161 |
-
"I-Medication":
|
162 |
-
"I-Nonbiological_location":
|
163 |
-
"I-Occupation":
|
164 |
-
"I-Other_entity":
|
165 |
-
"I-Other_event":
|
166 |
-
"I-Outcome":
|
167 |
-
"I-Personal_background":
|
168 |
-
"I-Qualitative_concept":
|
169 |
-
"I-Quantitative_concept":
|
170 |
-
"I-Severity":
|
171 |
-
"I-Sex":
|
172 |
-
"I-Shape":
|
173 |
-
"I-Sign_symptom":
|
174 |
"I-Subject": 68,
|
175 |
-
"I-Texture":
|
176 |
-
"I-Therapeutic_procedure":
|
177 |
-
"I-Time":
|
178 |
-
"I-Volume":
|
179 |
-
"I-Weight":
|
180 |
"O": 0
|
181 |
},
|
182 |
"max_position_embeddings": 512,
|
|
|
12 |
"0": "O",
|
13 |
"1": "B-Age",
|
14 |
"2": "I-Age",
|
15 |
+
"3": "B-Occupation",
|
16 |
+
"4": "I-Occupation",
|
17 |
+
"5": "B-Nonbiological_location",
|
18 |
+
"6": "I-Nonbiological_location",
|
19 |
+
"7": "B-Duration",
|
20 |
+
"8": "I-Duration",
|
21 |
+
"9": "B-Sign_symptom",
|
22 |
+
"10": "B-Lab_value",
|
23 |
+
"11": "I-Lab_value",
|
24 |
+
"12": "B-Detailed_description",
|
25 |
+
"13": "I-Detailed_description",
|
26 |
+
"14": "I-Sign_symptom",
|
27 |
+
"15": "B-Disease_disorder",
|
28 |
+
"16": "B-Medication",
|
29 |
+
"17": "I-Medication",
|
30 |
+
"18": "B-History",
|
31 |
+
"19": "I-History",
|
32 |
+
"20": "B-Clinical_event",
|
33 |
+
"21": "B-Diagnostic_procedure",
|
34 |
+
"22": "I-Diagnostic_procedure",
|
35 |
+
"23": "B-Biological_structure",
|
36 |
+
"24": "I-Biological_structure",
|
37 |
+
"25": "B-Severity",
|
38 |
+
"26": "I-Disease_disorder",
|
39 |
+
"27": "B-Dosage",
|
40 |
+
"28": "I-Dosage",
|
41 |
+
"29": "B-Therapeutic_procedure",
|
42 |
+
"30": "B-Date",
|
43 |
+
"31": "I-Date",
|
44 |
+
"32": "B-Outcome",
|
45 |
+
"33": "B-Sex",
|
46 |
+
"34": "I-Therapeutic_procedure",
|
47 |
+
"35": "B-Distance",
|
48 |
+
"36": "I-Distance",
|
49 |
+
"37": "I-Clinical_event",
|
50 |
+
"38": "B-Coreference",
|
51 |
+
"39": "I-Coreference",
|
52 |
+
"40": "B-Area",
|
53 |
+
"41": "I-Area",
|
54 |
+
"42": "B-Frequency",
|
55 |
+
"43": "I-Severity",
|
56 |
+
"44": "B-Administration",
|
57 |
+
"45": "I-Administration",
|
58 |
+
"46": "I-Outcome",
|
59 |
+
"47": "B-Shape",
|
60 |
+
"48": "I-Shape",
|
61 |
+
"49": "B-Qualitative_concept",
|
62 |
+
"50": "I-Frequency",
|
63 |
+
"51": "B-Activity",
|
64 |
+
"52": "I-Activity",
|
65 |
+
"53": "B-Subject",
|
66 |
+
"54": "B-Quantitative_concept",
|
67 |
+
"55": "B-Volume",
|
68 |
+
"56": "I-Volume",
|
69 |
+
"57": "I-Sex",
|
70 |
+
"58": "B-Personal_background",
|
71 |
+
"59": "B-Family_history",
|
72 |
+
"60": "I-Family_history",
|
73 |
+
"61": "I-Personal_background",
|
74 |
+
"62": "B-Color",
|
75 |
+
"63": "B-Texture",
|
76 |
+
"64": "I-Texture",
|
77 |
+
"65": "I-Quantitative_concept",
|
78 |
+
"66": "B-Time",
|
79 |
+
"67": "I-Time",
|
80 |
"68": "I-Subject",
|
81 |
+
"69": "B-Height",
|
82 |
+
"70": "I-Height",
|
83 |
+
"71": "B-Weight",
|
84 |
+
"72": "I-Weight",
|
85 |
+
"73": "I-Color",
|
86 |
+
"74": "B-Other_entity",
|
87 |
+
"75": "I-Other_entity",
|
88 |
+
"76": "B-Other_event",
|
89 |
+
"77": "I-Other_event",
|
90 |
+
"78": "B-Biological_attribute",
|
91 |
+
"79": "I-Biological_attribute",
|
92 |
+
"80": "I-Qualitative_concept",
|
93 |
"81": "B-Mass",
|
94 |
"82": "I-Mass"
|
95 |
},
|
96 |
"initializer_range": 0.02,
|
97 |
"label2id": {
|
98 |
+
"B-Activity": 51,
|
99 |
+
"B-Administration": 44,
|
100 |
"B-Age": 1,
|
101 |
+
"B-Area": 40,
|
102 |
+
"B-Biological_attribute": 78,
|
103 |
+
"B-Biological_structure": 23,
|
104 |
+
"B-Clinical_event": 20,
|
105 |
+
"B-Color": 62,
|
106 |
+
"B-Coreference": 38,
|
107 |
+
"B-Date": 30,
|
108 |
+
"B-Detailed_description": 12,
|
109 |
+
"B-Diagnostic_procedure": 21,
|
110 |
+
"B-Disease_disorder": 15,
|
111 |
+
"B-Distance": 35,
|
112 |
+
"B-Dosage": 27,
|
113 |
+
"B-Duration": 7,
|
114 |
+
"B-Family_history": 59,
|
115 |
+
"B-Frequency": 42,
|
116 |
+
"B-Height": 69,
|
117 |
+
"B-History": 18,
|
118 |
+
"B-Lab_value": 10,
|
119 |
"B-Mass": 81,
|
120 |
+
"B-Medication": 16,
|
121 |
+
"B-Nonbiological_location": 5,
|
122 |
+
"B-Occupation": 3,
|
123 |
+
"B-Other_entity": 74,
|
124 |
+
"B-Other_event": 76,
|
125 |
+
"B-Outcome": 32,
|
126 |
+
"B-Personal_background": 58,
|
127 |
+
"B-Qualitative_concept": 49,
|
128 |
+
"B-Quantitative_concept": 54,
|
129 |
+
"B-Severity": 25,
|
130 |
+
"B-Sex": 33,
|
131 |
+
"B-Shape": 47,
|
132 |
+
"B-Sign_symptom": 9,
|
133 |
+
"B-Subject": 53,
|
134 |
+
"B-Texture": 63,
|
135 |
+
"B-Therapeutic_procedure": 29,
|
136 |
+
"B-Time": 66,
|
137 |
+
"B-Volume": 55,
|
138 |
+
"B-Weight": 71,
|
139 |
+
"I-Activity": 52,
|
140 |
+
"I-Administration": 45,
|
141 |
"I-Age": 2,
|
142 |
+
"I-Area": 41,
|
143 |
+
"I-Biological_attribute": 79,
|
144 |
+
"I-Biological_structure": 24,
|
145 |
+
"I-Clinical_event": 37,
|
146 |
+
"I-Color": 73,
|
147 |
+
"I-Coreference": 39,
|
148 |
+
"I-Date": 31,
|
149 |
+
"I-Detailed_description": 13,
|
150 |
+
"I-Diagnostic_procedure": 22,
|
151 |
+
"I-Disease_disorder": 26,
|
152 |
+
"I-Distance": 36,
|
153 |
+
"I-Dosage": 28,
|
154 |
+
"I-Duration": 8,
|
155 |
+
"I-Family_history": 60,
|
156 |
+
"I-Frequency": 50,
|
157 |
+
"I-Height": 70,
|
158 |
+
"I-History": 19,
|
159 |
+
"I-Lab_value": 11,
|
160 |
"I-Mass": 82,
|
161 |
+
"I-Medication": 17,
|
162 |
+
"I-Nonbiological_location": 6,
|
163 |
+
"I-Occupation": 4,
|
164 |
+
"I-Other_entity": 75,
|
165 |
+
"I-Other_event": 77,
|
166 |
+
"I-Outcome": 46,
|
167 |
+
"I-Personal_background": 61,
|
168 |
+
"I-Qualitative_concept": 80,
|
169 |
+
"I-Quantitative_concept": 65,
|
170 |
+
"I-Severity": 43,
|
171 |
+
"I-Sex": 57,
|
172 |
+
"I-Shape": 48,
|
173 |
+
"I-Sign_symptom": 14,
|
174 |
"I-Subject": 68,
|
175 |
+
"I-Texture": 64,
|
176 |
+
"I-Therapeutic_procedure": 34,
|
177 |
+
"I-Time": 67,
|
178 |
+
"I-Volume": 56,
|
179 |
+
"I-Weight": 72,
|
180 |
"O": 0
|
181 |
},
|
182 |
"max_position_embeddings": 512,
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 265719180
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:642e10daa0e5f9b621b309c6412185e0b498a4abc044b419d16bf5f92c27c29e
|
3 |
size 265719180
|
runs/Feb03_01-58-07_580211c92e0c/events.out.tfevents.1738547888.580211c92e0c.798.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a487f554426a738ce442536b50746eb39684c49d9917673cf7ae5f9a07d52115
|
3 |
+
size 9266
|
runs/Feb03_01-58-28_580211c92e0c/events.out.tfevents.1738547908.580211c92e0c.798.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:49cbcb9a4625bb4d7d036c7acd1fd674f342008462d754ca5ce0312c42c4b548
|
3 |
+
size 20180
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5304
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:78613d995b9a08b6f5354d3ccc2649a7e8934b5467b5438b0cef860146e95fd0
|
3 |
size 5304
|