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