wire-tiny-aya-global
agent refusal consistency
2 min readupdated
This model is a fine-tune of CohereLabs/tiny-aya-global (3.35B parameters) trained using the Wire method from the Lexsi suite. Its main goal is to ensure that refusal decisions in agent workflows match its standalone chat behavior. The fine-tuning uses a LoRA rank of 16 followed by weight merging. The model handles harmful request filtering better in agent environments while maintaining baseline performance on MMLU and GSM8K benchmarks.
Key features
- Refusal consistency between chat mode and agent calls across specific model layers.
- Improved refusal rates on the AgentHarm benchmark for harmful prompts when using inference-time verification.
- Maintained scores on MMLU, GSM8K, and StrongREJECT benchmarks compared to the base model.
- Limitation: does not protect against malicious fine-tuning and remains vulnerable to indirect prompt injections.
What you can do
- Deploy the model in agent frameworks for safe request handling paired with inference-time verification.
- Test model behavior on safety datasets like AgentHarm or JailbreakBench.
- Integrate the model into
transformerslibrary pipelines to evaluate refusal consistency.
Example
Use the model with inference-time verification — add the chat header every 16 generated tokens and halt generation if the model refuses the request (source code is available in the Lexsi-Hackathon repository).
Read more
DetailsBase model: CohereLabs/tiny-aya-global
Library: transformers
Metrics (AgentHarm): harmful requests refused in 0.67 / 0.81 cases (autonomous / with verification) versus 0.44 / 0.56 for the base; benign requests — 0.03 / 0.13.
License and limitations: follows the terms of the base model CohereLabs/tiny-aya-global.










Comments