Augusto777 commited on
Commit
11adc6f
1 Parent(s): baedc08

Model save

Browse files
README.md ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/vit-base-patch16-224
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: vit-base-patch16-224-R1-40
12
+ results:
13
+ - task:
14
+ name: Image Classification
15
+ type: image-classification
16
+ dataset:
17
+ name: imagefolder
18
+ type: imagefolder
19
+ config: default
20
+ split: validation
21
+ args: default
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.7540983606557377
26
+ ---
27
+
28
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
29
+ should probably proofread and complete it, then remove this comment. -->
30
+
31
+ # vit-base-patch16-224-R1-40
32
+
33
+ This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the imagefolder dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 1.7220
36
+ - Accuracy: 0.7541
37
+
38
+ ## Model description
39
+
40
+ More information needed
41
+
42
+ ## Intended uses & limitations
43
+
44
+ More information needed
45
+
46
+ ## Training and evaluation data
47
+
48
+ More information needed
49
+
50
+ ## Training procedure
51
+
52
+ ### Training hyperparameters
53
+
54
+ The following hyperparameters were used during training:
55
+ - learning_rate: 5.5e-05
56
+ - train_batch_size: 32
57
+ - eval_batch_size: 32
58
+ - seed: 42
59
+ - gradient_accumulation_steps: 4
60
+ - total_train_batch_size: 128
61
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
62
+ - lr_scheduler_type: linear
63
+ - lr_scheduler_warmup_ratio: 0.05
64
+ - num_epochs: 40
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
+ | 1.3233 | 0.99 | 38 | 1.2355 | 0.5574 |
71
+ | 0.8643 | 1.99 | 76 | 0.9297 | 0.5902 |
72
+ | 0.4464 | 2.98 | 114 | 1.1190 | 0.6393 |
73
+ | 0.3092 | 4.0 | 153 | 0.9861 | 0.7049 |
74
+ | 0.1628 | 4.99 | 191 | 1.1221 | 0.6721 |
75
+ | 0.121 | 5.99 | 229 | 1.1710 | 0.6885 |
76
+ | 0.1138 | 6.98 | 267 | 1.1993 | 0.7213 |
77
+ | 0.1124 | 8.0 | 306 | 1.2636 | 0.6885 |
78
+ | 0.0748 | 8.99 | 344 | 1.3881 | 0.7049 |
79
+ | 0.0877 | 9.99 | 382 | 1.2892 | 0.7213 |
80
+ | 0.0642 | 10.98 | 420 | 1.3759 | 0.7049 |
81
+ | 0.0675 | 12.0 | 459 | 1.4283 | 0.7213 |
82
+ | 0.0694 | 12.99 | 497 | 1.3616 | 0.7213 |
83
+ | 0.0689 | 13.99 | 535 | 1.3864 | 0.7213 |
84
+ | 0.0378 | 14.98 | 573 | 1.4322 | 0.7213 |
85
+ | 0.0472 | 16.0 | 612 | 1.6004 | 0.7213 |
86
+ | 0.044 | 16.99 | 650 | 1.5810 | 0.7049 |
87
+ | 0.0386 | 17.99 | 688 | 1.6404 | 0.6885 |
88
+ | 0.0341 | 18.98 | 726 | 1.5698 | 0.7377 |
89
+ | 0.0328 | 20.0 | 765 | 1.6720 | 0.6885 |
90
+ | 0.0444 | 20.99 | 803 | 1.6269 | 0.7213 |
91
+ | 0.0342 | 21.99 | 841 | 1.6345 | 0.7377 |
92
+ | 0.0324 | 22.98 | 879 | 1.7916 | 0.7049 |
93
+ | 0.023 | 24.0 | 918 | 1.8753 | 0.6885 |
94
+ | 0.048 | 24.99 | 956 | 1.7679 | 0.7377 |
95
+ | 0.0202 | 25.99 | 994 | 1.7212 | 0.7541 |
96
+ | 0.0336 | 26.98 | 1032 | 1.7305 | 0.7377 |
97
+ | 0.0163 | 28.0 | 1071 | 1.7576 | 0.7049 |
98
+ | 0.0186 | 28.99 | 1109 | 1.7540 | 0.7377 |
99
+ | 0.0189 | 29.99 | 1147 | 1.6594 | 0.7541 |
100
+ | 0.039 | 30.98 | 1185 | 1.7423 | 0.7213 |
101
+ | 0.0194 | 32.0 | 1224 | 1.7148 | 0.7377 |
102
+ | 0.0205 | 32.99 | 1262 | 1.6965 | 0.7377 |
103
+ | 0.0186 | 33.99 | 1300 | 1.7553 | 0.7541 |
104
+ | 0.0177 | 34.98 | 1338 | 1.7476 | 0.7377 |
105
+ | 0.0132 | 36.0 | 1377 | 1.7506 | 0.7541 |
106
+ | 0.0068 | 36.99 | 1415 | 1.6917 | 0.7377 |
107
+ | 0.0121 | 37.99 | 1453 | 1.7276 | 0.7541 |
108
+ | 0.0129 | 38.98 | 1491 | 1.7218 | 0.7541 |
109
+ | 0.0067 | 39.74 | 1520 | 1.7220 | 0.7541 |
110
+
111
+
112
+ ### Framework versions
113
+
114
+ - Transformers 4.36.2
115
+ - Pytorch 2.1.2+cu118
116
+ - Datasets 2.16.1
117
+ - Tokenizers 0.15.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dd08e98141f3876ad35f9349ccfefdc15a12d90838ef7f5bb7669cf9cd8090bd
3
  size 343230128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92587eedc7b1d03e5106e1e82961a941881973357ac97074c42f5d81ef891f3a
3
  size 343230128
runs/May23_15-34-03_DESKTOP-SKBE9FB/events.out.tfevents.1716500045.DESKTOP-SKBE9FB.15104.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:52ce39ac2a7608b3de4530c3977c3a385056761e5c010dbeb48fd9ff7e4223e2
3
- size 40422
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0b7b864cd2e3c88826404a6054eca6481653b8e4a4a20766c10a47f6bd2b2e5
3
+ size 41570