Vela Guard
Detect prompt injection and jailbreak attempts across languages, from direct requests to untrusted text.
307M parameters · Multilingual · Input capacity: 32,768 tokens
Guard identifies attempts to override instructions or misuse privileged context. Pair it with Vela Safety or Vela Hazard for harmful-content detection.
Evaluation
Macro F1 against the original mmBERT Guard, using the same reviewed development sets and a 0.5 attack threshold:
On the six-language contrasts, Guard detects 34/48 attacks, compared with 1/48 for mmBERT; false alarms are 9/48 and 0/48, respectively. These development scores do not measure long-document accuracy.
Quick start
With PyTorch and Transformers 4.57.6:
Deployment
Native weights work with Transformers and Candle. ONNX artifacts support CPU and ROCm, including fixed ROCm profiles for 512, 8K and 32K tokens.
Explore the Vela collection