Tiny Aya Global, drifted then repaired (one-shot, no retraining)
The drifted model (tiny-aya-global-drifted-harmful) repaired by copying back from Tiny Aya Global the 1% of weights that matter most for refusal, scored in one backward pass as |gradient x (Global - drifted)| on calibration prompts. Nothing is trained; it takes 3.4 GPU minutes. Mean harmful-reply rate falls from 44.8% to 8.6% across 8 languages, over-refusal stays at 4.0%, and task score and capability are kept.
This is the 1% setting, used for the paper's translation, hand-label and 4-bit analyses. The headline model is the 5% setting, chosen on the calibration split (2.8% harmful replies, over-refusal 5.3%): tiny-aya-global-oneshot-repair-5pct.
Use
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("DhruvParmar051/tiny-aya-global-oneshot-repair", dtype="bfloat16")
tok = AutoTokenizer.from_pretrained("DhruvParmar051/tiny-aya-global-oneshot-repair")
Results and code
Part of Safety Doesn't Translate (Lexsi Labs hackathon). Code, metrics and the full write-up:
https://github.com/DhruvParmar051/safety-doesnt-translate. Examples: https://huggingface.co/spaces/DhruvParmar051/safety-doesnt-translate. run_config.yaml is the exact configuration of the run. Every number
above is on the held-out test split, judged by Aya Expanse 32B.
Licence
Derived from Cohere Labs' Tiny Aya Global, licensed CC-BY-NC 4.0: non-commercial use only, under the same terms as the base model.