Upload folder using huggingface_hub
Browse files- onnx/decoder_model.onnx +2 -2
- onnx/decoder_model_merged.onnx +2 -2
- onnx/decoder_model_merged_quantized.onnx +2 -2
- onnx/decoder_model_quantized.onnx +2 -2
- onnx/decoder_with_past_model.onnx +2 -2
- onnx/decoder_with_past_model_quantized.onnx +2 -2
- quantize_config.json +79 -79
- tokenizer_config.json +1 -0
onnx/decoder_model.onnx
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:0523bcdab1aadd68fb8a16ca8ff7637547d8a352f6149f7223869d1bd0122dbb
|
| 3 |
+
size 1335596378
|
onnx/decoder_model_merged.onnx
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:22acc8d593ed1dfa9c45645c1f36ec4b9ed8ce721764509f465d7160eea78453
|
| 3 |
+
size 1340271309
|
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
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:007654bcabb6cea6fd3bde34ce933137b431330b3755781145d7b6906270b45a
|
| 3 |
+
size 344128178
|
onnx/decoder_model_quantized.onnx
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:6015e31c8976659aedb06058c4dadf0f400d087a3f9830f838e68f220d79bcb6
|
| 3 |
+
size 339181945
|
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
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bde055e103a0c12f2528147cce7c8c5374a867d6281d870137018a4faf842e6b
|
| 3 |
+
size 1234754694
|
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
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:780982a10d1a966978d74c210558a1d733959625c718ca7f72ddfd4ba56a23a5
|
| 3 |
+
size 313662487
|
quantize_config.json
CHANGED
|
@@ -4,130 +4,130 @@
|
|
| 4 |
"per_model_config": {
|
| 5 |
"decoder_model": {
|
| 6 |
"op_types": [
|
|
|
|
| 7 |
"Equal",
|
| 8 |
-
"
|
| 9 |
-
"
|
| 10 |
-
"MatMul",
|
| 11 |
-
"Shape",
|
| 12 |
-
"Mul",
|
| 13 |
-
"Constant",
|
| 14 |
"Squeeze",
|
|
|
|
| 15 |
"Transpose",
|
| 16 |
-
"
|
| 17 |
-
"
|
| 18 |
-
"
|
| 19 |
"Add",
|
| 20 |
-
"Relu",
|
| 21 |
-
"Reshape",
|
| 22 |
-
"CumSum",
|
| 23 |
"Sub",
|
| 24 |
-
"Expand",
|
| 25 |
-
"Gather",
|
| 26 |
-
"Where",
|
| 27 |
-
"Slice",
|
| 28 |
-
"Not",
|
| 29 |
"Sqrt",
|
| 30 |
-
"
|
|
|
|
|
|
|
| 31 |
"Concat",
|
| 32 |
-
"
|
| 33 |
-
"
|
| 34 |
-
"
|
| 35 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
],
|
| 37 |
"weight_type": "QInt8"
|
| 38 |
},
|
| 39 |
"encoder_model": {
|
| 40 |
"op_types": [
|
|
|
|
| 41 |
"Equal",
|
| 42 |
-
"
|
| 43 |
-
"
|
| 44 |
"Shape",
|
| 45 |
-
"Mul",
|
| 46 |
-
"Constant",
|
| 47 |
"Transpose",
|
| 48 |
-
"
|
| 49 |
-
"
|
|
|
|
| 50 |
"Add",
|
| 51 |
-
"Relu",
|
| 52 |
-
"Reshape",
|
| 53 |
-
"CumSum",
|
| 54 |
"Sub",
|
| 55 |
-
"Expand",
|
| 56 |
-
"Gather",
|
| 57 |
-
"Where",
|
| 58 |
-
"Not",
|
| 59 |
"Sqrt",
|
| 60 |
-
"
|
|
|
|
|
|
|
| 61 |
"Concat",
|
| 62 |
-
"
|
| 63 |
-
"
|
| 64 |
-
"
|
| 65 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
],
|
| 67 |
"weight_type": "QInt8"
|
| 68 |
},
|
| 69 |
"decoder_model_merged": {
|
| 70 |
"op_types": [
|
|
|
|
| 71 |
"Equal",
|
| 72 |
-
"
|
| 73 |
-
"Less",
|
| 74 |
-
"MatMul",
|
| 75 |
"If",
|
| 76 |
-
"
|
| 77 |
-
"Mul",
|
| 78 |
-
"Constant",
|
| 79 |
"Squeeze",
|
|
|
|
| 80 |
"Transpose",
|
| 81 |
-
"
|
| 82 |
-
"
|
| 83 |
-
"
|
| 84 |
"Add",
|
| 85 |
-
"Relu",
|
| 86 |
-
"Reshape",
|
| 87 |
-
"CumSum",
|
| 88 |
"Sub",
|
| 89 |
-
"Expand",
|
| 90 |
-
"Gather",
|
| 91 |
-
"Where",
|
| 92 |
-
"Slice",
|
| 93 |
-
"Not",
|
| 94 |
"Sqrt",
|
| 95 |
-
"
|
|
|
|
|
|
|
| 96 |
"Concat",
|
| 97 |
-
"
|
| 98 |
-
"
|
| 99 |
-
"
|
| 100 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 101 |
],
|
| 102 |
"weight_type": "QInt8"
|
| 103 |
},
|
| 104 |
"decoder_with_past_model": {
|
| 105 |
"op_types": [
|
|
|
|
| 106 |
"Equal",
|
| 107 |
-
"
|
| 108 |
-
"
|
| 109 |
"Shape",
|
| 110 |
-
"Mul",
|
| 111 |
-
"Constant",
|
| 112 |
"Transpose",
|
| 113 |
-
"
|
| 114 |
-
"
|
|
|
|
| 115 |
"Add",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 116 |
"Relu",
|
| 117 |
-
"
|
| 118 |
"CumSum",
|
| 119 |
-
"Sub",
|
| 120 |
"Expand",
|
| 121 |
-
"Gather",
|
| 122 |
-
"Where",
|
| 123 |
-
"Not",
|
| 124 |
-
"Sqrt",
|
| 125 |
"Pow",
|
| 126 |
-
"
|
| 127 |
-
"
|
| 128 |
-
"Div",
|
| 129 |
-
"Cast",
|
| 130 |
-
"ConstantOfShape"
|
| 131 |
],
|
| 132 |
"weight_type": "QInt8"
|
| 133 |
}
|
|
|
|
| 4 |
"per_model_config": {
|
| 5 |
"decoder_model": {
|
| 6 |
"op_types": [
|
| 7 |
+
"Reshape",
|
| 8 |
"Equal",
|
| 9 |
+
"Not",
|
| 10 |
+
"Div",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
"Squeeze",
|
| 12 |
+
"Shape",
|
| 13 |
"Transpose",
|
| 14 |
+
"Unsqueeze",
|
| 15 |
+
"Softmax",
|
| 16 |
+
"Cast",
|
| 17 |
"Add",
|
|
|
|
|
|
|
|
|
|
| 18 |
"Sub",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
"Sqrt",
|
| 20 |
+
"ReduceMean",
|
| 21 |
+
"MatMul",
|
| 22 |
+
"Gather",
|
| 23 |
"Concat",
|
| 24 |
+
"Mul",
|
| 25 |
+
"ConstantOfShape",
|
| 26 |
+
"Relu",
|
| 27 |
+
"Identity",
|
| 28 |
+
"Expand",
|
| 29 |
+
"CumSum",
|
| 30 |
+
"Less",
|
| 31 |
+
"Pow",
|
| 32 |
+
"Slice",
|
| 33 |
+
"Range",
|
| 34 |
+
"Where",
|
| 35 |
+
"Constant"
|
| 36 |
],
|
| 37 |
"weight_type": "QInt8"
|
| 38 |
},
|
| 39 |
"encoder_model": {
|
| 40 |
"op_types": [
|
| 41 |
+
"Reshape",
|
| 42 |
"Equal",
|
| 43 |
+
"Not",
|
| 44 |
+
"Div",
|
| 45 |
"Shape",
|
|
|
|
|
|
|
| 46 |
"Transpose",
|
| 47 |
+
"Unsqueeze",
|
| 48 |
+
"Softmax",
|
| 49 |
+
"Cast",
|
| 50 |
"Add",
|
|
|
|
|
|
|
|
|
|
| 51 |
"Sub",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
"Sqrt",
|
| 53 |
+
"ReduceMean",
|
| 54 |
+
"MatMul",
|
| 55 |
+
"Gather",
|
| 56 |
"Concat",
|
| 57 |
+
"Mul",
|
| 58 |
+
"ConstantOfShape",
|
| 59 |
+
"Relu",
|
| 60 |
+
"Identity",
|
| 61 |
+
"Expand",
|
| 62 |
+
"CumSum",
|
| 63 |
+
"Pow",
|
| 64 |
+
"Where",
|
| 65 |
+
"Constant"
|
| 66 |
],
|
| 67 |
"weight_type": "QInt8"
|
| 68 |
},
|
| 69 |
"decoder_model_merged": {
|
| 70 |
"op_types": [
|
| 71 |
+
"Reshape",
|
| 72 |
"Equal",
|
| 73 |
+
"Not",
|
|
|
|
|
|
|
| 74 |
"If",
|
| 75 |
+
"Div",
|
|
|
|
|
|
|
| 76 |
"Squeeze",
|
| 77 |
+
"Shape",
|
| 78 |
"Transpose",
|
| 79 |
+
"Unsqueeze",
|
| 80 |
+
"Softmax",
|
| 81 |
+
"Cast",
|
| 82 |
"Add",
|
|
|
|
|
|
|
|
|
|
| 83 |
"Sub",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
"Sqrt",
|
| 85 |
+
"ReduceMean",
|
| 86 |
+
"MatMul",
|
| 87 |
+
"Gather",
|
| 88 |
"Concat",
|
| 89 |
+
"Mul",
|
| 90 |
+
"ConstantOfShape",
|
| 91 |
+
"Relu",
|
| 92 |
+
"Identity",
|
| 93 |
+
"Expand",
|
| 94 |
+
"CumSum",
|
| 95 |
+
"Less",
|
| 96 |
+
"Pow",
|
| 97 |
+
"Slice",
|
| 98 |
+
"Range",
|
| 99 |
+
"Where",
|
| 100 |
+
"Constant"
|
| 101 |
],
|
| 102 |
"weight_type": "QInt8"
|
| 103 |
},
|
| 104 |
"decoder_with_past_model": {
|
| 105 |
"op_types": [
|
| 106 |
+
"Reshape",
|
| 107 |
"Equal",
|
| 108 |
+
"Not",
|
| 109 |
+
"Div",
|
| 110 |
"Shape",
|
|
|
|
|
|
|
| 111 |
"Transpose",
|
| 112 |
+
"Unsqueeze",
|
| 113 |
+
"Softmax",
|
| 114 |
+
"Cast",
|
| 115 |
"Add",
|
| 116 |
+
"Sub",
|
| 117 |
+
"Sqrt",
|
| 118 |
+
"ReduceMean",
|
| 119 |
+
"MatMul",
|
| 120 |
+
"Gather",
|
| 121 |
+
"Concat",
|
| 122 |
+
"Mul",
|
| 123 |
+
"ConstantOfShape",
|
| 124 |
"Relu",
|
| 125 |
+
"Identity",
|
| 126 |
"CumSum",
|
|
|
|
| 127 |
"Expand",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
"Pow",
|
| 129 |
+
"Where",
|
| 130 |
+
"Constant"
|
|
|
|
|
|
|
|
|
|
| 131 |
],
|
| 132 |
"weight_type": "QInt8"
|
| 133 |
}
|
tokenizer_config.json
CHANGED
|
@@ -113,5 +113,6 @@
|
|
| 113 |
"src_lang": null,
|
| 114 |
"tgt_lang": null,
|
| 115 |
"tokenizer_class": "M2M100Tokenizer",
|
|
|
|
| 116 |
"unk_token": "<unk>"
|
| 117 |
}
|
|
|
|
| 113 |
"src_lang": null,
|
| 114 |
"tgt_lang": null,
|
| 115 |
"tokenizer_class": "M2M100Tokenizer",
|
| 116 |
+
"tokenizer_file": null,
|
| 117 |
"unk_token": "<unk>"
|
| 118 |
}
|