Update config.json
Browse files- config.json +19 -1
config.json
CHANGED
@@ -8,9 +8,27 @@
|
|
8 |
"hidden_act": "gelu",
|
9 |
"hidden_dropout_prob": 0.0,
|
10 |
"hidden_size": 768,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
"image_size": 224,
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 3072,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
"layer_norm_eps": 1e-12,
|
15 |
"model_type": "vit",
|
16 |
"num_attention_heads": 12,
|
@@ -20,4 +38,4 @@
|
|
20 |
"qkv_bias": true,
|
21 |
"torch_dtype": "float32",
|
22 |
"transformers_version": "4.38.2"
|
23 |
-
}
|
|
|
8 |
"hidden_act": "gelu",
|
9 |
"hidden_dropout_prob": 0.0,
|
10 |
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "benign_keratosis-like_lesions",
|
13 |
+
"1": "basal_cell_carcinoma",
|
14 |
+
"2": "actinic_keratoses",
|
15 |
+
"3": "vascular_lesions",
|
16 |
+
"4": "melanocytic_Nevi",
|
17 |
+
"5": "melanoma",
|
18 |
+
"6": "dermatofibroma"
|
19 |
+
},
|
20 |
"image_size": 224,
|
21 |
"initializer_range": 0.02,
|
22 |
"intermediate_size": 3072,
|
23 |
+
"label2id": {
|
24 |
+
"benign_keratosis-like_lesions": 0,
|
25 |
+
"basal_cell_carcinoma": 1,
|
26 |
+
"actinic_keratoses": 2,
|
27 |
+
"vascular_lesions": 3,
|
28 |
+
"melanocytic_Nevi": 4,
|
29 |
+
"melanoma": 5,
|
30 |
+
"dermatofibroma": 6
|
31 |
+
},
|
32 |
"layer_norm_eps": 1e-12,
|
33 |
"model_type": "vit",
|
34 |
"num_attention_heads": 12,
|
|
|
38 |
"qkv_bias": true,
|
39 |
"torch_dtype": "float32",
|
40 |
"transformers_version": "4.38.2"
|
41 |
+
}
|