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 |
+
- f1
|
8 |
+
model-index:
|
9 |
+
- name: biobert_model
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# biobert_model
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [emilyalsentzer/Bio_ClinicalBERT](https://huggingface.co/emilyalsentzer/Bio_ClinicalBERT) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.9645
|
21 |
+
- Accuracy: 0.8711
|
22 |
+
- F1: 0.8475
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Intended uses & limitations
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training and evaluation data
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training procedure
|
37 |
+
|
38 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 1e-05
|
42 |
+
- train_batch_size: 8
|
43 |
+
- eval_batch_size: 8
|
44 |
+
- seed: 42
|
45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
+
- lr_scheduler_type: linear
|
47 |
+
- num_epochs: 15
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
52 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
53 |
+
| No log | 1.0 | 334 | 0.6463 | 0.6897 | 0.7129 |
|
54 |
+
| 0.4503 | 2.0 | 668 | 0.3590 | 0.8651 | 0.8269 |
|
55 |
+
| 0.2715 | 3.0 | 1002 | 0.4549 | 0.8711 | 0.8252 |
|
56 |
+
| 0.2715 | 4.0 | 1336 | 0.6012 | 0.8681 | 0.8434 |
|
57 |
+
| 0.1335 | 5.0 | 1670 | 0.6307 | 0.8576 | 0.8313 |
|
58 |
+
| 0.0746 | 6.0 | 2004 | 0.7658 | 0.8636 | 0.8366 |
|
59 |
+
| 0.0746 | 7.0 | 2338 | 0.8658 | 0.8666 | 0.8436 |
|
60 |
+
| 0.0307 | 8.0 | 2672 | 0.8312 | 0.8711 | 0.8453 |
|
61 |
+
| 0.0148 | 9.0 | 3006 | 0.8922 | 0.8651 | 0.8421 |
|
62 |
+
| 0.0148 | 10.0 | 3340 | 0.8761 | 0.8726 | 0.8490 |
|
63 |
+
| 0.0128 | 11.0 | 3674 | 0.9329 | 0.8681 | 0.8462 |
|
64 |
+
| 0.0105 | 12.0 | 4008 | 0.9512 | 0.8666 | 0.8441 |
|
65 |
+
| 0.0105 | 13.0 | 4342 | 0.9553 | 0.8711 | 0.8475 |
|
66 |
+
| 0.0069 | 14.0 | 4676 | 0.9731 | 0.8681 | 0.8445 |
|
67 |
+
| 0.0046 | 15.0 | 5010 | 0.9645 | 0.8711 | 0.8475 |
|
68 |
+
|
69 |
+
|
70 |
+
### Framework versions
|
71 |
+
|
72 |
+
- Transformers 4.29.2
|
73 |
+
- Pytorch 2.0.1+cu118
|
74 |
+
- Datasets 2.12.0
|
75 |
+
- Tokenizers 0.13.3
|