OverDriveLee
commited on
Commit
•
6ce33f5
1
Parent(s):
187fb0b
Create config.json
Browse files- config.json +31 -0
config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"ViTForImageClassification"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.0,
|
6 |
+
"encoder_stride": 16,
|
7 |
+
"hidden_act": "gelu",
|
8 |
+
"hidden_dropout_prob": 0.0,
|
9 |
+
"hidden_size": 768,
|
10 |
+
"id2label": {
|
11 |
+
"0": "Cancer",
|
12 |
+
"1": "No_Cancer"
|
13 |
+
},
|
14 |
+
"image_size": 224,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"intermediate_size": 3072,
|
17 |
+
"label2id": {
|
18 |
+
"Cancer": "0",
|
19 |
+
"No_Cancer": "1"
|
20 |
+
},
|
21 |
+
"layer_norm_eps": 1e-12,
|
22 |
+
"model_type": "vit",
|
23 |
+
"num_attention_heads": 12,
|
24 |
+
"num_channels": 3,
|
25 |
+
"num_hidden_layers": 12,
|
26 |
+
"patch_size": 16,
|
27 |
+
"problem_type": "single_label_classification",
|
28 |
+
"qkv_bias": true,
|
29 |
+
"torch_dtype": "float32",
|
30 |
+
"transformers_version": "4.22.2"
|
31 |
+
}
|