vinai-translate-vi2en-v2 / quantize_config.json
huuquyet's picture
Init converted model
c8a7e84
{
"per_channel": true,
"reduce_range": true,
"per_model_config": {
"encoder_model": {
"op_types": [
"Gather",
"Equal",
"MatMul",
"Concat",
"Erf",
"Add",
"Unsqueeze",
"Mul",
"Sqrt",
"Reshape",
"Constant",
"Transpose",
"Expand",
"Div",
"Pow",
"Sub",
"Range",
"Cast",
"Softmax",
"Where",
"ReduceMean",
"ConstantOfShape",
"Shape"
],
"weight_type": "QInt8"
},
"decoder_model": {
"op_types": [
"Gather",
"Equal",
"MatMul",
"Concat",
"Erf",
"Less",
"Add",
"Shape",
"Unsqueeze",
"Mul",
"Sqrt",
"Reshape",
"Constant",
"Transpose",
"Slice",
"Expand",
"Div",
"Pow",
"Sub",
"Range",
"Cast",
"Softmax",
"Where",
"ReduceMean",
"ConstantOfShape",
"Squeeze"
],
"weight_type": "QInt8"
},
"decoder_with_past_model": {
"op_types": [
"Gather",
"Equal",
"MatMul",
"Concat",
"Erf",
"Add",
"Unsqueeze",
"Mul",
"Sqrt",
"Reshape",
"Constant",
"Transpose",
"Expand",
"Div",
"Pow",
"Sub",
"Range",
"Cast",
"Softmax",
"Where",
"ReduceMean",
"ConstantOfShape",
"Shape"
],
"weight_type": "QInt8"
},
"decoder_model_merged": {
"op_types": [
"Gather",
"Equal",
"MatMul",
"Concat",
"Erf",
"Less",
"Add",
"Shape",
"Unsqueeze",
"Mul",
"Sqrt",
"Reshape",
"Constant",
"Transpose",
"Slice",
"Expand",
"Div",
"If",
"Pow",
"Sub",
"Range",
"Cast",
"Softmax",
"Where",
"ReduceMean",
"ConstantOfShape",
"Squeeze"
],
"weight_type": "QInt8"
}
}
}