update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- accuracy
|
7 |
+
- precision
|
8 |
+
- recall
|
9 |
+
- f1
|
10 |
+
model-index:
|
11 |
+
- name: ClinicalTextV4
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# ClinicalTextV4
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [emilyalsentzer/Bio_ClinicalBERT](https://huggingface.co/emilyalsentzer/Bio_ClinicalBERT) on an unknown dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.5609
|
23 |
+
- Accuracy: 0.8658
|
24 |
+
- Precision: 0.8371
|
25 |
+
- Recall: 0.8939
|
26 |
+
- F1: 0.8646
|
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: 1e-05
|
46 |
+
- train_batch_size: 16
|
47 |
+
- eval_batch_size: 16
|
48 |
+
- seed: 42
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: linear
|
51 |
+
- num_epochs: 10
|
52 |
+
- mixed_precision_training: Native AMP
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
58 |
+
| 0.4824 | 1.0 | 600 | 0.3630 | 0.8458 | 0.825 | 0.8609 | 0.8426 |
|
59 |
+
| 0.3314 | 2.0 | 1200 | 0.3583 | 0.8558 | 0.8252 | 0.8870 | 0.8550 |
|
60 |
+
| 0.2673 | 3.0 | 1800 | 0.3437 | 0.8583 | 0.8189 | 0.9043 | 0.8595 |
|
61 |
+
| 0.2255 | 4.0 | 2400 | 0.3678 | 0.8675 | 0.8302 | 0.9096 | 0.8680 |
|
62 |
+
| 0.1883 | 5.0 | 3000 | 0.4002 | 0.8642 | 0.8259 | 0.9078 | 0.8650 |
|
63 |
+
| 0.1562 | 6.0 | 3600 | 0.4695 | 0.8633 | 0.8352 | 0.8904 | 0.8620 |
|
64 |
+
| 0.1372 | 7.0 | 4200 | 0.4940 | 0.8658 | 0.8371 | 0.8939 | 0.8646 |
|
65 |
+
| 0.1269 | 8.0 | 4800 | 0.5376 | 0.865 | 0.8402 | 0.8870 | 0.8629 |
|
66 |
+
| 0.1097 | 9.0 | 5400 | 0.5539 | 0.8633 | 0.8397 | 0.8835 | 0.8610 |
|
67 |
+
| 0.0997 | 10.0 | 6000 | 0.5609 | 0.8658 | 0.8371 | 0.8939 | 0.8646 |
|
68 |
+
|
69 |
+
|
70 |
+
### Framework versions
|
71 |
+
|
72 |
+
- Transformers 4.21.2
|
73 |
+
- Pytorch 1.12.1+cu113
|
74 |
+
- Datasets 2.4.0
|
75 |
+
- Tokenizers 0.12.1
|