opus-mt-en-ga / quantize_config.json
alexanderdeibel's picture
Upload folder using huggingface_hub
979bb1a verified
Raw
History Blame Contribute Delete
3.12 kB
{
"per_channel": true,
"reduce_range": true,
"per_model_config": {
"decoder_with_past_model": {
"op_types": [
"Range",
"Expand",
"Gather",
"Sigmoid",
"Unsqueeze",
"Constant",
"Div",
"Transpose",
"ReduceMean",
"Cast",
"MatMul",
"Pow",
"Softmax",
"Sub",
"Mul",
"Shape",
"Where",
"Concat",
"Reshape",
"Sqrt",
"Equal",
"ConstantOfShape",
"Add"
],
"weight_type": "QInt8"
},
"decoder_model": {
"op_types": [
"Range",
"Expand",
"Gather",
"Sigmoid",
"Unsqueeze",
"Constant",
"Div",
"Transpose",
"Slice",
"ReduceMean",
"Cast",
"MatMul",
"Pow",
"Softmax",
"Sub",
"Mul",
"Shape",
"Less",
"Where",
"Concat",
"Reshape",
"Sqrt",
"Equal",
"ConstantOfShape",
"Squeeze",
"Add"
],
"weight_type": "QInt8"
},
"encoder_model": {
"op_types": [
"Range",
"Expand",
"Gather",
"Sigmoid",
"Unsqueeze",
"Constant",
"Div",
"Transpose",
"ReduceMean",
"Cast",
"MatMul",
"Pow",
"Softmax",
"Sub",
"Mul",
"Shape",
"Where",
"Concat",
"Reshape",
"Sqrt",
"Equal",
"ConstantOfShape",
"Add"
],
"weight_type": "QInt8"
},
"decoder_model_merged": {
"op_types": [
"Range",
"Expand",
"Gather",
"Sigmoid",
"Unsqueeze",
"Constant",
"Div",
"Transpose",
"Slice",
"ReduceMean",
"Cast",
"If",
"MatMul",
"Pow",
"Softmax",
"Sub",
"Mul",
"Shape",
"Less",
"Where",
"Concat",
"Reshape",
"Sqrt",
"Equal",
"ConstantOfShape",
"Squeeze",
"Add"
],
"weight_type": "QInt8"
}
}
}