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