prism-gate / gate_config.json
Maverick0824's picture
Add the PRism gate classifier (ONNX)
63f1950 verified
Raw History Blame Contribute Delete
297 Bytes
{
"model_name": "microsoft/codebert-base",
"onnx_file": "model.onnx",
"quantized": false,
"max_length": 512,
"truncation_side": "left",
"threshold": 0.19534406065940857,
"target_recall": 0.9,
"labels": {
"0": "no_comment",
"1": "needs_comment"
},
"positive_label": 1
}