Update config.json
Browse files- config.json +14 -17
config.json
CHANGED
@@ -4,30 +4,27 @@
|
|
4 |
"EfficientNetForImageClassification"
|
5 |
],
|
6 |
"model_type": "efficientnet",
|
7 |
-
"
|
8 |
-
"custom_ensemble_info": {
|
9 |
-
"threshold": 0.58
|
10 |
-
},
|
11 |
-
"encoder_stride": 16,
|
12 |
-
"hidden_act": "gelu",
|
13 |
-
"hidden_dropout_prob": 0.0,
|
14 |
-
"hidden_size": 768,
|
15 |
"id2label": {
|
16 |
"0": "fake",
|
17 |
"1": "real"
|
18 |
},
|
19 |
-
"image_size": 224,
|
20 |
-
"initializer_range": 0.02,
|
21 |
-
"intermediate_size": 3072,
|
22 |
"label2id": {
|
23 |
"fake": 0,
|
24 |
"real": 1
|
25 |
},
|
26 |
-
"
|
27 |
-
"num_attention_heads": 12,
|
28 |
"num_channels": 3,
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
}
|
|
|
4 |
"EfficientNetForImageClassification"
|
5 |
],
|
6 |
"model_type": "efficientnet",
|
7 |
+
"num_labels": 2,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
"id2label": {
|
9 |
"0": "fake",
|
10 |
"1": "real"
|
11 |
},
|
|
|
|
|
|
|
12 |
"label2id": {
|
13 |
"fake": 0,
|
14 |
"real": 1
|
15 |
},
|
16 |
+
"image_size": 224,
|
|
|
17 |
"num_channels": 3,
|
18 |
+
"width_coefficient": 1.4,
|
19 |
+
"depth_coefficient": 1.8,
|
20 |
+
"dropout_rate": 0.4,
|
21 |
+
"custom_ensemble_info": {
|
22 |
+
"threshold": 0.58
|
23 |
+
},
|
24 |
+
"classifier_dropout_prob": 0.2,
|
25 |
+
"hidden_act": "swish",
|
26 |
+
"transformers_version": "4.41.2",
|
27 |
+
"torch_dtype": "float32",
|
28 |
+
"use_cache": true,
|
29 |
+
"output_hidden_states": false
|
30 |
}
|