keytic commited on
Commit
eaa7584
·
verified ·
1 Parent(s): 6108f85

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +65 -0
  2. model_quantized.onnx +3 -0
  3. preprocessor_config.json +23 -0
config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ViTForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "dtype": "float32",
7
+ "encoder_stride": 16,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "call",
13
+ "1": "dislike",
14
+ "2": "fist",
15
+ "3": "four",
16
+ "4": "like",
17
+ "5": "mute",
18
+ "6": "ok",
19
+ "7": "one",
20
+ "8": "palm",
21
+ "9": "peace",
22
+ "10": "peace_inverted",
23
+ "11": "rock",
24
+ "12": "stop",
25
+ "13": "stop_inverted",
26
+ "14": "three",
27
+ "15": "three2",
28
+ "16": "two_up",
29
+ "17": "two_up_inverted"
30
+ },
31
+ "image_size": 224,
32
+ "initializer_range": 0.02,
33
+ "intermediate_size": 3072,
34
+ "label2id": {
35
+ "call": 0,
36
+ "dislike": 1,
37
+ "fist": 2,
38
+ "four": 3,
39
+ "like": 4,
40
+ "mute": 5,
41
+ "ok": 6,
42
+ "one": 7,
43
+ "palm": 8,
44
+ "peace": 9,
45
+ "peace_inverted": 10,
46
+ "rock": 11,
47
+ "stop": 12,
48
+ "stop_inverted": 13,
49
+ "three": 14,
50
+ "three2": 15,
51
+ "two_up": 16,
52
+ "two_up_inverted": 17
53
+ },
54
+ "layer_norm_eps": 1e-12,
55
+ "model_type": "vit",
56
+ "num_attention_heads": 12,
57
+ "num_channels": 3,
58
+ "num_hidden_layers": 12,
59
+ "patch_size": 16,
60
+ "pooler_act": "tanh",
61
+ "pooler_output_size": 768,
62
+ "problem_type": "single_label_classification",
63
+ "qkv_bias": true,
64
+ "transformers_version": "4.57.6"
65
+ }
model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5443975679ed7ae4cb408ac02b9b8f8405533b8e2f85a0743ea4079d45389dde
3
+ size 87002196
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "ViTImageProcessor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "resample": 2,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 224,
21
+ "width": 224
22
+ }
23
+ }