|
--- |
|
license: apache-2.0 |
|
base_model: microsoft/beit-large-patch16-224 |
|
tags: |
|
- generated_from_trainer |
|
metrics: |
|
- accuracy |
|
model-index: |
|
- name: beit-large-patch16-224-finetuned-BreastCancer-Classification-BreakHis-AH-60-20-20-Shuffled-3rd |
|
results: [] |
|
--- |
|
|
|
<!-- This model card has been generated automatically according to the information the Trainer had access to. You |
|
should probably proofread and complete it, then remove this comment. --> |
|
|
|
# beit-large-patch16-224-finetuned-BreastCancer-Classification-BreakHis-AH-60-20-20-Shuffled-3rd |
|
|
|
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. |
|
It achieves the following results on the evaluation set: |
|
- Loss: 0.0298 |
|
- Accuracy: 0.9934 |
|
|
|
## Model description |
|
|
|
More information needed |
|
|
|
## Intended uses & limitations |
|
|
|
More information needed |
|
|
|
## Training and evaluation data |
|
|
|
More information needed |
|
|
|
## Training procedure |
|
|
|
### Training hyperparameters |
|
|
|
The following hyperparameters were used during training: |
|
- learning_rate: 5e-06 |
|
- train_batch_size: 16 |
|
- eval_batch_size: 16 |
|
- seed: 42 |
|
- gradient_accumulation_steps: 2 |
|
- total_train_batch_size: 32 |
|
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 |
|
- lr_scheduler_type: linear |
|
- lr_scheduler_warmup_ratio: 0.9 |
|
- num_epochs: 15 |
|
|
|
### Training results |
|
|
|
| Training Loss | Epoch | Step | Accuracy | Validation Loss | |
|
|:-------------:|:-----:|:----:|:--------:|:---------------:| |
|
| 0.5462 | 1.0 | 199 | 0.7931 | 0.4728 | |
|
| 0.2496 | 2.0 | 398 | 0.9185 | 0.2074 | |
|
| 0.2173 | 3.0 | 597 | 0.9486 | 0.1305 | |
|
| 0.1009 | 4.0 | 796 | 0.9623 | 0.0964 | |
|
| 0.1528 | 5.0 | 995 | 0.9717 | 0.0662 | |
|
| 0.0893 | 6.0 | 1194 | 0.9774 | 0.0549 | |
|
| 0.0786 | 7.0 | 1393 | 0.9802 | 0.0505 | |
|
| 0.0254 | 8.0 | 1592 | 0.0643 | 0.9783 | |
|
| 0.1112 | 9.0 | 1791 | 0.0311 | 0.9915 | |
|
| 0.0428 | 10.0 | 1990 | 0.0484 | 0.9802 | |
|
| 0.0842 | 11.0 | 2189 | 0.0482 | 0.9863 | |
|
| 0.0129 | 12.0 | 2388 | 0.0372 | 0.9896 | |
|
| 0.1463 | 13.0 | 2587 | 0.0404 | 0.9882 | |
|
| 0.0582 | 14.0 | 2786 | 0.0589 | 0.9821 | |
|
| 0.0063 | 15.0 | 2985 | 0.0298 | 0.9934 | |
|
|
|
|
|
### Framework versions |
|
|
|
- Transformers 4.32.0 |
|
- Pytorch 2.0.1+cu118 |
|
- Datasets 2.14.4 |
|
- Tokenizers 0.13.3 |
|
|