Model save
Browse files- README.md +58 -58
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -23,7 +23,7 @@ model-index:
|
|
| 23 |
metrics:
|
| 24 |
- name: Accuracy
|
| 25 |
type: accuracy
|
| 26 |
-
value: 0.
|
| 27 |
---
|
| 28 |
|
| 29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -33,8 +33,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 33 |
|
| 34 |
This model is a fine-tuned version of [microsoft/resnet-18](https://huggingface.co/microsoft/resnet-18) on the imagefolder dataset.
|
| 35 |
It achieves the following results on the evaluation set:
|
| 36 |
-
- Loss: 0.
|
| 37 |
-
- Accuracy: 0.
|
| 38 |
|
| 39 |
## Model description
|
| 40 |
|
|
@@ -59,70 +59,70 @@ The following hyperparameters were used during training:
|
|
| 59 |
- seed: 42
|
| 60 |
- gradient_accumulation_steps: 4
|
| 61 |
- total_train_batch_size: 64
|
| 62 |
-
- optimizer: Use
|
| 63 |
- lr_scheduler_type: linear
|
| 64 |
- lr_scheduler_warmup_ratio: 0.1
|
| 65 |
- num_epochs: 50
|
| 66 |
|
| 67 |
### Training results
|
| 68 |
|
| 69 |
-
| Training Loss | Epoch | Step | Validation Loss |
|
| 70 |
-
|:-------------:|:-----:|:----:|:---------------
|
| 71 |
-
|
|
| 72 |
-
|
|
| 73 |
-
|
|
| 74 |
-
|
|
| 75 |
-
|
|
| 76 |
-
|
|
| 77 |
-
|
|
| 78 |
-
| 1.
|
| 79 |
-
|
|
| 80 |
-
|
|
| 81 |
-
|
|
| 82 |
-
|
|
| 83 |
-
| 0.
|
| 84 |
-
| 0.
|
| 85 |
-
| 0.
|
| 86 |
-
| 0.
|
| 87 |
-
| 0.
|
| 88 |
-
| 0.
|
| 89 |
-
| 0.
|
| 90 |
-
| 0.
|
| 91 |
-
| 0.
|
| 92 |
-
| 0.
|
| 93 |
-
| 0.
|
| 94 |
-
| 0.
|
| 95 |
-
| 0.
|
| 96 |
-
| 0.
|
| 97 |
-
| 0.
|
| 98 |
-
| 0.
|
| 99 |
-
| 0.
|
| 100 |
-
| 0.
|
| 101 |
-
| 0.
|
| 102 |
-
| 0.
|
| 103 |
-
| 0.
|
| 104 |
-
| 0.
|
| 105 |
-
| 0.
|
| 106 |
-
| 0.
|
| 107 |
-
| 0.
|
| 108 |
-
| 0.
|
| 109 |
-
| 0.
|
| 110 |
-
| 0.
|
| 111 |
-
| 0.
|
| 112 |
-
| 0.
|
| 113 |
-
| 0.
|
| 114 |
-
| 0.
|
| 115 |
-
| 0.
|
| 116 |
-
| 0.
|
| 117 |
-
| 0.
|
| 118 |
-
| 0.
|
| 119 |
-
| 0.
|
| 120 |
-
| 0.
|
| 121 |
|
| 122 |
|
| 123 |
### Framework versions
|
| 124 |
|
| 125 |
- Transformers 4.53.3
|
| 126 |
-
- Pytorch 2.
|
| 127 |
-
- Datasets
|
| 128 |
- Tokenizers 0.21.2
|
|
|
|
| 23 |
metrics:
|
| 24 |
- name: Accuracy
|
| 25 |
type: accuracy
|
| 26 |
+
value: 0.9207317073170732
|
| 27 |
---
|
| 28 |
|
| 29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 33 |
|
| 34 |
This model is a fine-tuned version of [microsoft/resnet-18](https://huggingface.co/microsoft/resnet-18) on the imagefolder dataset.
|
| 35 |
It achieves the following results on the evaluation set:
|
| 36 |
+
- Loss: 0.1982
|
| 37 |
+
- Accuracy: 0.9207
|
| 38 |
|
| 39 |
## Model description
|
| 40 |
|
|
|
|
| 59 |
- seed: 42
|
| 60 |
- gradient_accumulation_steps: 4
|
| 61 |
- total_train_batch_size: 64
|
| 62 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 63 |
- lr_scheduler_type: linear
|
| 64 |
- lr_scheduler_warmup_ratio: 0.1
|
| 65 |
- num_epochs: 50
|
| 66 |
|
| 67 |
### Training results
|
| 68 |
|
| 69 |
+
| Training Loss | Epoch | Step | Accuracy | Validation Loss |
|
| 70 |
+
|:-------------:|:-----:|:----:|:--------:|:---------------:|
|
| 71 |
+
| 5.578 | 1.0 | 154 | 0.0110 | 5.5483 |
|
| 72 |
+
| 5.1442 | 2.0 | 308 | 0.0630 | 4.9534 |
|
| 73 |
+
| 4.3147 | 3.0 | 462 | 0.1715 | 4.0494 |
|
| 74 |
+
| 3.6217 | 4.0 | 616 | 0.3154 | 3.1552 |
|
| 75 |
+
| 2.8758 | 5.0 | 770 | 0.4598 | 2.3913 |
|
| 76 |
+
| 2.5127 | 6.0 | 924 | 0.5736 | 1.8551 |
|
| 77 |
+
| 2.0255 | 7.0 | 1078 | 0.6480 | 1.4583 |
|
| 78 |
+
| 1.7498 | 8.0 | 1232 | 0.7301 | 1.1673 |
|
| 79 |
+
| 1.5827 | 9.0 | 1386 | 0.7545 | 0.9545 |
|
| 80 |
+
| 1.3878 | 10.0 | 1540 | 0.8 | 0.7889 |
|
| 81 |
+
| 1.2023 | 11.0 | 1694 | 0.8122 | 0.7008 |
|
| 82 |
+
| 1.0313 | 12.0 | 1848 | 0.8394 | 0.5885 |
|
| 83 |
+
| 0.9895 | 13.0 | 2002 | 0.8480 | 0.5341 |
|
| 84 |
+
| 0.8701 | 14.0 | 2156 | 0.8512 | 0.5032 |
|
| 85 |
+
| 0.7848 | 15.0 | 2310 | 0.8728 | 0.4448 |
|
| 86 |
+
| 0.8012 | 16.0 | 2464 | 0.8569 | 0.4308 |
|
| 87 |
+
| 0.6994 | 17.0 | 2618 | 0.8866 | 0.3686 |
|
| 88 |
+
| 0.6097 | 18.0 | 2772 | 0.8829 | 0.3650 |
|
| 89 |
+
| 0.5716 | 19.0 | 2926 | 0.8817 | 0.3683 |
|
| 90 |
+
| 0.5551 | 20.0 | 3080 | 0.8862 | 0.3425 |
|
| 91 |
+
| 0.6083 | 21.0 | 3234 | 0.9020 | 0.3025 |
|
| 92 |
+
| 0.5 | 22.0 | 3388 | 0.8980 | 0.3025 |
|
| 93 |
+
| 0.5356 | 23.0 | 3542 | 0.8931 | 0.2901 |
|
| 94 |
+
| 0.4927 | 24.0 | 3696 | 0.9057 | 0.2807 |
|
| 95 |
+
| 0.4471 | 25.0 | 3850 | 0.8972 | 0.2655 |
|
| 96 |
+
| 0.46 | 26.0 | 4004 | 0.9028 | 0.2563 |
|
| 97 |
+
| 0.4675 | 27.0 | 4158 | 0.9004 | 0.2587 |
|
| 98 |
+
| 0.3876 | 28.0 | 4312 | 0.9118 | 0.2395 |
|
| 99 |
+
| 0.3754 | 29.0 | 4466 | 0.9118 | 0.2324 |
|
| 100 |
+
| 0.3685 | 30.0 | 4620 | 0.2299 | 0.9110 |
|
| 101 |
+
| 0.4442 | 31.0 | 4774 | 0.2392 | 0.9093 |
|
| 102 |
+
| 0.3946 | 32.0 | 4928 | 0.2270 | 0.9085 |
|
| 103 |
+
| 0.3452 | 33.0 | 5082 | 0.2412 | 0.9089 |
|
| 104 |
+
| 0.4025 | 34.0 | 5236 | 0.2203 | 0.9138 |
|
| 105 |
+
| 0.3293 | 35.0 | 5390 | 0.2195 | 0.9102 |
|
| 106 |
+
| 0.3391 | 36.0 | 5544 | 0.2185 | 0.9154 |
|
| 107 |
+
| 0.3225 | 37.0 | 5698 | 0.2242 | 0.9085 |
|
| 108 |
+
| 0.2877 | 38.0 | 5852 | 0.2092 | 0.9183 |
|
| 109 |
+
| 0.3184 | 39.0 | 6006 | 0.2048 | 0.9175 |
|
| 110 |
+
| 0.2992 | 40.0 | 6160 | 0.2102 | 0.9163 |
|
| 111 |
+
| 0.2696 | 41.0 | 6314 | 0.2025 | 0.9114 |
|
| 112 |
+
| 0.3523 | 42.0 | 6468 | 0.2208 | 0.9077 |
|
| 113 |
+
| 0.3203 | 43.0 | 6622 | 0.2103 | 0.9195 |
|
| 114 |
+
| 0.2708 | 44.0 | 6776 | 0.2088 | 0.9150 |
|
| 115 |
+
| 0.2763 | 45.0 | 6930 | 0.1997 | 0.9191 |
|
| 116 |
+
| 0.2673 | 46.0 | 7084 | 0.1900 | 0.9195 |
|
| 117 |
+
| 0.2755 | 47.0 | 7238 | 0.1986 | 0.9154 |
|
| 118 |
+
| 0.2548 | 48.0 | 7392 | 0.2074 | 0.9138 |
|
| 119 |
+
| 0.2807 | 49.0 | 7546 | 0.1912 | 0.9211 |
|
| 120 |
+
| 0.2604 | 50.0 | 7700 | 0.1982 | 0.9207 |
|
| 121 |
|
| 122 |
|
| 123 |
### Framework versions
|
| 124 |
|
| 125 |
- Transformers 4.53.3
|
| 126 |
+
- Pytorch 2.7.1
|
| 127 |
+
- Datasets 4.0.0
|
| 128 |
- Tokenizers 0.21.2
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 45263012
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a2c647fc27b6750160c6c85e36d3214837b99f214dc2844c552d09f3fe63f22
|
| 3 |
size 45263012
|