Update README.md
Browse files
README.md
CHANGED
|
@@ -36,13 +36,14 @@ language:
|
|
| 36 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 37 |
should probably proofread and complete it, then remove this comment. -->
|
| 38 |
|
| 39 |
-
|
|
|
|
| 40 |
|
| 41 |
This model is a fine-tuned version of [facebook/dinov2-base](https://huggingface.co/facebook/dinov2-base) on the imagefolder dataset.
|
| 42 |
It achieves the following results on the evaluation set:
|
| 43 |
-
- Loss: 0.
|
| 44 |
-
- Accuracy: 0.
|
| 45 |
-
- F1: 0.
|
| 46 |
|
| 47 |
## Model description
|
| 48 |
|
|
@@ -67,7 +68,7 @@ The following hyperparameters were used during training:
|
|
| 67 |
- seed: 42
|
| 68 |
- gradient_accumulation_steps: 4
|
| 69 |
- total_train_batch_size: 16
|
| 70 |
-
- optimizer:
|
| 71 |
- lr_scheduler_type: linear
|
| 72 |
- lr_scheduler_warmup_ratio: 0.1
|
| 73 |
- num_epochs: 10
|
|
@@ -76,21 +77,22 @@ The following hyperparameters were used during training:
|
|
| 76 |
|
| 77 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 78 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 79 |
-
|
|
| 80 |
-
|
|
| 81 |
-
|
|
| 82 |
-
| 0.
|
| 83 |
-
| 0.
|
| 84 |
-
| 0.
|
| 85 |
-
| 0.
|
| 86 |
-
| 0.
|
| 87 |
-
| 0.
|
| 88 |
-
| 0.
|
| 89 |
|
| 90 |
|
| 91 |
### Framework versions
|
| 92 |
|
| 93 |
-
- Transformers 4.
|
| 94 |
-
- Pytorch 2.
|
| 95 |
-
- Datasets 3.
|
| 96 |
-
- Tokenizers 0.
|
|
|
|
|
|
| 36 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 37 |
should probably proofread and complete it, then remove this comment. -->
|
| 38 |
|
| 39 |
+
|
| 40 |
+
Diabetic_RetinoPathy_detection
|
| 41 |
|
| 42 |
This model is a fine-tuned version of [facebook/dinov2-base](https://huggingface.co/facebook/dinov2-base) on the imagefolder dataset.
|
| 43 |
It achieves the following results on the evaluation set:
|
| 44 |
+
- Loss: 0.2262
|
| 45 |
+
- Accuracy: 0.968
|
| 46 |
+
- F1: 0.9678
|
| 47 |
|
| 48 |
## Model description
|
| 49 |
|
|
|
|
| 68 |
- seed: 42
|
| 69 |
- gradient_accumulation_steps: 4
|
| 70 |
- total_train_batch_size: 16
|
| 71 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 72 |
- lr_scheduler_type: linear
|
| 73 |
- lr_scheduler_warmup_ratio: 0.1
|
| 74 |
- num_epochs: 10
|
|
|
|
| 77 |
|
| 78 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 79 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 80 |
+
| 0.3853 | 1.0 | 250 | 0.4918 | 0.874 | 0.8729 |
|
| 81 |
+
| 0.5345 | 2.0 | 500 | 0.4390 | 0.878 | 0.8771 |
|
| 82 |
+
| 0.4693 | 3.0 | 750 | 0.3857 | 0.88 | 0.8796 |
|
| 83 |
+
| 0.1933 | 4.0 | 1000 | 0.3444 | 0.894 | 0.8948 |
|
| 84 |
+
| 0.3146 | 5.0 | 1250 | 0.2456 | 0.936 | 0.9362 |
|
| 85 |
+
| 0.1832 | 6.0 | 1500 | 0.3369 | 0.924 | 0.9229 |
|
| 86 |
+
| 0.1407 | 7.0 | 1750 | 0.3425 | 0.946 | 0.9454 |
|
| 87 |
+
| 0.1462 | 8.0 | 2000 | 0.2864 | 0.948 | 0.9476 |
|
| 88 |
+
| 0.0905 | 9.0 | 2250 | 0.2177 | 0.956 | 0.9560 |
|
| 89 |
+
| 0.0859 | 10.0 | 2500 | 0.2262 | 0.968 | 0.9678 |
|
| 90 |
|
| 91 |
|
| 92 |
### Framework versions
|
| 93 |
|
| 94 |
+
- Transformers 4.45.1
|
| 95 |
+
- Pytorch 2.4.0
|
| 96 |
+
- Datasets 3.0.1
|
| 97 |
+
- Tokenizers 0.20.0
|
| 98 |
+
|