LPX55 commited on
Commit
7cc30d4
·
verified ·
1 Parent(s): a763b13

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers.js
3
+ base_model:
4
+ - aiwithoutborders-xyz/CommunityForensics-DeepfakeDet-ViT
5
+ ---
6
+
7
+ # CommunityForensics-DeepfakeDet-ViT (ONNX)
8
+
9
+ This is an ONNX version of [aiwithoutborders-xyz/CommunityForensics-DeepfakeDet-ViT](https://huggingface.co/aiwithoutborders-xyz/CommunityForensics-DeepfakeDet-ViT). It was automatically converted and uploaded using [this space](https://huggingface.co/spaces/onnx-community/convert-to-onnx).
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "aiwithoutborders-xyz/CommunityForensics-DeepfakeDet-ViT",
4
+ "architectures": [
5
+ "ViTForImageClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.0,
8
+ "encoder_stride": 16,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.0,
11
+ "hidden_size": 384,
12
+ "image_size": 384,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-06,
16
+ "mlp_ratio": 4,
17
+ "model_type": "vit",
18
+ "num_attention_heads": 12,
19
+ "num_channels": 3,
20
+ "num_classes": 1,
21
+ "num_heads": 6,
22
+ "num_hidden_layers": 12,
23
+ "num_layers": 12,
24
+ "patch_size": 16,
25
+ "qkv_bias": true,
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.49.0"
28
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7540dd30b019c4a5dffab9447598f2bdd2316a3d5b3230cf90618b9c9475130
3
+ size 143786825
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f7e39e7859913de13d2f9625720c5e180dba7700369dff9dfb451fc19dfc362
3
+ size 22146828
onnx/model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2a67eb38414b0ea4b7c3dbaf4f23eda94ab4a6159ed378359a9ad1be1fb75e2
3
+ size 71972090
onnx/model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97b418289121c7644199f0bd35de9d0c3d319289393e7ba63ba01cefe1e5127c
3
+ size 37124981
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:693a2ff2e1b788ca01949bdf880d112c4aa7758cd1335fd7daa41c3f74ed1f99
3
+ size 24358188
onnx/model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:602788a04a1de0d8ee7732219f97cece14a74f8a3bb5ca00207e38d70ece765d
3
+ size 21110397
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09783d3e3e394838690eb8626741c7af5d72a1e3e9b88894ad01b007e94e14b9
3
+ size 37124981
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09783d3e3e394838690eb8626741c7af5d72a1e3e9b88894ad01b007e94e14b9
3
+ size 37124981
preprocessor_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_pct": 0.875,
3
+ "crop_size": 384,
4
+ "do_convert_rgb": null,
5
+ "do_normalize": true,
6
+ "do_rescale": true,
7
+ "do_resize": true,
8
+ "image_mean": [
9
+ 0.48145466,
10
+ 0.4578275,
11
+ 0.40821073
12
+ ],
13
+ "image_processor_type": "ViTFeatureExtractor",
14
+ "image_std": [
15
+ 0.26862954,
16
+ 0.26130258,
17
+ 0.27577711
18
+ ],
19
+ "resample": 3,
20
+ "rescale_factor": 0.00392156862745098,
21
+ "size": {
22
+ "height": 440,
23
+ "width": 440
24
+ }
25
+ }
quantize_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "modes": [
3
+ "fp16",
4
+ "q8",
5
+ "int8",
6
+ "uint8",
7
+ "q4",
8
+ "q4f16",
9
+ "bnb4"
10
+ ],
11
+ "per_channel": true,
12
+ "reduce_range": true,
13
+ "block_size": null,
14
+ "is_symmetric": true,
15
+ "accuracy_level": null,
16
+ "quant_type": 1,
17
+ "op_block_list": null
18
+ }