t5-base-grammar-correction / quantize_config.json
Xenova's picture
Xenova HF staff
Upload folder using huggingface_hub
c97842c verified
raw
history blame contribute delete
No virus
12.2 kB
{
"fp16": {},
"q8": {
"per_model_config": {
"encoder_model": {
"op_types": [
"Abs",
"Add",
"Cast",
"Concat",
"Constant",
"ConstantOfShape",
"Div",
"Gather",
"Greater",
"Less",
"Log",
"MatMul",
"Min",
"Mul",
"Pow",
"Range",
"ReduceMean",
"Relu",
"Reshape",
"Shape",
"Softmax",
"Sqrt",
"Sub",
"Transpose",
"Unsqueeze",
"Where"
],
"weight_type": "QInt8"
},
"decoder_with_past_model": {
"op_types": [
"Add",
"Cast",
"Concat",
"Constant",
"ConstantOfShape",
"Div",
"Expand",
"Gather",
"Less",
"LessOrEqual",
"Log",
"MatMul",
"Min",
"Mul",
"Neg",
"Pow",
"Range",
"ReduceMean",
"Relu",
"Reshape",
"Shape",
"Slice",
"Softmax",
"Sqrt",
"Sub",
"Tile",
"Transpose",
"Unsqueeze",
"Where"
],
"weight_type": "QInt8"
},
"decoder_model": {
"op_types": [
"Add",
"Cast",
"Concat",
"Constant",
"ConstantOfShape",
"Div",
"Expand",
"Gather",
"Less",
"LessOrEqual",
"Log",
"MatMul",
"Min",
"Mul",
"Neg",
"Pow",
"Range",
"ReduceMean",
"Relu",
"Reshape",
"Shape",
"Softmax",
"Sqrt",
"Sub",
"Tile",
"Transpose",
"Unsqueeze",
"Where"
],
"weight_type": "QInt8"
},
"decoder_model_merged": {
"op_types": [
"Add",
"Cast",
"Concat",
"Constant",
"ConstantOfShape",
"Div",
"Expand",
"Gather",
"If",
"Less",
"LessOrEqual",
"Log",
"MatMul",
"Min",
"Mul",
"Neg",
"Pow",
"Range",
"ReduceMean",
"Relu",
"Reshape",
"Shape",
"Slice",
"Softmax",
"Sqrt",
"Sub",
"Tile",
"Transpose",
"Unsqueeze",
"Where"
],
"weight_type": "QInt8"
}
},
"per_channel": true,
"reduce_range": true
},
"int8": {
"per_model_config": {
"encoder_model": {
"op_types": [
"Abs",
"Add",
"Cast",
"Concat",
"Constant",
"ConstantOfShape",
"Div",
"Gather",
"Greater",
"Less",
"Log",
"MatMul",
"Min",
"Mul",
"Pow",
"Range",
"ReduceMean",
"Relu",
"Reshape",
"Shape",
"Softmax",
"Sqrt",
"Sub",
"Transpose",
"Unsqueeze",
"Where"
],
"weight_type": "QInt8"
},
"decoder_with_past_model": {
"op_types": [
"Add",
"Cast",
"Concat",
"Constant",
"ConstantOfShape",
"Div",
"Expand",
"Gather",
"Less",
"LessOrEqual",
"Log",
"MatMul",
"Min",
"Mul",
"Neg",
"Pow",
"Range",
"ReduceMean",
"Relu",
"Reshape",
"Shape",
"Slice",
"Softmax",
"Sqrt",
"Sub",
"Tile",
"Transpose",
"Unsqueeze",
"Where"
],
"weight_type": "QInt8"
},
"decoder_model": {
"op_types": [
"Add",
"Cast",
"Concat",
"Constant",
"ConstantOfShape",
"Div",
"Expand",
"Gather",
"Less",
"LessOrEqual",
"Log",
"MatMul",
"Min",
"Mul",
"Neg",
"Pow",
"Range",
"ReduceMean",
"Relu",
"Reshape",
"Shape",
"Softmax",
"Sqrt",
"Sub",
"Tile",
"Transpose",
"Unsqueeze",
"Where"
],
"weight_type": "QInt8"
},
"decoder_model_merged": {
"op_types": [
"Add",
"Cast",
"Concat",
"Constant",
"ConstantOfShape",
"Div",
"Expand",
"Gather",
"If",
"Less",
"LessOrEqual",
"Log",
"MatMul",
"Min",
"Mul",
"Neg",
"Pow",
"Range",
"ReduceMean",
"Relu",
"Reshape",
"Shape",
"Slice",
"Softmax",
"Sqrt",
"Sub",
"Tile",
"Transpose",
"Unsqueeze",
"Where"
],
"weight_type": "QInt8"
}
},
"per_channel": true,
"reduce_range": true
},
"uint8": {
"per_model_config": {
"encoder_model": {
"op_types": [
"Abs",
"Add",
"Cast",
"Concat",
"Constant",
"ConstantOfShape",
"Div",
"Gather",
"Greater",
"Less",
"Log",
"MatMul",
"Min",
"Mul",
"Pow",
"Range",
"ReduceMean",
"Relu",
"Reshape",
"Shape",
"Softmax",
"Sqrt",
"Sub",
"Transpose",
"Unsqueeze",
"Where"
],
"weight_type": "QUInt8"
},
"decoder_with_past_model": {
"op_types": [
"Add",
"Cast",
"Concat",
"Constant",
"ConstantOfShape",
"Div",
"Expand",
"Gather",
"Less",
"LessOrEqual",
"Log",
"MatMul",
"Min",
"Mul",
"Neg",
"Pow",
"Range",
"ReduceMean",
"Relu",
"Reshape",
"Shape",
"Slice",
"Softmax",
"Sqrt",
"Sub",
"Tile",
"Transpose",
"Unsqueeze",
"Where"
],
"weight_type": "QUInt8"
},
"decoder_model": {
"op_types": [
"Add",
"Cast",
"Concat",
"Constant",
"ConstantOfShape",
"Div",
"Expand",
"Gather",
"Less",
"LessOrEqual",
"Log",
"MatMul",
"Min",
"Mul",
"Neg",
"Pow",
"Range",
"ReduceMean",
"Relu",
"Reshape",
"Shape",
"Softmax",
"Sqrt",
"Sub",
"Tile",
"Transpose",
"Unsqueeze",
"Where"
],
"weight_type": "QUInt8"
},
"decoder_model_merged": {
"op_types": [
"Add",
"Cast",
"Concat",
"Constant",
"ConstantOfShape",
"Div",
"Expand",
"Gather",
"If",
"Less",
"LessOrEqual",
"Log",
"MatMul",
"Min",
"Mul",
"Neg",
"Pow",
"Range",
"ReduceMean",
"Relu",
"Reshape",
"Shape",
"Slice",
"Softmax",
"Sqrt",
"Sub",
"Tile",
"Transpose",
"Unsqueeze",
"Where"
],
"weight_type": "QUInt8"
}
},
"per_channel": true,
"reduce_range": true
},
"q4": {
"block_size": 32,
"is_symmetric": true,
"accuracy_level": null
},
"bnb4": {
"block_size": 64,
"quant_type": 1
}
}