Commit
•
d85acbe
1
Parent(s):
6276b49
Upload 19 files
Browse files- config.json +1 -1
- generation_config.json +5 -6
- model.safetensors +2 -2
- onnx/decoder_model.onnx +1 -1
- onnx/decoder_model_merged.onnx +1 -1
- onnx/decoder_model_merged_quantized.onnx +1 -1
- onnx/decoder_model_quantized.onnx +1 -1
- onnx/decoder_with_past_model.onnx +1 -1
- onnx/decoder_with_past_model_quantized.onnx +1 -1
- onnx/encoder_model.onnx +1 -1
- onnx/encoder_model_quantized.onnx +1 -1
- quantize_config.json +72 -72
- training_args.bin +1 -1
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"VisionEncoderDecoderModel"
|
5 |
],
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/Volumes/SSD/vit-base-patch16-224-distilgpt2",
|
3 |
"architectures": [
|
4 |
"VisionEncoderDecoderModel"
|
5 |
],
|
generation_config.json
CHANGED
@@ -1,13 +1,12 @@
|
|
1 |
{
|
2 |
"bos_token_id": 50256,
|
3 |
-
"
|
4 |
"eos_token_id": 50256,
|
5 |
-
"max_length":
|
6 |
"no_repeat_ngram_size": 2,
|
|
|
7 |
"pad_token_id": 50256,
|
8 |
"repetition_penalty": 1.2,
|
9 |
-
"transformers_version": "4.33.2",
|
10 |
"seed": 12,
|
11 |
-
"
|
12 |
-
|
13 |
-
}
|
|
|
1 |
{
|
2 |
"bos_token_id": 50256,
|
3 |
+
"early_stopping": true,
|
4 |
"eos_token_id": 50256,
|
5 |
+
"max_length": 50,
|
6 |
"no_repeat_ngram_size": 2,
|
7 |
+
"num_beams": 2,
|
8 |
"pad_token_id": 50256,
|
9 |
"repetition_penalty": 1.2,
|
|
|
10 |
"seed": 12,
|
11 |
+
"transformers_version": "4.33.2"
|
12 |
+
}
|
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:74574a184acd40eb36ffb93d03ea3780bbe8f8f5d019aabbdf7554304e704a05
|
3 |
+
size 729979160
|
onnx/decoder_model.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 385864797
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e3704718aee4c999920574a3fb45b959ee59a9eb687bc5ff39c1ec6c3b3d32fc
|
3 |
size 385864797
|
onnx/decoder_model_merged.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 387342586
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dfc0cac17407a66735b4b4dd5ce62900967a015a618f24c6036b628e1c600328
|
3 |
size 387342586
|
onnx/decoder_model_merged_quantized.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 99759579
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:083cc1aa2c10ee51436601f996091d4633ff2ad6ab933f1197e23c14893fc89e
|
3 |
size 99759579
|
onnx/decoder_model_quantized.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 98065763
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:230dd40ee4ba5bd9ec09ad783b45d98ca8acd7b37ff1f73ddbfa6a63c63163ba
|
3 |
size 98065763
|
onnx/decoder_with_past_model.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 385864377
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aae44e11c82e59d84ac7c9f654942dfbcbb2c0d2a03bc8ec49876e81dc3393a1
|
3 |
size 385864377
|
onnx/decoder_with_past_model_quantized.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 98063170
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b1823eff0a8dc274eabb3df67551bc7330d4e22a22c23676ff978eb33c643896
|
3 |
size 98063170
|
onnx/encoder_model.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343440632
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ca2910ada0c94d6f7d72c80e7e4f40916c0bfbd1cff763ad86d96e02fd527e90
|
3 |
size 343440632
|
onnx/encoder_model_quantized.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 87038173
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b9930375f2182d3cb829d78750939633587891b18edb0a66eeb569317ccc0776
|
3 |
size 87038173
|
quantize_config.json
CHANGED
@@ -2,122 +2,122 @@
|
|
2 |
"per_channel": false,
|
3 |
"reduce_range": false,
|
4 |
"per_model_config": {
|
5 |
-
"
|
6 |
"op_types": [
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
11 |
-
"Constant",
|
12 |
"Pow",
|
|
|
13 |
"Sub",
|
14 |
-
"Cast",
|
15 |
"Mul",
|
16 |
-
"
|
17 |
-
"Where",
|
18 |
-
"Slice",
|
19 |
"Div",
|
20 |
-
"
|
21 |
-
"MatMul",
|
22 |
"Unsqueeze",
|
23 |
-
"
|
|
|
24 |
"Softmax",
|
25 |
-
"
|
26 |
-
"
|
27 |
"Shape",
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
|
|
32 |
],
|
33 |
-
"weight_type": "
|
34 |
},
|
35 |
"decoder_model": {
|
36 |
"op_types": [
|
37 |
-
"
|
38 |
-
"
|
39 |
-
"
|
40 |
-
"Gather",
|
41 |
-
"Constant",
|
42 |
"Pow",
|
43 |
"Sub",
|
44 |
-
"Cast",
|
45 |
"Mul",
|
46 |
-
"
|
47 |
-
"Where",
|
48 |
-
"Slice",
|
49 |
"Div",
|
50 |
-
"
|
51 |
-
"
|
52 |
"Unsqueeze",
|
53 |
-
"
|
54 |
"Softmax",
|
|
|
|
|
55 |
"Squeeze",
|
56 |
-
"
|
|
|
|
|
|
|
57 |
"Shape",
|
58 |
-
"
|
59 |
-
"
|
60 |
-
"
|
61 |
-
"
|
62 |
],
|
63 |
"weight_type": "QInt8"
|
64 |
},
|
65 |
-
"
|
66 |
"op_types": [
|
67 |
-
"
|
68 |
-
"
|
69 |
-
"
|
70 |
-
"Gather",
|
71 |
-
"Constant",
|
72 |
"Pow",
|
73 |
"Sub",
|
74 |
"Mul",
|
75 |
-
"
|
76 |
-
"Where",
|
77 |
-
"Slice",
|
78 |
"Div",
|
79 |
-
"
|
|
|
80 |
"Unsqueeze",
|
81 |
-
"
|
82 |
"Softmax",
|
83 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
"Shape",
|
85 |
-
"Erf",
|
86 |
-
"ConstantOfShape",
|
87 |
"ReduceMean",
|
88 |
-
"
|
89 |
-
"
|
|
|
90 |
],
|
91 |
-
"weight_type": "
|
92 |
},
|
93 |
"decoder_model_merged": {
|
94 |
"op_types": [
|
95 |
-
"
|
96 |
-
"
|
97 |
-
"
|
98 |
-
"Gather",
|
99 |
-
"Constant",
|
100 |
"Pow",
|
101 |
"Sub",
|
102 |
-
"Cast",
|
103 |
"Mul",
|
104 |
-
"
|
105 |
-
"
|
106 |
-
"Where",
|
107 |
-
"Slice",
|
108 |
"Div",
|
109 |
-
"
|
110 |
-
"
|
111 |
"Unsqueeze",
|
112 |
-
"
|
113 |
"Softmax",
|
|
|
114 |
"Squeeze",
|
115 |
-
"
|
|
|
|
|
|
|
|
|
116 |
"Shape",
|
117 |
-
"
|
118 |
-
"
|
119 |
-
"
|
120 |
-
"
|
121 |
],
|
122 |
"weight_type": "QInt8"
|
123 |
}
|
|
|
2 |
"per_channel": false,
|
3 |
"reduce_range": false,
|
4 |
"per_model_config": {
|
5 |
+
"encoder_model": {
|
6 |
"op_types": [
|
7 |
+
"MatMul",
|
8 |
+
"Add",
|
9 |
+
"Equal",
|
10 |
+
"ConstantOfShape",
|
|
|
11 |
"Pow",
|
12 |
+
"Erf",
|
13 |
"Sub",
|
|
|
14 |
"Mul",
|
15 |
+
"Reshape",
|
|
|
|
|
16 |
"Div",
|
17 |
+
"Where",
|
|
|
18 |
"Unsqueeze",
|
19 |
+
"Expand",
|
20 |
+
"Gather",
|
21 |
"Softmax",
|
22 |
+
"Transpose",
|
23 |
+
"Constant",
|
24 |
"Shape",
|
25 |
+
"ReduceMean",
|
26 |
+
"Concat",
|
27 |
+
"Sqrt",
|
28 |
+
"Slice",
|
29 |
+
"Conv"
|
30 |
],
|
31 |
+
"weight_type": "QUInt8"
|
32 |
},
|
33 |
"decoder_model": {
|
34 |
"op_types": [
|
35 |
+
"MatMul",
|
36 |
+
"Add",
|
37 |
+
"ConstantOfShape",
|
|
|
|
|
38 |
"Pow",
|
39 |
"Sub",
|
|
|
40 |
"Mul",
|
41 |
+
"Reshape",
|
|
|
|
|
42 |
"Div",
|
43 |
+
"Where",
|
44 |
+
"Tanh",
|
45 |
"Unsqueeze",
|
46 |
+
"Gather",
|
47 |
"Softmax",
|
48 |
+
"Split",
|
49 |
+
"Slice",
|
50 |
"Squeeze",
|
51 |
+
"Range",
|
52 |
+
"Transpose",
|
53 |
+
"Cast",
|
54 |
+
"Constant",
|
55 |
"Shape",
|
56 |
+
"ReduceMean",
|
57 |
+
"Concat",
|
58 |
+
"Sqrt",
|
59 |
+
"Gemm"
|
60 |
],
|
61 |
"weight_type": "QInt8"
|
62 |
},
|
63 |
+
"decoder_with_past_model": {
|
64 |
"op_types": [
|
65 |
+
"MatMul",
|
66 |
+
"Add",
|
67 |
+
"ConstantOfShape",
|
|
|
|
|
68 |
"Pow",
|
69 |
"Sub",
|
70 |
"Mul",
|
71 |
+
"Reshape",
|
|
|
|
|
72 |
"Div",
|
73 |
+
"Where",
|
74 |
+
"Tanh",
|
75 |
"Unsqueeze",
|
76 |
+
"Gather",
|
77 |
"Softmax",
|
78 |
+
"Split",
|
79 |
+
"Slice",
|
80 |
+
"Squeeze",
|
81 |
+
"Range",
|
82 |
+
"Transpose",
|
83 |
+
"Cast",
|
84 |
+
"Constant",
|
85 |
"Shape",
|
|
|
|
|
86 |
"ReduceMean",
|
87 |
+
"Concat",
|
88 |
+
"Sqrt",
|
89 |
+
"Gemm"
|
90 |
],
|
91 |
+
"weight_type": "QInt8"
|
92 |
},
|
93 |
"decoder_model_merged": {
|
94 |
"op_types": [
|
95 |
+
"MatMul",
|
96 |
+
"Add",
|
97 |
+
"ConstantOfShape",
|
|
|
|
|
98 |
"Pow",
|
99 |
"Sub",
|
|
|
100 |
"Mul",
|
101 |
+
"Gemm",
|
102 |
+
"Reshape",
|
|
|
|
|
103 |
"Div",
|
104 |
+
"Where",
|
105 |
+
"Tanh",
|
106 |
"Unsqueeze",
|
107 |
+
"Gather",
|
108 |
"Softmax",
|
109 |
+
"Split",
|
110 |
"Squeeze",
|
111 |
+
"Range",
|
112 |
+
"Transpose",
|
113 |
+
"Cast",
|
114 |
+
"Constant",
|
115 |
+
"If",
|
116 |
"Shape",
|
117 |
+
"ReduceMean",
|
118 |
+
"Concat",
|
119 |
+
"Sqrt",
|
120 |
+
"Slice"
|
121 |
],
|
122 |
"weight_type": "QInt8"
|
123 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5176
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ac92771c5176fd55689bb44c37e3467ce9f70d1a9d642ce3f6e6e4e449de33cd
|
3 |
size 5176
|