jacoballessio commited on
Commit
7e8f971
·
verified ·
1 Parent(s): 31ec713

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +13 -11
config.json CHANGED
@@ -1,16 +1,27 @@
1
  {
2
- "_name_or_path": "google/vit-base-patch16-224",
3
  "architectures": [
4
  "ViTForImageClassification"
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
  "image_size": 224,
12
  "initializer_range": 0.02,
13
  "intermediate_size": 3072,
 
 
 
 
14
  "layer_norm_eps": 1e-12,
15
  "model_type": "vit",
16
  "num_attention_heads": 12,
@@ -18,14 +29,5 @@
18
  "num_hidden_layers": 12,
19
  "patch_size": 16,
20
  "qkv_bias": true,
21
- "torch_dtype": "float32",
22
- "transformers_version": "4.38.2",
23
- "id2label": {
24
- "0": "fake",
25
- "1": "real"
26
- },
27
- "label2id": {
28
- "fake": 0,
29
- "real": 1
30
- }
31
  }
 
1
  {
2
+ "_name_or_path": "jacoballessio/ai-image-detect",
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,
 
29
  "num_hidden_layers": 12,
30
  "patch_size": 16,
31
  "qkv_bias": true,
32
+ "transformers_version": "4.41.2"
 
 
 
 
 
 
 
 
 
33
  }