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