End of training
Browse files- README.md +72 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: nlpie/distil-clinicalbert
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- accuracy
|
7 |
+
- precision
|
8 |
+
- recall
|
9 |
+
- f1
|
10 |
+
model-index:
|
11 |
+
- name: distil-clinicalbert-medical-text-classification
|
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 |
+
# distil-clinicalbert-medical-text-classification
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [nlpie/distil-clinicalbert](https://huggingface.co/nlpie/distil-clinicalbert) on an unknown dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 1.9496
|
23 |
+
- Accuracy: 0.226
|
24 |
+
- Precision: 0.2021
|
25 |
+
- Recall: 0.226
|
26 |
+
- F1: 0.2058
|
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: 5e-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 |
+
- lr_scheduler_warmup_steps: 500
|
52 |
+
- num_epochs: 30
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
58 |
+
| 2.5309 | 1.0 | 250 | 2.6137 | 0.339 | 0.1410 | 0.339 | 0.1943 |
|
59 |
+
| 2.0359 | 2.0 | 500 | 2.1867 | 0.357 | 0.2377 | 0.357 | 0.2432 |
|
60 |
+
| 1.9003 | 3.0 | 750 | 1.9129 | 0.324 | 0.2801 | 0.324 | 0.2882 |
|
61 |
+
| 1.5959 | 4.0 | 1000 | 1.8227 | 0.317 | 0.2995 | 0.317 | 0.2904 |
|
62 |
+
| 1.3873 | 5.0 | 1250 | 1.8668 | 0.302 | 0.2670 | 0.302 | 0.2740 |
|
63 |
+
| 1.3281 | 6.0 | 1500 | 1.8773 | 0.26 | 0.2264 | 0.26 | 0.2358 |
|
64 |
+
| 1.3854 | 7.0 | 1750 | 1.9496 | 0.226 | 0.2021 | 0.226 | 0.2058 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- Transformers 4.39.3
|
70 |
+
- Pytorch 2.1.2
|
71 |
+
- Datasets 2.18.0
|
72 |
+
- Tokenizers 0.15.2
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 263267400
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1d03b199e6ee379df2c3104c1c1bd08cd2f67a603a73b1d62f55942cbf014ef3
|
3 |
size 263267400
|