krzonkalla
commited on
Commit
•
d8b9a68
1
Parent(s):
dbab0c1
Upload 3 files
Browse files- config.json +41 -0
- model.safetensors +3 -0
- preprocessor_config.json +41 -0
config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
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,
|
35 |
+
"num_channels": 3,
|
36 |
+
"num_hidden_layers": 12,
|
37 |
+
"patch_size": 16,
|
38 |
+
"qkv_bias": true,
|
39 |
+
"torch_dtype": "float32",
|
40 |
+
"transformers_version": "4.38.2"
|
41 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b8136bbbdd085cc97f69bdef01bd0c4c54262cf3ba44f5a94ebc9c8c54e85d60
|
3 |
+
size 343239356
|
preprocessor_config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
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,
|
35 |
+
"num_channels": 3,
|
36 |
+
"num_hidden_layers": 12,
|
37 |
+
"patch_size": 16,
|
38 |
+
"qkv_bias": true,
|
39 |
+
"torch_dtype": "float32",
|
40 |
+
"transformers_version": "4.38.2"
|
41 |
+
}
|