hungqbui commited on
Commit
071fde6
·
verified ·
1 Parent(s): 20e549e

Upload 10 files

Browse files
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "mo-thecreator/vit-Facial-Expression-Recognition",
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": "anger",
14
+ "1": "disgust",
15
+ "2": "fear",
16
+ "3": "happy",
17
+ "4": "neutral",
18
+ "5": "sad",
19
+ "6": "surprise"
20
+ },
21
+ "image_size": 224,
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "anger": 0,
26
+ "disgust": 1,
27
+ "fear": 2,
28
+ "happy": 3,
29
+ "neutral": 4,
30
+ "sad": 5,
31
+ "surprise": 6
32
+ },
33
+ "layer_norm_eps": 1e-12,
34
+ "model_type": "vit",
35
+ "num_attention_heads": 12,
36
+ "num_channels": 3,
37
+ "num_hidden_layers": 12,
38
+ "patch_size": 16,
39
+ "problem_type": "single_label_classification",
40
+ "qkv_bias": true,
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.49.0"
43
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7e584027921f336a8d7ea9bb39bd02f71441f19404ac636bdb9dca98d983503
3
+ size 343417070
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f6376623b7f78c541fb841b453b83be96d46fbfbc133c9c1ca03cf77766bc3f
3
+ size 51465392
onnx/model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7ad1246e71512f75f8ee5423827f859705b05162ec9bbeb4afef4b6d177e454
3
+ size 171809072
onnx/model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8accacc571d4d2a0f1fc8e9936fc2a01db08c155f2f20dabfa1e05681580b83f
3
+ size 87337514
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3efabc77a30a1345743dc5579ca1a3923931ca277ae3de7246cebf0a1ca0545
3
+ size 56773280
onnx/model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5077eaa5ed73987281721d9fcbbba6dce889302aad553ef6286d4194f945ebb
3
+ size 49726275
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6711d3f0f851d08697a094ef55db0cfc8b180acec2888313fed9259c56265bee
3
+ size 87337514
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6711d3f0f851d08697a094ef55db0cfc8b180acec2888313fed9259c56265bee
3
+ size 87337514
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
+ }