Upload config.json
Browse files- config.json +31 -0
config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": ["ViTForImageClassification"],
|
3 |
+
"attention_probs_dropout_prob": 0.1,
|
4 |
+
"hidden_act": "gelu",
|
5 |
+
"hidden_dropout_prob": 0.1,
|
6 |
+
"hidden_size": 768,
|
7 |
+
"initializer_range": 0.02,
|
8 |
+
"intermediate_size": 3072,
|
9 |
+
"layer_norm_eps": 1e-12,
|
10 |
+
"max_position_embeddings": 512,
|
11 |
+
"num_attention_heads": 12,
|
12 |
+
"num_hidden_layers": 12,
|
13 |
+
"patch_size": 16,
|
14 |
+
"transformers_version": "4.0.0",
|
15 |
+
"image_size": 224,
|
16 |
+
"num_labels": 5,
|
17 |
+
"id2label": {
|
18 |
+
"0": "Monkeypox",
|
19 |
+
"1": "Sarampion",
|
20 |
+
"2": "Varicela",
|
21 |
+
"3": "Herpes",
|
22 |
+
"4": "Melanoma"
|
23 |
+
},
|
24 |
+
"label2id": {
|
25 |
+
"Monkeypox": 0,
|
26 |
+
"Sarampion": 1,
|
27 |
+
"Varicela": 2,
|
28 |
+
"Herpes": 3,
|
29 |
+
"Melanoma": 4
|
30 |
+
}
|
31 |
+
}
|