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