
<!-- 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. -->

# convnextv2-large-1k-224-finetuned-BreastCancer-Classification-BreakHis-AH-60-20-20-Shuffled-3rd

This model is a fine-tuned version of [facebook/convnextv2-large-1k-224](https://huggingface.co/facebook/convnextv2-large-1k-224) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 0.0543
- Accuracy: 0.9873

## 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-05
- 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: 14

### Training results

| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 0.5284        | 1.0   | 199  | 0.5013          | 0.9095   |
| 0.2084        | 2.0   | 398  | 0.2076          | 0.9524   |
| 0.1274        | 3.0   | 597  | 0.1459          | 0.9566   |
| 0.1618        | 4.0   | 796  | 0.1534          | 0.9383   |
| 0.2118        | 5.0   | 995  | 0.0877          | 0.9727   |
| 0.0306        | 6.0   | 1194 | 0.1048          | 0.9656   |
| 0.1012        | 7.0   | 1393 | 0.0674          | 0.9755   |
| 0.2079        | 8.0   | 1592 | 0.0662          | 0.9731   |
| 0.087         | 9.0   | 1791 | 0.1183          | 0.9458   |
| 0.1543        | 10.0  | 1990 | 0.0605          | 0.9840   |
| 0.0788        | 11.0  | 2189 | 0.0557          | 0.9868   |
| 0.0604        | 12.0  | 2388 | 0.0461          | 0.9868   |
| 0.0306        | 13.0  | 2587 | 0.0476          | 0.9854   |
| 0.0365        | 14.0  | 2786 | 0.0543          | 0.9873   |


### Framework versions

- Transformers 4.32.0
- Pytorch 2.0.1+cu118
- Datasets 2.14.4
- Tokenizers 0.13.3

benign malignant