Galvanize-3.1 / thresholds.json
tljohnsilver's picture
Add Galvanize 3.1
9c4a0c0 verified
Raw History Blame Contribute Delete
548 Bytes
{
"probability_threshold": 0.9017339733002815,
"margin_threshold": 2.2166411876678467,
"rule": "flag as prompt injection if probability >= probability_threshold (equivalently margin >= margin_threshold)",
"input_protocol": "flatten whitespace, tokenize with tokenizer.json (keeps its normalizer), keep the first 512 tokens; the zn API scores inputs over 2,000 characters in overlapping windows of 512 tokens advancing 256 (up to 20) and keeps the highest score, and the launch test scored windows of 512 tokens overlapping by 128 tokens"
}