End of training
Browse files- README.md +79 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
base_model: yikuan8/Clinical-Longformer
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- f1
|
8 |
+
model-index:
|
9 |
+
- name: finetuned_ClinicalLongformer_newData_undersampling
|
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 |
+
# finetuned_ClinicalLongformer_newData_undersampling
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [yikuan8/Clinical-Longformer](https://huggingface.co/yikuan8/Clinical-Longformer) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.5173
|
21 |
+
- F1: 0.7647
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 1e-05
|
41 |
+
- train_batch_size: 8
|
42 |
+
- eval_batch_size: 8
|
43 |
+
- seed: 42
|
44 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- num_epochs: 20
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|
|
52 |
+
| 0.6886 | 1.0 | 12 | 0.7002 | 0.56 |
|
53 |
+
| 0.6558 | 2.0 | 24 | 0.6807 | 0.6087 |
|
54 |
+
| 0.6087 | 3.0 | 36 | 0.5738 | 0.7568 |
|
55 |
+
| 0.5527 | 4.0 | 48 | 0.5173 | 0.7647 |
|
56 |
+
| 0.3949 | 5.0 | 60 | 0.5088 | 0.6897 |
|
57 |
+
| 0.3269 | 6.0 | 72 | 0.5050 | 0.7222 |
|
58 |
+
| 0.3196 | 7.0 | 84 | 0.5267 | 0.6897 |
|
59 |
+
| 0.2235 | 8.0 | 96 | 0.5024 | 0.7333 |
|
60 |
+
| 0.1633 | 9.0 | 108 | 0.4877 | 0.7143 |
|
61 |
+
| 0.136 | 10.0 | 120 | 0.5723 | 0.6667 |
|
62 |
+
| 0.1101 | 11.0 | 132 | 0.6704 | 0.6429 |
|
63 |
+
| 0.0673 | 12.0 | 144 | 0.7958 | 0.6897 |
|
64 |
+
| 0.0795 | 13.0 | 156 | 0.8270 | 0.6154 |
|
65 |
+
| 0.0716 | 14.0 | 168 | 0.8288 | 0.5926 |
|
66 |
+
| 0.0297 | 15.0 | 180 | 0.9462 | 0.6154 |
|
67 |
+
| 0.0236 | 16.0 | 192 | 1.0562 | 0.56 |
|
68 |
+
| 0.2009 | 17.0 | 204 | 1.0884 | 0.6429 |
|
69 |
+
| 0.0298 | 18.0 | 216 | 1.1095 | 0.6429 |
|
70 |
+
| 0.0134 | 19.0 | 228 | 1.1237 | 0.5926 |
|
71 |
+
| 0.0147 | 20.0 | 240 | 1.1291 | 0.5926 |
|
72 |
+
|
73 |
+
|
74 |
+
### Framework versions
|
75 |
+
|
76 |
+
- Transformers 4.48.0
|
77 |
+
- Pytorch 2.5.1+cu124
|
78 |
+
- Datasets 3.2.0
|
79 |
+
- Tokenizers 0.21.0
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 594678184
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e2793dfda6fc2e04f4c202d2d80e0f2958c2879ccf4fa576c1d4c021e9f72088
|
3 |
size 594678184
|