NeverLearn
commited on
Commit
•
be451be
1
Parent(s):
fd379a7
End of training
Browse files- README.md +71 -2
- model.safetensors +1 -1
README.md
CHANGED
@@ -5,9 +5,36 @@ tags:
|
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
7 |
- maccrobat_biomedical_ner
|
|
|
|
|
|
|
|
|
|
|
8 |
model-index:
|
9 |
- name: Medical-NER-finetuned-ner
|
10 |
-
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
---
|
12 |
|
13 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -16,6 +43,12 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
# Medical-NER-finetuned-ner
|
17 |
|
18 |
This model is a fine-tuned version of [Clinical-AI-Apollo/Medical-NER](https://huggingface.co/Clinical-AI-Apollo/Medical-NER) on the maccrobat_biomedical_ner dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
## Model description
|
21 |
|
@@ -34,7 +67,7 @@ More information needed
|
|
34 |
### Training hyperparameters
|
35 |
|
36 |
The following hyperparameters were used during training:
|
37 |
-
- learning_rate:
|
38 |
- train_batch_size: 8
|
39 |
- eval_batch_size: 8
|
40 |
- seed: 42
|
@@ -42,6 +75,42 @@ The following hyperparameters were used during training:
|
|
42 |
- lr_scheduler_type: linear
|
43 |
- num_epochs: 30
|
44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
### Framework versions
|
46 |
|
47 |
- Transformers 4.39.3
|
|
|
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: Medical-NER-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.842486314674201
|
29 |
+
- name: Recall
|
30 |
+
type: recall
|
31 |
+
value: 0.8537938439513243
|
32 |
+
- name: F1
|
33 |
+
type: f1
|
34 |
+
value: 0.8481023908985867
|
35 |
+
- name: Accuracy
|
36 |
+
type: accuracy
|
37 |
+
value: 0.9046288534972525
|
38 |
---
|
39 |
|
40 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
43 |
# Medical-NER-finetuned-ner
|
44 |
|
45 |
This model is a fine-tuned version of [Clinical-AI-Apollo/Medical-NER](https://huggingface.co/Clinical-AI-Apollo/Medical-NER) on the maccrobat_biomedical_ner dataset.
|
46 |
+
It achieves the following results on the evaluation set:
|
47 |
+
- Loss: 0.5635
|
48 |
+
- Precision: 0.8425
|
49 |
+
- Recall: 0.8538
|
50 |
+
- F1: 0.8481
|
51 |
+
- Accuracy: 0.9046
|
52 |
|
53 |
## Model description
|
54 |
|
|
|
67 |
### Training hyperparameters
|
68 |
|
69 |
The following hyperparameters were used during training:
|
70 |
+
- learning_rate: 8.26814930103799e-05
|
71 |
- train_batch_size: 8
|
72 |
- eval_batch_size: 8
|
73 |
- seed: 42
|
|
|
75 |
- lr_scheduler_type: linear
|
76 |
- num_epochs: 30
|
77 |
|
78 |
+
### Training results
|
79 |
+
|
80 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
81 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
82 |
+
| No log | 1.0 | 20 | 0.3925 | 0.8364 | 0.8307 | 0.8335 | 0.8912 |
|
83 |
+
| No log | 2.0 | 40 | 0.3671 | 0.8266 | 0.8529 | 0.8395 | 0.8954 |
|
84 |
+
| No log | 3.0 | 60 | 0.4077 | 0.8073 | 0.8388 | 0.8227 | 0.8843 |
|
85 |
+
| No log | 4.0 | 80 | 0.3630 | 0.8531 | 0.8463 | 0.8497 | 0.9045 |
|
86 |
+
| No log | 5.0 | 100 | 0.3717 | 0.8413 | 0.8484 | 0.8449 | 0.9017 |
|
87 |
+
| No log | 6.0 | 120 | 0.3721 | 0.8433 | 0.8425 | 0.8429 | 0.9015 |
|
88 |
+
| No log | 7.0 | 140 | 0.3679 | 0.8553 | 0.8529 | 0.8541 | 0.9069 |
|
89 |
+
| No log | 8.0 | 160 | 0.3840 | 0.8394 | 0.8504 | 0.8449 | 0.9012 |
|
90 |
+
| No log | 9.0 | 180 | 0.4124 | 0.8430 | 0.8520 | 0.8475 | 0.9040 |
|
91 |
+
| No log | 10.0 | 200 | 0.4328 | 0.8358 | 0.8450 | 0.8404 | 0.9004 |
|
92 |
+
| No log | 11.0 | 220 | 0.4395 | 0.8395 | 0.8552 | 0.8473 | 0.9033 |
|
93 |
+
| No log | 12.0 | 240 | 0.4490 | 0.8399 | 0.8490 | 0.8444 | 0.9011 |
|
94 |
+
| No log | 13.0 | 260 | 0.4592 | 0.8411 | 0.8497 | 0.8454 | 0.9027 |
|
95 |
+
| No log | 14.0 | 280 | 0.4623 | 0.8435 | 0.8525 | 0.8480 | 0.9047 |
|
96 |
+
| No log | 15.0 | 300 | 0.4858 | 0.8416 | 0.8540 | 0.8478 | 0.9040 |
|
97 |
+
| No log | 16.0 | 320 | 0.4986 | 0.8393 | 0.8499 | 0.8446 | 0.9019 |
|
98 |
+
| No log | 17.0 | 340 | 0.5152 | 0.8367 | 0.8474 | 0.8420 | 0.9012 |
|
99 |
+
| No log | 18.0 | 360 | 0.5138 | 0.8474 | 0.8508 | 0.8491 | 0.9055 |
|
100 |
+
| No log | 19.0 | 380 | 0.5414 | 0.8384 | 0.8488 | 0.8436 | 0.9015 |
|
101 |
+
| No log | 20.0 | 400 | 0.5483 | 0.8401 | 0.8508 | 0.8454 | 0.9029 |
|
102 |
+
| No log | 21.0 | 420 | 0.5465 | 0.8386 | 0.8454 | 0.8420 | 0.9008 |
|
103 |
+
| No log | 22.0 | 440 | 0.5463 | 0.8410 | 0.8520 | 0.8465 | 0.9034 |
|
104 |
+
| No log | 23.0 | 460 | 0.5434 | 0.8441 | 0.8545 | 0.8493 | 0.9053 |
|
105 |
+
| No log | 24.0 | 480 | 0.5516 | 0.8439 | 0.8493 | 0.8466 | 0.9041 |
|
106 |
+
| 0.1398 | 25.0 | 500 | 0.5618 | 0.8398 | 0.8518 | 0.8458 | 0.9032 |
|
107 |
+
| 0.1398 | 26.0 | 520 | 0.5583 | 0.8428 | 0.8550 | 0.8489 | 0.9046 |
|
108 |
+
| 0.1398 | 27.0 | 540 | 0.5632 | 0.8427 | 0.8524 | 0.8475 | 0.9042 |
|
109 |
+
| 0.1398 | 28.0 | 560 | 0.5674 | 0.8393 | 0.8522 | 0.8457 | 0.9029 |
|
110 |
+
| 0.1398 | 29.0 | 580 | 0.5625 | 0.8429 | 0.8527 | 0.8478 | 0.9046 |
|
111 |
+
| 0.1398 | 30.0 | 600 | 0.5635 | 0.8425 | 0.8538 | 0.8481 | 0.9046 |
|
112 |
+
|
113 |
+
|
114 |
### Framework versions
|
115 |
|
116 |
- Transformers 4.39.3
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 735605900
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9af32254f8728bb39b4765a7de5d13babe0351a51fc232efd3d20bd2f5cdb66f
|
3 |
size 735605900
|