imdaisylee commited on
Commit
39231e6
1 Parent(s): f5490a2

Upload SwinForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +16 -20
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,40 +1,41 @@
1
  {
2
- "_name_or_path": "microsoft/swinv2-large-patch4-window12to16-192to256-22kto1k-ft",
3
  "architectures": [
4
- "Swinv2ForImageClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.0,
7
  "depths": [
8
  2,
9
  2,
10
- 18,
11
  2
12
  ],
13
  "drop_path_rate": 0.1,
14
- "embed_dim": 192,
15
  "encoder_stride": 32,
16
  "hidden_act": "gelu",
17
  "hidden_dropout_prob": 0.0,
18
- "hidden_size": 1536,
19
  "id2label": {
20
- "0": "real",
21
- "1": "fake"
22
  },
23
- "image_size": 256,
24
  "initializer_range": 0.02,
25
  "label2id": {
26
- "fake": 1,
27
- "real": 0
28
  },
29
  "layer_norm_eps": 1e-05,
 
30
  "mlp_ratio": 4.0,
31
- "model_type": "swinv2",
32
  "num_channels": 3,
33
  "num_heads": [
 
34
  6,
35
  12,
36
- 24,
37
- 48
38
  ],
39
  "num_layers": 4,
40
  "out_features": [
@@ -43,14 +44,9 @@
43
  "out_indices": [
44
  4
45
  ],
 
46
  "patch_size": 4,
47
  "path_norm": true,
48
- "pretrained_window_sizes": [
49
- 12,
50
- 12,
51
- 12,
52
- 6
53
- ],
54
  "problem_type": "single_label_classification",
55
  "qkv_bias": true,
56
  "stage_names": [
@@ -63,5 +59,5 @@
63
  "torch_dtype": "float32",
64
  "transformers_version": "4.41.1",
65
  "use_absolute_embeddings": false,
66
- "window_size": 16
67
  }
 
1
  {
2
+ "_name_or_path": "NehaBardeDUKE/autotrain-ai-generated-image-classification-3250490787",
3
  "architectures": [
4
+ "SwinForImageClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.0,
7
  "depths": [
8
  2,
9
  2,
10
+ 6,
11
  2
12
  ],
13
  "drop_path_rate": 0.1,
14
+ "embed_dim": 96,
15
  "encoder_stride": 32,
16
  "hidden_act": "gelu",
17
  "hidden_dropout_prob": 0.0,
18
+ "hidden_size": 768,
19
  "id2label": {
20
+ "0": "Artificial",
21
+ "1": "Human"
22
  },
23
+ "image_size": 224,
24
  "initializer_range": 0.02,
25
  "label2id": {
26
+ "Artificial": "0",
27
+ "Human": "1"
28
  },
29
  "layer_norm_eps": 1e-05,
30
+ "max_length": 128,
31
  "mlp_ratio": 4.0,
32
+ "model_type": "swin",
33
  "num_channels": 3,
34
  "num_heads": [
35
+ 3,
36
  6,
37
  12,
38
+ 24
 
39
  ],
40
  "num_layers": 4,
41
  "out_features": [
 
44
  "out_indices": [
45
  4
46
  ],
47
+ "padding": "max_length",
48
  "patch_size": 4,
49
  "path_norm": true,
 
 
 
 
 
 
50
  "problem_type": "single_label_classification",
51
  "qkv_bias": true,
52
  "stage_names": [
 
59
  "torch_dtype": "float32",
60
  "transformers_version": "4.41.1",
61
  "use_absolute_embeddings": false,
62
+ "window_size": 7
63
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:67cbd35a15f146812bdb5e6b2ac99378c23a89f15ef98b552972eba456a3c108
3
- size 780886280
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71417e2d18a1436c426976cfd4e39b3fd7099284f9c4979e68a4c5626431da04
3
+ size 110342832