ahishamm commited on
Commit
34aea88
·
1 Parent(s): 7d23a77

Uploaded Model

Browse files
README.md CHANGED
@@ -2,6 +2,7 @@
2
  license: apache-2.0
3
  base_model: google/vit-base-patch16-224-in21k
4
  tags:
 
5
  - generated_from_trainer
6
  metrics:
7
  - accuracy
@@ -18,7 +19,7 @@ should probably proofread and complete it, then remove this comment. -->
18
 
19
  # vit-base-16-thesis-demo-ISIC-multi-class
20
 
21
- This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
22
  It achieves the following results on the evaluation set:
23
  - Loss: 0.0906
24
  - Accuracy: 0.9748
 
2
  license: apache-2.0
3
  base_model: google/vit-base-patch16-224-in21k
4
  tags:
5
+ - image-classification
6
  - generated_from_trainer
7
  metrics:
8
  - accuracy
 
19
 
20
  # vit-base-16-thesis-demo-ISIC-multi-class
21
 
22
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the ahishamm/isic_enhanced_dec_balanced dataset.
23
  It achieves the following results on the evaluation set:
24
  - Loss: 0.0906
25
  - Accuracy: 0.9748
all_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "eval_accuracy": 0.9748427672955975,
4
+ "eval_f1": 0.9748427672955975,
5
+ "eval_loss": 0.0906025692820549,
6
+ "eval_precision": 0.9748427672955975,
7
+ "eval_recall": 0.9748427672955975,
8
+ "eval_runtime": 18.8965,
9
+ "eval_samples_per_second": 8.414,
10
+ "eval_steps_per_second": 1.058,
11
+ "total_flos": 2.5014638443873075e+17,
12
+ "train_loss": 0.33582471369528305,
13
+ "train_runtime": 621.9278,
14
+ "train_samples_per_second": 5.19,
15
+ "train_steps_per_second": 0.328
16
+ }
eval_results.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "eval_accuracy": 0.9748427672955975,
4
+ "eval_f1": 0.9748427672955975,
5
+ "eval_loss": 0.0906025692820549,
6
+ "eval_precision": 0.9748427672955975,
7
+ "eval_recall": 0.9748427672955975,
8
+ "eval_runtime": 18.8965,
9
+ "eval_samples_per_second": 8.414,
10
+ "eval_steps_per_second": 1.058
11
+ }
runs/Dec05_17-35-20_4c4fe4bfbb13/events.out.tfevents.1701798389.4c4fe4bfbb13.521.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:687c070643a99250523b5a77970cc0d81157fc9b331311e6e1ca8cf9dd69e808
3
+ size 560
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "total_flos": 2.5014638443873075e+17,
4
+ "train_loss": 0.33582471369528305,
5
+ "train_runtime": 621.9278,
6
+ "train_samples_per_second": 5.19,
7
+ "train_steps_per_second": 0.328
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,196 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.0906025692820549,
3
+ "best_model_checkpoint": "./vit-base-16-thesis-demo-ISIC-multi-class/checkpoint-200",
4
+ "epoch": 4.0,
5
+ "eval_steps": 50,
6
+ "global_step": 204,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.2,
13
+ "learning_rate": 0.00019019607843137254,
14
+ "loss": 0.9473,
15
+ "step": 10
16
+ },
17
+ {
18
+ "epoch": 0.39,
19
+ "learning_rate": 0.0001803921568627451,
20
+ "loss": 0.6725,
21
+ "step": 20
22
+ },
23
+ {
24
+ "epoch": 0.59,
25
+ "learning_rate": 0.00017058823529411766,
26
+ "loss": 0.6139,
27
+ "step": 30
28
+ },
29
+ {
30
+ "epoch": 0.78,
31
+ "learning_rate": 0.00016078431372549022,
32
+ "loss": 0.5606,
33
+ "step": 40
34
+ },
35
+ {
36
+ "epoch": 0.98,
37
+ "learning_rate": 0.00015196078431372549,
38
+ "loss": 0.575,
39
+ "step": 50
40
+ },
41
+ {
42
+ "epoch": 0.98,
43
+ "eval_accuracy": 0.8490566037735849,
44
+ "eval_f1": 0.8490566037735849,
45
+ "eval_loss": 0.4132387042045593,
46
+ "eval_precision": 0.8490566037735849,
47
+ "eval_recall": 0.8490566037735849,
48
+ "eval_runtime": 20.7397,
49
+ "eval_samples_per_second": 7.666,
50
+ "eval_steps_per_second": 0.964,
51
+ "step": 50
52
+ },
53
+ {
54
+ "epoch": 1.18,
55
+ "learning_rate": 0.00014215686274509804,
56
+ "loss": 0.5265,
57
+ "step": 60
58
+ },
59
+ {
60
+ "epoch": 1.37,
61
+ "learning_rate": 0.0001323529411764706,
62
+ "loss": 0.4456,
63
+ "step": 70
64
+ },
65
+ {
66
+ "epoch": 1.57,
67
+ "learning_rate": 0.00012254901960784316,
68
+ "loss": 0.3044,
69
+ "step": 80
70
+ },
71
+ {
72
+ "epoch": 1.76,
73
+ "learning_rate": 0.0001127450980392157,
74
+ "loss": 0.3829,
75
+ "step": 90
76
+ },
77
+ {
78
+ "epoch": 1.96,
79
+ "learning_rate": 0.00010294117647058823,
80
+ "loss": 0.2771,
81
+ "step": 100
82
+ },
83
+ {
84
+ "epoch": 1.96,
85
+ "eval_accuracy": 0.9182389937106918,
86
+ "eval_f1": 0.9182389937106918,
87
+ "eval_loss": 0.23294508457183838,
88
+ "eval_precision": 0.9182389937106918,
89
+ "eval_recall": 0.9182389937106918,
90
+ "eval_runtime": 18.6716,
91
+ "eval_samples_per_second": 8.516,
92
+ "eval_steps_per_second": 1.071,
93
+ "step": 100
94
+ },
95
+ {
96
+ "epoch": 2.16,
97
+ "learning_rate": 9.313725490196079e-05,
98
+ "loss": 0.2781,
99
+ "step": 110
100
+ },
101
+ {
102
+ "epoch": 2.35,
103
+ "learning_rate": 8.333333333333334e-05,
104
+ "loss": 0.2399,
105
+ "step": 120
106
+ },
107
+ {
108
+ "epoch": 2.55,
109
+ "learning_rate": 7.352941176470589e-05,
110
+ "loss": 0.1721,
111
+ "step": 130
112
+ },
113
+ {
114
+ "epoch": 2.75,
115
+ "learning_rate": 6.372549019607843e-05,
116
+ "loss": 0.1759,
117
+ "step": 140
118
+ },
119
+ {
120
+ "epoch": 2.94,
121
+ "learning_rate": 5.392156862745098e-05,
122
+ "loss": 0.1703,
123
+ "step": 150
124
+ },
125
+ {
126
+ "epoch": 2.94,
127
+ "eval_accuracy": 0.949685534591195,
128
+ "eval_f1": 0.949685534591195,
129
+ "eval_loss": 0.18214598298072815,
130
+ "eval_precision": 0.949685534591195,
131
+ "eval_recall": 0.949685534591195,
132
+ "eval_runtime": 19.3259,
133
+ "eval_samples_per_second": 8.227,
134
+ "eval_steps_per_second": 1.035,
135
+ "step": 150
136
+ },
137
+ {
138
+ "epoch": 3.14,
139
+ "learning_rate": 4.411764705882353e-05,
140
+ "loss": 0.0989,
141
+ "step": 160
142
+ },
143
+ {
144
+ "epoch": 3.33,
145
+ "learning_rate": 3.431372549019608e-05,
146
+ "loss": 0.0797,
147
+ "step": 170
148
+ },
149
+ {
150
+ "epoch": 3.53,
151
+ "learning_rate": 2.4509803921568626e-05,
152
+ "loss": 0.1056,
153
+ "step": 180
154
+ },
155
+ {
156
+ "epoch": 3.73,
157
+ "learning_rate": 1.4705882352941177e-05,
158
+ "loss": 0.0492,
159
+ "step": 190
160
+ },
161
+ {
162
+ "epoch": 3.92,
163
+ "learning_rate": 4.901960784313726e-06,
164
+ "loss": 0.1186,
165
+ "step": 200
166
+ },
167
+ {
168
+ "epoch": 3.92,
169
+ "eval_accuracy": 0.9748427672955975,
170
+ "eval_f1": 0.9748427672955975,
171
+ "eval_loss": 0.0906025692820549,
172
+ "eval_precision": 0.9748427672955975,
173
+ "eval_recall": 0.9748427672955975,
174
+ "eval_runtime": 18.0737,
175
+ "eval_samples_per_second": 8.797,
176
+ "eval_steps_per_second": 1.107,
177
+ "step": 200
178
+ },
179
+ {
180
+ "epoch": 4.0,
181
+ "step": 204,
182
+ "total_flos": 2.5014638443873075e+17,
183
+ "train_loss": 0.33582471369528305,
184
+ "train_runtime": 621.9278,
185
+ "train_samples_per_second": 5.19,
186
+ "train_steps_per_second": 0.328
187
+ }
188
+ ],
189
+ "logging_steps": 10,
190
+ "max_steps": 204,
191
+ "num_train_epochs": 4,
192
+ "save_steps": 50,
193
+ "total_flos": 2.5014638443873075e+17,
194
+ "trial_name": null,
195
+ "trial_params": null
196
+ }