jdp8 commited on
Commit
e2b1a45
·
verified ·
1 Parent(s): 47ed6e6

Upload 11 files

Browse files
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "nateraw/vit-age-classifier",
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": 768,
12
+ "id2label": {
13
+ "0": "0-2",
14
+ "1": "3-9",
15
+ "2": "10-19",
16
+ "3": "20-29",
17
+ "4": "30-39",
18
+ "5": "40-49",
19
+ "6": "50-59",
20
+ "7": "60-69",
21
+ "8": "more than 70"
22
+ },
23
+ "image_size": 224,
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "0-2": 0,
28
+ "10-19": 2,
29
+ "20-29": 3,
30
+ "3-9": 1,
31
+ "30-39": 4,
32
+ "40-49": 5,
33
+ "50-59": 6,
34
+ "60-69": 7,
35
+ "more than 70": 8
36
+ },
37
+ "layer_norm_eps": 1e-12,
38
+ "model_type": "vit",
39
+ "num_attention_heads": 12,
40
+ "num_channels": 3,
41
+ "num_hidden_layers": 12,
42
+ "patch_size": 16,
43
+ "qkv_bias": true,
44
+ "transformers_version": "4.46.3"
45
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bff2e5b3751833264cc9aed3d013000c90df4257d1141b573ae646213e78dd3
3
+ size 343423218
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b60a2d2c3a03b58805b6c1b68f5b71315e6a5848d2d4589a6b1a7aa8e6a9c76f
3
+ size 51471540
onnx/model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:700ebcbc7048cc3177df9f86aed4717219ad059876b60459d3e112fe0cbc9c24
3
+ size 171812144
onnx/model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3db455e80e75cebc926ee60046fd8053d66ace830f650ddd5c9485ec5b6d24c
3
+ size 87339064
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0820e234e2d916be9dae452f3e0c67a4a7d985885579705cfb549ce5e863fd1
3
+ size 56779428
onnx/model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3a19862a7b667b6acf250ef17541561c1a2fe724857849ce0c05698b7326d6e
3
+ size 49729347
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4dd15e26468568e34eb93e74ed64d567181dc547a9bf7bde5384184d32254013
3
+ size 87339064
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4dd15e26468568e34eb93e74ed64d567181dc547a9bf7bde5384184d32254013
3
+ size 87339064
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": true,
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_processor_type": "ViTFeatureExtractor",
11
+ "image_std": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "resample": 2,
17
+ "rescale_factor": 0.00392156862745098,
18
+ "size": {
19
+ "height": 224,
20
+ "width": 224
21
+ }
22
+ }
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
+ }