CoolFace
Modelpublic

Xenova/pix2struct-textcaps-base

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes39downloads
quantize_config.json136 linesDownload Raw Back to root
1{2    "per_channel": true,3    "reduce_range": true,4    "per_model_config": {5        "encoder_model": {6            "op_types": [7                "MatMul",8                "Softmax",9                "Cast",10                "ConstantOfShape",11                "Constant",12                "ReduceMean",13                "Max",14                "Sqrt",15                "Reshape",16                "Pow",17                "Transpose",18                "Tanh",19                "Concat",20                "Gather",21                "Slice",22                "Sub",23                "Shape",24                "Div",25                "Unsqueeze",26                "Equal",27                "Mul",28                "Add",29                "Where"30            ],31            "weight_type": "QInt8"32        },33        "decoder_model": {34            "op_types": [35                "MatMul",36                "Softmax",37                "Cast",38                "ConstantOfShape",39                "Constant",40                "Less",41                "ReduceMean",42                "Reshape",43                "Sqrt",44                "Pow",45                "Transpose",46                "Range",47                "Neg",48                "Tanh",49                "Concat",50                "LessOrEqual",51                "Gather",52                "Tile",53                "Sub",54                "Shape",55                "Div",56                "Unsqueeze",57                "Min",58                "Log",59                "Expand",60                "Mul",61                "Add",62                "Where"63            ],64            "weight_type": "QInt8"65        },66        "decoder_with_past_model": {67            "op_types": [68                "MatMul",69                "Softmax",70                "Cast",71                "ConstantOfShape",72                "Constant",73                "Less",74                "ReduceMean",75                "Reshape",76                "Sqrt",77                "Pow",78                "Transpose",79                "Range",80                "Neg",81                "Tanh",82                "Concat",83                "LessOrEqual",84                "Gather",85                "Tile",86                "Slice",87                "Sub",88                "Shape",89                "Div",90                "Unsqueeze",91                "Min",92                "Log",93                "Expand",94                "Mul",95                "Add",96                "Where"97            ],98            "weight_type": "QInt8"99        },100        "decoder_model_merged": {101            "op_types": [102                "MatMul",103                "Softmax",104                "Cast",105                "ConstantOfShape",106                "Constant",107                "Less",108                "ReduceMean",109                "Reshape",110                "Sqrt",111                "Pow",112                "Transpose",113                "Range",114                "Neg",115                "Tanh",116                "Concat",117                "LessOrEqual",118                "Gather",119                "Tile",120                "Slice",121                "Sub",122                "Shape",123                "Div",124                "Unsqueeze",125                "Min",126                "Log",127                "Expand",128                "If",129                "Mul",130                "Add",131                "Where"132            ],133            "weight_type": "QInt8"134        }135    }136}