opus-mt-en-zh / quantize_config.json
Xenova's picture
Xenova HF staff
Upload folder using huggingface_hub
571b143
{
"per_channel": true,
"reduce_range": true,
"per_model_config": {
"decoder_model": {
"op_types": [
"Slice",
"Where",
"Sqrt",
"Pow",
"Concat",
"Add",
"Equal",
"Sub",
"Gather",
"Mul",
"Range",
"Cast",
"ConstantOfShape",
"MatMul",
"ReduceMean",
"Constant",
"Expand",
"Unsqueeze",
"Sigmoid",
"Shape",
"Reshape",
"Div",
"Squeeze",
"Transpose",
"Softmax",
"Less"
],
"weight_type": "QInt8"
},
"encoder_model": {
"op_types": [
"Where",
"Sqrt",
"Pow",
"Concat",
"Add",
"Equal",
"Sub",
"Gather",
"Mul",
"Range",
"Cast",
"ConstantOfShape",
"ReduceMean",
"MatMul",
"Constant",
"Expand",
"Unsqueeze",
"Sigmoid",
"Shape",
"Reshape",
"Div",
"Transpose",
"Softmax"
],
"weight_type": "QInt8"
},
"decoder_model_merged": {
"op_types": [
"Slice",
"Where",
"Sqrt",
"Pow",
"Concat",
"Add",
"Equal",
"Sub",
"Gather",
"Mul",
"Range",
"Cast",
"ConstantOfShape",
"If",
"MatMul",
"ReduceMean",
"Constant",
"Expand",
"Unsqueeze",
"Sigmoid",
"Shape",
"Reshape",
"Div",
"Squeeze",
"Transpose",
"Softmax",
"Less"
],
"weight_type": "QInt8"
},
"decoder_with_past_model": {
"op_types": [
"Where",
"Sqrt",
"Pow",
"Concat",
"Add",
"Equal",
"Sub",
"Gather",
"Mul",
"Range",
"Cast",
"ConstantOfShape",
"ReduceMean",
"MatMul",
"Constant",
"Expand",
"Unsqueeze",
"Sigmoid",
"Shape",
"Reshape",
"Div",
"Transpose",
"Softmax"
],
"weight_type": "QInt8"
}
}
}