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