onnx-gpt2-conversational-retrain / quantize_config.json
Felladrin's picture
Add model files
40f8c63
{
"per_channel": false,
"reduce_range": false,
"per_model_config": {
"decoder_with_past_model": {
"op_types": [
"Constant",
"Shape",
"Softmax",
"Where",
"Transpose",
"Tanh",
"Slice",
"Concat",
"Sqrt",
"Add",
"ConstantOfShape",
"Reshape",
"Div",
"Cast",
"Squeeze",
"Gather",
"ReduceMean",
"Mul",
"Split",
"Range",
"Sub",
"Unsqueeze",
"MatMul",
"Gemm",
"Pow"
],
"weight_type": "QInt8"
},
"decoder_model": {
"op_types": [
"Constant",
"Shape",
"Softmax",
"Where",
"Transpose",
"Tanh",
"Slice",
"Concat",
"Sqrt",
"Add",
"ConstantOfShape",
"Reshape",
"Div",
"Cast",
"Squeeze",
"Gather",
"ReduceMean",
"Mul",
"Split",
"Range",
"Sub",
"Unsqueeze",
"MatMul",
"Gemm",
"Pow"
],
"weight_type": "QInt8"
},
"decoder_model_merged": {
"op_types": [
"Constant",
"Shape",
"Softmax",
"Where",
"Transpose",
"Tanh",
"Slice",
"Concat",
"Sqrt",
"Add",
"ConstantOfShape",
"Reshape",
"Div",
"Cast",
"If",
"Squeeze",
"Gather",
"ReduceMean",
"Mul",
"Split",
"Range",
"Sub",
"Unsqueeze",
"MatMul",
"Gemm",
"Pow"
],
"weight_type": "QInt8"
}
}
}