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