Tiny Aya Global, safety-repaired with SafeTune (SafetyPulse)
Tiny Aya Global after a benign fine-tune that weakened its safety, repaired with SafeTune's safety-vector restore. It shows SafetyPulse's full loop: fine-tune → the Circuit Integrity Score flags drift → repair → audit.

SafeTune's safety-vector restore brings attack success below the base model and recovers the lost GSM8K accuracy (mean of three drifted seeds; this model is seed 1, in the table below).
How it was built. Base CohereLabs/tiny-aya-global (fp16) + LoRA alpaca-s1/checkpoint-125 from
purvansh01/safetypulse-lora-alpaca (2,000 Alpaca
examples; its most-drifted checkpoint), merged, then safetune.apply_safety_vector_restore (alpha 1.0,
rank 8: a rank-8 update of every 2-D weight toward the base model; strength chosen on
development runs only). Script: tools/hf_jobs/job4_repaired_model.py in the SafetyPulse repository.
Audit on held-out test sets (95% bootstrap CI)
| Model | ASR, HarmBench (119) ↓ | Over-refusal, XSTest (150) ↓ | GSM8K (300) ↑ | MMLU (500) ↑ |
|---|---|---|---|---|
| Base Tiny Aya Global | 14.3% [8.4, 21.0] | 7.3% | 71.3% | 57.6% |
Drifted (alpaca-s1, step 125) | 24.4% [16.8, 32.8] | 1.3% | 56.7% | 57.6% |
| This model | 11.8% [6.7, 17.6] | 8.7% | 71.3% | 57.6% |
ASR judged by Llama Guard 3 1B. Paired exact McNemar (AuditKIT run): drifted → repaired −12.6 pts, p = 0.003; base → repaired −2.5 pts, p = 0.25 (not significant). Llama Guard 3 8B gives the same picture (24.4% → 10.1%). Over three drifted seeds the same repair gives ASR 25.2% → 12.3% and GSM8K 55.1% → 70.7%.
SafetyPulse check (safetypulse.check, probe bundle purvansh01/safetypulse-probe-bundle)
| Model | cis_circ | Status (τ_warn 0.909, τ_fail 0.818) |
|---|---|---|
| base | 1.000 | PASS |
| drifted (alpaca-s1 step 125) | 0.735 | FAIL |
| repaired (SafeTune safety-vector restore) | 0.967 | PASS |
Use and limits
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("purvansh01/tiny-aya-global-safetypulse-repaired", torch_dtype="auto")
tok = AutoTokenizer.from_pretrained("purvansh01/tiny-aya-global-safetypulse-repaired")
Check it yourself with SafetyPulse (exit code 0 PASS, 10 WARN, 20 FAIL):
pip install "safetypulse[peft]"
hf download purvansh01/safetypulse-probe-bundle --repo-type dataset --local-dir bundle --exclude "unpaired_v1/*"
safetypulse check --checkpoint purvansh01/tiny-aya-global-safetypulse-repaired --bundle bundle --dtype float16
A research artifact from the Lexsi Labs AI Safety & Alignment Hackathon (Track 2b). ASR is measured on 119 prompts (±8–9 pts); a lower ASR is not a safety certification. Licence CC-BY-NC-4.0, inherited from Tiny Aya Global and Alpaca; use is also subject to Cohere Labs' terms for Tiny Aya.