1aurent commited on
Commit
59696e7
1 Parent(s): f52d762

Upload Swinv2ForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +54 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/swinv2-base-patch4-window16-256",
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": 128,
15
+ "encoder_stride": 32,
16
+ "hidden_act": "gelu",
17
+ "hidden_dropout_prob": 0.0,
18
+ "hidden_size": 1024,
19
+ "id2label": {
20
+ "0": "NOT_AI",
21
+ "1": "AI"
22
+ },
23
+ "image_size": 256,
24
+ "initializer_range": 0.02,
25
+ "label2id": {
26
+ "AI": 1,
27
+ "NOT_AI": 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
+ 4,
35
+ 8,
36
+ 16,
37
+ 32
38
+ ],
39
+ "num_layers": 4,
40
+ "patch_size": 4,
41
+ "path_norm": true,
42
+ "pretrained_window_sizes": [
43
+ 0,
44
+ 0,
45
+ 0,
46
+ 0
47
+ ],
48
+ "problem_type": "single_label_classification",
49
+ "qkv_bias": true,
50
+ "torch_dtype": "float32",
51
+ "transformers_version": "4.26.0",
52
+ "use_absolute_embeddings": false,
53
+ "window_size": 16
54
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:baea49221ed244eec8fb1ed709f49a0954f5a380d0003025848d068d14f8285e
3
+ size 347752113