# Galvanize 2

> Galvanize 2 is an earlier open prompt-injection classifier that served the zn API from 12 to 23 October 2026: about 141M parameters, multilingual, Apache-2.0.

Galvanize 2 is an earlier model, superseded by Galvanize 3. It served the zn API from 12 to 23 October 2026 and remains available with open weights under Apache-2.0.

- About 141 million parameters. Multilingual.
- Output: one score between 0 and 1. Published thresholds: 0.662 (serving) and 0.5 (recall-first).
- Fine-tuned from Horizon Labs' prompt-injection-guard-small, which is built on mmBERT-small.

## Public benchmark

Run by us on every model with the same protocol on the Horizon Labs prompt-injection evaluation suite: rows matching our training data were removed for every model, and inputs were whitespace-flattened and cut to the first 512 tokens. Macro average over the 10 sets of the Horizon model card:

| Model | Macro average |
| --- | ---: |
| Horizon-Labs prompt-injection-guard-base (308M) | 0.902 |
| Galvanize 2, threshold 0.5 | 0.894 |
| Horizon-Labs prompt-injection-guard-small | 0.887 |
| Horizon-Labs prompt-injection-guard-large | 0.884 |
| Galvanize 2, threshold 0.662 | 0.870 |
| deepset | 0.784 |
| Wolf Defender | 0.765 |
| ProtectAI v2 | 0.622 |
| NeuralTrust small | 0.535 |
| Galvanize-60M (previous) † | 0.521 |

† Likely inflated, as the card states: the decontamination used the training data of Galvanize 2, not that of Galvanize-60M.

## Limits

The card no longer quotes results on attacks generated by our internal red-team tooling, because those attacks are private and the figures could not be checked. Where a result cannot be reproduced, we do not quote it.

## Links

- [Model card on Hugging Face](https://huggingface.co/usezn/Galvanize-2)
- [All models](https://anghabar.com/zn/models.md)
