waleeyd commited on
Commit
074f56f
·
verified ·
1 Parent(s): e665114

Upload 3 files

Browse files
Files changed (3) hide show
  1. config.json +48 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +24 -0
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SiglipForImageClassification"
4
+ ],
5
+ "id2label": {
6
+ "0": "Artificial",
7
+ "1": "Deepfake",
8
+ "2": "Real"
9
+ },
10
+ "initializer_factor": 1.0,
11
+ "label2id": {
12
+ "Artificial": 0,
13
+ "Deepfake": 1,
14
+ "Real": 2
15
+ },
16
+ "model_type": "siglip",
17
+ "problem_type": "single_label_classification",
18
+ "text_config": {
19
+ "attention_dropout": 0.0,
20
+ "hidden_act": "gelu_pytorch_tanh",
21
+ "hidden_size": 768,
22
+ "intermediate_size": 3072,
23
+ "layer_norm_eps": 1e-06,
24
+ "max_position_embeddings": 64,
25
+ "model_type": "siglip_text_model",
26
+ "num_attention_heads": 12,
27
+ "num_hidden_layers": 12,
28
+ "projection_size": 768,
29
+ "torch_dtype": "float32",
30
+ "vocab_size": 256000
31
+ },
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.50.0.dev0",
34
+ "vision_config": {
35
+ "attention_dropout": 0.0,
36
+ "hidden_act": "gelu_pytorch_tanh",
37
+ "hidden_size": 768,
38
+ "image_size": 224,
39
+ "intermediate_size": 3072,
40
+ "layer_norm_eps": 1e-06,
41
+ "model_type": "siglip_vision_model",
42
+ "num_attention_heads": 12,
43
+ "num_channels": 3,
44
+ "num_hidden_layers": 12,
45
+ "patch_size": 16,
46
+ "torch_dtype": "float32"
47
+ }
48
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:962bae726453a77b3f12782d7b3e4a364084734bf55ddf662ca2c370f7c9bbd1
3
+ size 371571068
preprocessor_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_processor_type": "SiglipImageProcessor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "processor_class": "SiglipProcessor",
18
+ "resample": 2,
19
+ "rescale_factor": 0.00392156862745098,
20
+ "size": {
21
+ "height": 224,
22
+ "width": 224
23
+ }
24
+ }