judithrosell commited on
Commit
3c00641
1 Parent(s): 3f23d8a

End of training

Browse files
Files changed (1) hide show
  1. README.md +93 -0
README.md ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: medicalai/ClinicalBERT
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: BC5CDR_ClinicalBERT_NER
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
11
+ should probably proofread and complete it, then remove this comment. -->
12
+
13
+ # BC5CDR_ClinicalBERT_NER
14
+
15
+ This model is a fine-tuned version of [medicalai/ClinicalBERT](https://huggingface.co/medicalai/ClinicalBERT) on the None dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Loss: 0.1107
18
+ - Seqeval classification report: precision recall f1-score support
19
+
20
+ Chemical 0.71 0.73 0.72 10493
21
+ Disease 0.82 0.82 0.82 6944
22
+
23
+ micro avg 0.75 0.77 0.76 17437
24
+ macro avg 0.76 0.78 0.77 17437
25
+ weighted avg 0.75 0.77 0.76 17437
26
+
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 2e-05
46
+ - train_batch_size: 16
47
+ - eval_batch_size: 16
48
+ - seed: 42
49
+ - gradient_accumulation_steps: 2
50
+ - total_train_batch_size: 32
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 3
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Seqeval classification report |
58
+ |:-------------:|:-----:|:----:|:---------------:|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
59
+ | No log | 1.0 | 143 | 0.1255 | precision recall f1-score support
60
+
61
+ Chemical 0.67 0.68 0.68 10493
62
+ Disease 0.79 0.78 0.78 6944
63
+
64
+ micro avg 0.72 0.72 0.72 17437
65
+ macro avg 0.73 0.73 0.73 17437
66
+ weighted avg 0.72 0.72 0.72 17437
67
+ |
68
+ | No log | 2.0 | 286 | 0.1160 | precision recall f1-score support
69
+
70
+ Chemical 0.69 0.71 0.70 10493
71
+ Disease 0.77 0.83 0.80 6944
72
+
73
+ micro avg 0.72 0.76 0.74 17437
74
+ macro avg 0.73 0.77 0.75 17437
75
+ weighted avg 0.72 0.76 0.74 17437
76
+ |
77
+ | No log | 3.0 | 429 | 0.1107 | precision recall f1-score support
78
+
79
+ Chemical 0.71 0.73 0.72 10493
80
+ Disease 0.82 0.82 0.82 6944
81
+
82
+ micro avg 0.75 0.77 0.76 17437
83
+ macro avg 0.76 0.78 0.77 17437
84
+ weighted avg 0.75 0.77 0.76 17437
85
+ |
86
+
87
+
88
+ ### Framework versions
89
+
90
+ - Transformers 4.35.2
91
+ - Pytorch 2.1.0+cu121
92
+ - Datasets 2.15.0
93
+ - Tokenizers 0.15.0