rsarbhangia-frac
commited on
Commit
•
8722d3d
1
Parent(s):
7afdb7e
Training in progress, epoch 1
Browse files- all_results.json +13 -0
- config.json +115 -0
- eval_results.json +8 -0
- model.safetensors +3 -0
- preprocessor_config.json +27 -0
- train_results.json +8 -0
- trainer_state.json +181 -0
- training_args.bin +3 -0
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"eval_accuracy": 0.8239795918367347,
|
4 |
+
"eval_loss": 0.5953671932220459,
|
5 |
+
"eval_runtime": 5.6208,
|
6 |
+
"eval_samples_per_second": 69.741,
|
7 |
+
"eval_steps_per_second": 0.712,
|
8 |
+
"total_flos": 3.601200153797591e+18,
|
9 |
+
"train_loss": 1.0979123047419956,
|
10 |
+
"train_runtime": 797.9064,
|
11 |
+
"train_samples_per_second": 44.166,
|
12 |
+
"train_steps_per_second": 0.088
|
13 |
+
}
|
config.json
ADDED
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/dinov2-base",
|
3 |
+
"apply_layernorm": true,
|
4 |
+
"architectures": [
|
5 |
+
"Dinov2ForImageClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.0,
|
8 |
+
"drop_path_rate": 0.0,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.0,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "Basal Cell Carcinoma",
|
14 |
+
"1": "Darier_s Disease",
|
15 |
+
"2": "Epidermolysis Bullosa Pruriginosa",
|
16 |
+
"3": "Hailey-Hailey Disease",
|
17 |
+
"4": "Herpes Simplex",
|
18 |
+
"5": "Impetigo",
|
19 |
+
"6": "Larva Migrans",
|
20 |
+
"7": "Leprosy Borderline",
|
21 |
+
"8": "Leprosy Lepromatous",
|
22 |
+
"9": "Leprosy Tuberculoid",
|
23 |
+
"10": "Lichen Planus",
|
24 |
+
"11": "Lupus Erythematosus Chronicus Discoides",
|
25 |
+
"12": "Melanoma",
|
26 |
+
"13": "Molluscum Contagiosum",
|
27 |
+
"14": "Mycosis Fungoides",
|
28 |
+
"15": "Neurofibromatosis",
|
29 |
+
"16": "Papilomatosis Confluentes And Reticulate",
|
30 |
+
"17": "Pediculosis Capitis",
|
31 |
+
"18": "Pityriasis Rosea",
|
32 |
+
"19": "Porokeratosis Actinic",
|
33 |
+
"20": "Psoriasis",
|
34 |
+
"21": "Tinea Corporis",
|
35 |
+
"22": "Tinea Nigra",
|
36 |
+
"23": "Tungiasis",
|
37 |
+
"24": "actinic keratosis",
|
38 |
+
"25": "dermatofibroma",
|
39 |
+
"26": "nevus",
|
40 |
+
"27": "pigmented benign keratosis",
|
41 |
+
"28": "seborrheic keratosis",
|
42 |
+
"29": "squamous cell carcinoma",
|
43 |
+
"30": "vascular lesion"
|
44 |
+
},
|
45 |
+
"image_size": 518,
|
46 |
+
"initializer_range": 0.02,
|
47 |
+
"label2id": {
|
48 |
+
"Basal Cell Carcinoma": 0,
|
49 |
+
"Darier_s Disease": 1,
|
50 |
+
"Epidermolysis Bullosa Pruriginosa": 2,
|
51 |
+
"Hailey-Hailey Disease": 3,
|
52 |
+
"Herpes Simplex": 4,
|
53 |
+
"Impetigo": 5,
|
54 |
+
"Larva Migrans": 6,
|
55 |
+
"Leprosy Borderline": 7,
|
56 |
+
"Leprosy Lepromatous": 8,
|
57 |
+
"Leprosy Tuberculoid": 9,
|
58 |
+
"Lichen Planus": 10,
|
59 |
+
"Lupus Erythematosus Chronicus Discoides": 11,
|
60 |
+
"Melanoma": 12,
|
61 |
+
"Molluscum Contagiosum": 13,
|
62 |
+
"Mycosis Fungoides": 14,
|
63 |
+
"Neurofibromatosis": 15,
|
64 |
+
"Papilomatosis Confluentes And Reticulate": 16,
|
65 |
+
"Pediculosis Capitis": 17,
|
66 |
+
"Pityriasis Rosea": 18,
|
67 |
+
"Porokeratosis Actinic": 19,
|
68 |
+
"Psoriasis": 20,
|
69 |
+
"Tinea Corporis": 21,
|
70 |
+
"Tinea Nigra": 22,
|
71 |
+
"Tungiasis": 23,
|
72 |
+
"actinic keratosis": 24,
|
73 |
+
"dermatofibroma": 25,
|
74 |
+
"nevus": 26,
|
75 |
+
"pigmented benign keratosis": 27,
|
76 |
+
"seborrheic keratosis": 28,
|
77 |
+
"squamous cell carcinoma": 29,
|
78 |
+
"vascular lesion": 30
|
79 |
+
},
|
80 |
+
"layer_norm_eps": 1e-06,
|
81 |
+
"layerscale_value": 1.0,
|
82 |
+
"mlp_ratio": 4,
|
83 |
+
"model_type": "dinov2",
|
84 |
+
"num_attention_heads": 12,
|
85 |
+
"num_channels": 3,
|
86 |
+
"num_hidden_layers": 12,
|
87 |
+
"out_features": [
|
88 |
+
"stage12"
|
89 |
+
],
|
90 |
+
"out_indices": [
|
91 |
+
12
|
92 |
+
],
|
93 |
+
"patch_size": 14,
|
94 |
+
"problem_type": "single_label_classification",
|
95 |
+
"qkv_bias": true,
|
96 |
+
"reshape_hidden_states": true,
|
97 |
+
"stage_names": [
|
98 |
+
"stem",
|
99 |
+
"stage1",
|
100 |
+
"stage2",
|
101 |
+
"stage3",
|
102 |
+
"stage4",
|
103 |
+
"stage5",
|
104 |
+
"stage6",
|
105 |
+
"stage7",
|
106 |
+
"stage8",
|
107 |
+
"stage9",
|
108 |
+
"stage10",
|
109 |
+
"stage11",
|
110 |
+
"stage12"
|
111 |
+
],
|
112 |
+
"torch_dtype": "float32",
|
113 |
+
"transformers_version": "4.46.2",
|
114 |
+
"use_swiglu_ffn": false
|
115 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"eval_accuracy": 0.8239795918367347,
|
4 |
+
"eval_loss": 0.5953671932220459,
|
5 |
+
"eval_runtime": 5.6208,
|
6 |
+
"eval_samples_per_second": 69.741,
|
7 |
+
"eval_steps_per_second": 0.712
|
8 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5e198700d55895d7d6a9f2b53e6c58d11ff4d503170fefd5d4c5c9207b1866b7
|
3 |
+
size 346538228
|
preprocessor_config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": {
|
3 |
+
"height": 224,
|
4 |
+
"width": 224
|
5 |
+
},
|
6 |
+
"do_center_crop": true,
|
7 |
+
"do_convert_rgb": true,
|
8 |
+
"do_normalize": true,
|
9 |
+
"do_rescale": true,
|
10 |
+
"do_resize": true,
|
11 |
+
"image_mean": [
|
12 |
+
0.485,
|
13 |
+
0.456,
|
14 |
+
0.406
|
15 |
+
],
|
16 |
+
"image_processor_type": "BitImageProcessor",
|
17 |
+
"image_std": [
|
18 |
+
0.229,
|
19 |
+
0.224,
|
20 |
+
0.225
|
21 |
+
],
|
22 |
+
"resample": 3,
|
23 |
+
"rescale_factor": 0.00392156862745098,
|
24 |
+
"size": {
|
25 |
+
"shortest_edge": 256
|
26 |
+
}
|
27 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"total_flos": 3.601200153797591e+18,
|
4 |
+
"train_loss": 1.0979123047419956,
|
5 |
+
"train_runtime": 797.9064,
|
6 |
+
"train_samples_per_second": 44.166,
|
7 |
+
"train_steps_per_second": 0.088
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,181 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.8239795918367347,
|
3 |
+
"best_model_checkpoint": "dinov2-base-rawdata-finetuned-SkinDisease/checkpoint-70",
|
4 |
+
"epoch": 10.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 70,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 1.0,
|
13 |
+
"eval_accuracy": 0.29336734693877553,
|
14 |
+
"eval_loss": 2.5043179988861084,
|
15 |
+
"eval_runtime": 6.2443,
|
16 |
+
"eval_samples_per_second": 62.777,
|
17 |
+
"eval_steps_per_second": 0.641,
|
18 |
+
"step": 7
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"epoch": 1.4285714285714286,
|
22 |
+
"grad_norm": 91.53591918945312,
|
23 |
+
"learning_rate": 4.761904761904762e-05,
|
24 |
+
"loss": 3.0966,
|
25 |
+
"step": 10
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 2.0,
|
29 |
+
"eval_accuracy": 0.40561224489795916,
|
30 |
+
"eval_loss": 1.808035135269165,
|
31 |
+
"eval_runtime": 5.5878,
|
32 |
+
"eval_samples_per_second": 70.153,
|
33 |
+
"eval_steps_per_second": 0.716,
|
34 |
+
"step": 14
|
35 |
+
},
|
36 |
+
{
|
37 |
+
"epoch": 2.857142857142857,
|
38 |
+
"grad_norm": 78.80509948730469,
|
39 |
+
"learning_rate": 3.968253968253968e-05,
|
40 |
+
"loss": 1.6416,
|
41 |
+
"step": 20
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 3.0,
|
45 |
+
"eval_accuracy": 0.5561224489795918,
|
46 |
+
"eval_loss": 1.3656367063522339,
|
47 |
+
"eval_runtime": 6.0741,
|
48 |
+
"eval_samples_per_second": 64.537,
|
49 |
+
"eval_steps_per_second": 0.659,
|
50 |
+
"step": 21
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 4.0,
|
54 |
+
"eval_accuracy": 0.6632653061224489,
|
55 |
+
"eval_loss": 1.0316075086593628,
|
56 |
+
"eval_runtime": 6.0396,
|
57 |
+
"eval_samples_per_second": 64.905,
|
58 |
+
"eval_steps_per_second": 0.662,
|
59 |
+
"step": 28
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 4.285714285714286,
|
63 |
+
"grad_norm": 47.57957077026367,
|
64 |
+
"learning_rate": 3.1746031746031745e-05,
|
65 |
+
"loss": 0.9959,
|
66 |
+
"step": 30
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"epoch": 5.0,
|
70 |
+
"eval_accuracy": 0.6989795918367347,
|
71 |
+
"eval_loss": 0.9350685477256775,
|
72 |
+
"eval_runtime": 5.5096,
|
73 |
+
"eval_samples_per_second": 71.149,
|
74 |
+
"eval_steps_per_second": 0.726,
|
75 |
+
"step": 35
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 5.714285714285714,
|
79 |
+
"grad_norm": 51.770687103271484,
|
80 |
+
"learning_rate": 2.380952380952381e-05,
|
81 |
+
"loss": 0.7114,
|
82 |
+
"step": 40
|
83 |
+
},
|
84 |
+
{
|
85 |
+
"epoch": 6.0,
|
86 |
+
"eval_accuracy": 0.7091836734693877,
|
87 |
+
"eval_loss": 0.840167224407196,
|
88 |
+
"eval_runtime": 6.6782,
|
89 |
+
"eval_samples_per_second": 58.698,
|
90 |
+
"eval_steps_per_second": 0.599,
|
91 |
+
"step": 42
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"epoch": 7.0,
|
95 |
+
"eval_accuracy": 0.7551020408163265,
|
96 |
+
"eval_loss": 0.7250941395759583,
|
97 |
+
"eval_runtime": 6.5348,
|
98 |
+
"eval_samples_per_second": 59.986,
|
99 |
+
"eval_steps_per_second": 0.612,
|
100 |
+
"step": 49
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 7.142857142857143,
|
104 |
+
"grad_norm": 48.86288070678711,
|
105 |
+
"learning_rate": 1.5873015873015872e-05,
|
106 |
+
"loss": 0.5098,
|
107 |
+
"step": 50
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 8.0,
|
111 |
+
"eval_accuracy": 0.7882653061224489,
|
112 |
+
"eval_loss": 0.6774773597717285,
|
113 |
+
"eval_runtime": 6.5943,
|
114 |
+
"eval_samples_per_second": 59.445,
|
115 |
+
"eval_steps_per_second": 0.607,
|
116 |
+
"step": 56
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 8.571428571428571,
|
120 |
+
"grad_norm": 50.32086944580078,
|
121 |
+
"learning_rate": 7.936507936507936e-06,
|
122 |
+
"loss": 0.394,
|
123 |
+
"step": 60
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"epoch": 9.0,
|
127 |
+
"eval_accuracy": 0.7908163265306123,
|
128 |
+
"eval_loss": 0.6402073502540588,
|
129 |
+
"eval_runtime": 5.5562,
|
130 |
+
"eval_samples_per_second": 70.552,
|
131 |
+
"eval_steps_per_second": 0.72,
|
132 |
+
"step": 63
|
133 |
+
},
|
134 |
+
{
|
135 |
+
"epoch": 10.0,
|
136 |
+
"grad_norm": 39.44784164428711,
|
137 |
+
"learning_rate": 0.0,
|
138 |
+
"loss": 0.336,
|
139 |
+
"step": 70
|
140 |
+
},
|
141 |
+
{
|
142 |
+
"epoch": 10.0,
|
143 |
+
"eval_accuracy": 0.8239795918367347,
|
144 |
+
"eval_loss": 0.5953671932220459,
|
145 |
+
"eval_runtime": 5.497,
|
146 |
+
"eval_samples_per_second": 71.312,
|
147 |
+
"eval_steps_per_second": 0.728,
|
148 |
+
"step": 70
|
149 |
+
},
|
150 |
+
{
|
151 |
+
"epoch": 10.0,
|
152 |
+
"step": 70,
|
153 |
+
"total_flos": 3.601200153797591e+18,
|
154 |
+
"train_loss": 1.0979123047419956,
|
155 |
+
"train_runtime": 797.9064,
|
156 |
+
"train_samples_per_second": 44.166,
|
157 |
+
"train_steps_per_second": 0.088
|
158 |
+
}
|
159 |
+
],
|
160 |
+
"logging_steps": 10,
|
161 |
+
"max_steps": 70,
|
162 |
+
"num_input_tokens_seen": 0,
|
163 |
+
"num_train_epochs": 10,
|
164 |
+
"save_steps": 500,
|
165 |
+
"stateful_callbacks": {
|
166 |
+
"TrainerControl": {
|
167 |
+
"args": {
|
168 |
+
"should_epoch_stop": false,
|
169 |
+
"should_evaluate": false,
|
170 |
+
"should_log": false,
|
171 |
+
"should_save": true,
|
172 |
+
"should_training_stop": true
|
173 |
+
},
|
174 |
+
"attributes": {}
|
175 |
+
}
|
176 |
+
},
|
177 |
+
"total_flos": 3.601200153797591e+18,
|
178 |
+
"train_batch_size": 128,
|
179 |
+
"trial_name": null,
|
180 |
+
"trial_params": null
|
181 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:48a09dd1eeffd4a32d70f9ec4ba430342c0373cb25fd8c07d718416db5459084
|
3 |
+
size 5304
|