jacoballessio commited on
Commit
2a5683d
·
verified ·
1 Parent(s): 8fab0b4

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +14 -19
config.json CHANGED
@@ -1,33 +1,28 @@
1
  {
2
  "_name_or_path": "jacoballessio/ai-image-detect-distilled",
3
  "architectures": [
4
- "ViTForImageClassification"
5
  ],
6
- "attention_probs_dropout_prob": 0.0,
7
- "custom_ensemble_info": {
8
- "threshold": 0.58
9
- },
10
- "encoder_stride": 16,
11
- "hidden_act": "gelu",
12
- "hidden_dropout_prob": 0.0,
13
- "hidden_size": 768,
14
  "id2label": {
15
  "0": "fake",
16
  "1": "real"
17
  },
18
- "image_size": 224,
19
- "initializer_range": 0.02,
20
- "intermediate_size": 3072,
21
  "label2id": {
22
  "fake": 0,
23
  "real": 1
24
  },
25
- "layer_norm_eps": 1e-12,
26
- "model_type": "vit",
27
- "num_attention_heads": 12,
28
  "num_channels": 3,
29
- "num_hidden_layers": 12,
30
- "patch_size": 16,
31
- "qkv_bias": true,
 
 
 
 
 
 
32
  "transformers_version": "4.41.2"
33
- }
 
1
  {
2
  "_name_or_path": "jacoballessio/ai-image-detect-distilled",
3
  "architectures": [
4
+ "EfficientNetForImageClassification"
5
  ],
6
+ "model_type": "efficientnet",
7
+ "num_classes": 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
+ "num_features": 1792,
26
+ "hidden_act": "swish",
27
  "transformers_version": "4.41.2"
28
+ }