intermezzo672 commited on
Commit
cd9ab3b
1 Parent(s): 1f01490

NHS-pubmedbert

Browse files
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - precision
9
+ - recall
10
+ - f1
11
+ model-index:
12
+ - name: NHS-pubmedbert
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # NHS-pubmedbert
20
+
21
+ This model is a fine-tuned version of [microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract](https://huggingface.co/microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.6667
24
+ - Accuracy: 0.8177
25
+ - Precision: 0.8190
26
+ - Recall: 0.8177
27
+ - F1: 0.8143
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 3e-05
47
+ - train_batch_size: 16
48
+ - eval_batch_size: 16
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 6
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
57
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
58
+ | 0.0827 | 1.0 | 397 | 0.4385 | 0.7994 | 0.8128 | 0.7994 | 0.8011 |
59
+ | 0.0149 | 2.0 | 794 | 0.4484 | 0.8227 | 0.8232 | 0.8227 | 0.8229 |
60
+ | 0.0027 | 3.0 | 1191 | 0.6667 | 0.8177 | 0.8190 | 0.8177 | 0.8143 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.35.2
66
+ - Pytorch 2.1.0+cu121
67
+ - Datasets 2.15.0
68
+ - Tokenizers 0.15.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:15dea16b884a488db4d08a5cdf7c6bb18a0cedda41aa6df78f0e10f9fec11d61
3
  size 437958648
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c7c700340d3ff8f5739ca0c86535a48c2513ca5251f27eedca2ea3cd2feaf6f
3
  size 437958648
runs/Dec19_21-18-30_9ac07695c74c/events.out.tfevents.1703020711.9ac07695c74c.1079.2 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8e6f4beafd573d630794033baa971f4211e72ab3466e32895f8b8ef1301bdb27
3
- size 192753
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c17df347f8f6112f2288285c5ece67440e5e70a4e46be12a9bc61f58a7875e8d
3
+ size 193107