fawern commited on
Commit
8d7c034
1 Parent(s): e5ec9e9

End of training

Browse files
Files changed (2) hide show
  1. README.md +75 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: medicalai/ClinicalBERT
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ - precision
8
+ - recall
9
+ - f1
10
+ model-index:
11
+ - name: 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
+ # ClinicalBERT-medical-text-classification
19
+
20
+ This model is a fine-tuned version of [medicalai/ClinicalBERT](https://huggingface.co/medicalai/ClinicalBERT) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 2.4658
23
+ - Accuracy: 0.314
24
+ - Precision: 0.1836
25
+ - Recall: 0.314
26
+ - F1: 0.2283
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.8679 | 1.0 | 250 | 2.8172 | 0.286 | 0.1039 | 0.286 | 0.1496 |
59
+ | 2.5319 | 2.0 | 500 | 2.5591 | 0.338 | 0.1387 | 0.338 | 0.1927 |
60
+ | 2.7507 | 3.0 | 750 | 2.6758 | 0.317 | 0.1405 | 0.317 | 0.1876 |
61
+ | 2.6973 | 4.0 | 1000 | 2.4457 | 0.357 | 0.1596 | 0.357 | 0.2144 |
62
+ | 2.5436 | 5.0 | 1250 | 2.4393 | 0.364 | 0.1807 | 0.364 | 0.2344 |
63
+ | 2.3917 | 6.0 | 1500 | 2.4236 | 0.358 | 0.1838 | 0.358 | 0.2367 |
64
+ | 2.285 | 7.0 | 1750 | 2.3873 | 0.369 | 0.1912 | 0.369 | 0.2370 |
65
+ | 2.2748 | 8.0 | 2000 | 2.4152 | 0.359 | 0.1919 | 0.359 | 0.2389 |
66
+ | 2.1526 | 9.0 | 2250 | 2.4075 | 0.338 | 0.1975 | 0.338 | 0.2305 |
67
+ | 2.1944 | 10.0 | 2500 | 2.4658 | 0.314 | 0.1836 | 0.314 | 0.2283 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - Transformers 4.39.3
73
+ - Pytorch 2.1.2
74
+ - Datasets 2.18.0
75
+ - Tokenizers 0.15.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:19298cd22e8b3d5c371a08ef3bb6d5ed845714d1bb6144a74efdf8791acae652
3
  size 711560352
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02531b202a982d8374f9b7f6b0acc5c0513e92cda66c65190a11d1614d9390b3
3
  size 711560352