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