Update config.json
Browse files- config.json +2 -13
config.json
CHANGED
@@ -1,32 +1,21 @@
|
|
1 |
{
|
2 |
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
3 |
"architectures": [
|
4 |
-
"
|
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": "CT_COVID",
|
13 |
-
"1": "CT_NonCOVID"
|
14 |
-
},
|
15 |
"image_size": 224,
|
16 |
"initializer_range": 0.02,
|
17 |
"intermediate_size": 3072,
|
18 |
-
"label2id": {
|
19 |
-
"CT_COVID": "0",
|
20 |
-
"CT_NonCOVID": "1"
|
21 |
-
},
|
22 |
"layer_norm_eps": 1e-12,
|
23 |
"model_type": "vit",
|
24 |
"num_attention_heads": 12,
|
25 |
"num_channels": 3,
|
26 |
"num_hidden_layers": 12,
|
27 |
"patch_size": 16,
|
28 |
-
"problem_type": "single_label_classification",
|
29 |
"qkv_bias": true,
|
30 |
-
"
|
31 |
-
"transformers_version": "4.22.2"
|
32 |
}
|
|
|
1 |
{
|
2 |
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
3 |
"architectures": [
|
4 |
+
"ViTModel"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.0,
|
|
|
7 |
"hidden_act": "gelu",
|
8 |
"hidden_dropout_prob": 0.0,
|
9 |
"hidden_size": 768,
|
|
|
|
|
|
|
|
|
10 |
"image_size": 224,
|
11 |
"initializer_range": 0.02,
|
12 |
"intermediate_size": 3072,
|
|
|
|
|
|
|
|
|
13 |
"layer_norm_eps": 1e-12,
|
14 |
"model_type": "vit",
|
15 |
"num_attention_heads": 12,
|
16 |
"num_channels": 3,
|
17 |
"num_hidden_layers": 12,
|
18 |
"patch_size": 16,
|
|
|
19 |
"qkv_bias": true,
|
20 |
+
"transformers_version": "4.13.0.dev0"
|
|
|
21 |
}
|