jacoballessio commited on
Commit
19af7a1
·
verified ·
1 Parent(s): 059c25d

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +19 -49
config.json CHANGED
@@ -1,63 +1,33 @@
1
  {
 
2
  "architectures": [
3
  "ViTForImageClassification"
4
  ],
5
- "model_type": "vit",
6
- "hidden_size": 768,
7
- "num_hidden_layers": 12,
8
- "num_attention_heads": 12,
9
- "intermediate_size": 3072,
10
  "hidden_act": "gelu",
11
- "image_size": 224,
12
- "patch_size": 16,
13
- "num_channels": 3,
14
- "num_labels": 2,
15
  "id2label": {
16
  "0": "fake",
17
  "1": "real"
18
  },
 
 
 
19
  "label2id": {
20
  "fake": 0,
21
  "real": 1
22
  },
23
- "classifier_dropout_prob": 0.1,
24
- "initializer_range": 0.02,
25
  "layer_norm_eps": 1e-12,
26
- "is_encoder_decoder": false,
27
- "use_cache": true,
28
- "torch_dtype": "float32",
29
- "transformers_version": "4.28.0",
30
- "custom_ensemble_info": {
31
- "ensemble_models": [
32
- {
33
- "model_type": "vit",
34
- "hidden_size": 768,
35
- "num_hidden_layers": 12,
36
- "num_attention_heads": 12,
37
- "intermediate_size": 3072,
38
- "hidden_act": "gelu",
39
- "image_size": 224,
40
- "patch_size": 16
41
- },
42
- {
43
- "model_type": "resnet",
44
- "depth": 50,
45
- "num_channels": 3,
46
- "embedding_size": 2048
47
- },
48
- {
49
- "model_type": "efficientnet",
50
- "width_coefficient": 1.4,
51
- "depth_coefficient": 1.8,
52
- "dropout_rate": 0.4
53
- }
54
- ],
55
- "distilled_model": {
56
- "model_type": "efficientnet",
57
- "width_coefficient": 1.4,
58
- "depth_coefficient": 1.8,
59
- "dropout_rate": 0.4
60
- },
61
- "threshold": 0.58
62
- }
63
- }
 
1
  {
2
+ "_name_or_path": "google/vit-base-patch16-224",
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
+ }