Santarabantoosoo
commited on
Commit
•
18f00fa
1
Parent(s):
4df4636
update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
metrics:
|
5 |
+
- accuracy
|
6 |
+
- precision
|
7 |
+
- recall
|
8 |
+
- f1
|
9 |
+
model-index:
|
10 |
+
- name: PathologyBERT-meningioma
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# PathologyBERT-meningioma
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [tsantos/PathologyBERT](https://huggingface.co/tsantos/PathologyBERT) on an unknown dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.6939
|
22 |
+
- Accuracy: 0.8696
|
23 |
+
- Precision: 0.0
|
24 |
+
- Recall: 0.0
|
25 |
+
- F1: 0.0
|
26 |
+
- Conf Matrix: [[ 0 12]
|
27 |
+
[ 3 100]]
|
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: 1e-05
|
47 |
+
- train_batch_size: 8
|
48 |
+
- eval_batch_size: 8
|
49 |
+
- seed: 0
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 10
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | Conf Matrix |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|:----------------------:|
|
58 |
+
| 0.5537 | 1.0 | 71 | 0.5252 | 0.7304 | 0.0870 | 0.1667 | 0.1143 | [[ 2 10]
|
59 |
+
[21 82]] |
|
60 |
+
| 0.3702 | 2.0 | 142 | 0.3598 | 0.8870 | 0.0 | 0.0 | 0.0 | [[ 0 12]
|
61 |
+
[ 1 102]] |
|
62 |
+
| 0.2892 | 3.0 | 213 | 0.3999 | 0.8696 | 0.2 | 0.0833 | 0.1176 | [[ 1 11]
|
63 |
+
[ 4 99]] |
|
64 |
+
| 0.2745 | 4.0 | 284 | 0.4806 | 0.8870 | 0.0 | 0.0 | 0.0 | [[ 0 12]
|
65 |
+
[ 1 102]] |
|
66 |
+
| 0.2131 | 5.0 | 355 | 0.4988 | 0.8609 | 0.0 | 0.0 | 0.0 | [[ 0 12]
|
67 |
+
[ 4 99]] |
|
68 |
+
| 0.1685 | 6.0 | 426 | 0.6441 | 0.8348 | 0.1111 | 0.0833 | 0.0952 | [[ 1 11]
|
69 |
+
[ 8 95]] |
|
70 |
+
| 0.138 | 7.0 | 497 | 0.5988 | 0.8957 | 1.0 | 0.0 | 0.0 | [[ 0 12]
|
71 |
+
[ 0 103]] |
|
72 |
+
| 0.1069 | 8.0 | 568 | 0.6765 | 0.8609 | 0.0 | 0.0 | 0.0 | [[ 0 12]
|
73 |
+
[ 4 99]] |
|
74 |
+
| 0.1185 | 9.0 | 639 | 0.6838 | 0.8696 | 0.0 | 0.0 | 0.0 | [[ 0 12]
|
75 |
+
[ 3 100]] |
|
76 |
+
| 0.0891 | 10.0 | 710 | 0.6939 | 0.8696 | 0.0 | 0.0 | 0.0 | [[ 0 12]
|
77 |
+
[ 3 100]] |
|
78 |
+
|
79 |
+
|
80 |
+
### Framework versions
|
81 |
+
|
82 |
+
- Transformers 4.12.2
|
83 |
+
- Pytorch 1.10.1
|
84 |
+
- Datasets 1.15.0
|
85 |
+
- Tokenizers 0.10.3
|