update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: microsoft/beit-large-patch16-224
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: beit-large-patch16-224-finetuned-BreastCancer-Classification-BreakHis-AH-60-20-20-Shuffled
|
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 |
+
# beit-large-patch16-224-finetuned-BreastCancer-Classification-BreakHis-AH-60-20-20-Shuffled
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [microsoft/beit-large-patch16-224](https://huggingface.co/microsoft/beit-large-patch16-224) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.0146
|
21 |
+
- Accuracy: 0.9958
|
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: 5e-06
|
41 |
+
- train_batch_size: 16
|
42 |
+
- eval_batch_size: 16
|
43 |
+
- seed: 42
|
44 |
+
- gradient_accumulation_steps: 2
|
45 |
+
- total_train_batch_size: 32
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: linear
|
48 |
+
- lr_scheduler_warmup_ratio: 0.9
|
49 |
+
- num_epochs: 15
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Accuracy | Validation Loss |
|
54 |
+
|:-------------:|:-----:|:----:|:--------:|:---------------:|
|
55 |
+
| 0.5847 | 1.0 | 199 | 0.8030 | 0.4640 |
|
56 |
+
| 0.2856 | 2.0 | 398 | 0.9354 | 0.1753 |
|
57 |
+
| 0.156 | 3.0 | 597 | 0.9552 | 0.1179 |
|
58 |
+
| 0.1049 | 4.0 | 796 | 0.9585 | 0.1043 |
|
59 |
+
| 0.1399 | 5.0 | 995 | 0.9760 | 0.0673 |
|
60 |
+
| 0.0423 | 6.0 | 1194 | 0.9802 | 0.0455 |
|
61 |
+
| 0.078 | 7.0 | 1393 | 0.9802 | 0.0554 |
|
62 |
+
| 0.1769 | 8.0 | 1592 | 0.9764 | 0.0556 |
|
63 |
+
| 0.0568 | 9.0 | 1791 | 0.9807 | 0.0569 |
|
64 |
+
| 0.0728 | 10.0 | 1990 | 0.9915 | 0.0234 |
|
65 |
+
| 0.0229 | 11.0 | 2189 | 0.9910 | 0.0240 |
|
66 |
+
| 0.0561 | 12.0 | 2388 | 0.9901 | 0.0352 |
|
67 |
+
| 0.014 | 13.0 | 2587 | 0.9797 | 0.0749 |
|
68 |
+
| 0.096 | 14.0 | 2786 | 0.9934 | 0.0268 |
|
69 |
+
| 0.0005 | 15.0 | 2985 | 0.0146 | 0.9958 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- Transformers 4.31.0
|
75 |
+
- Pytorch 2.0.1+cu118
|
76 |
+
- Datasets 2.13.1
|
77 |
+
- Tokenizers 0.13.3
|