Tiny Aya Global safety LoRA, allforms (baseline)

Fine-tuning baseline from the LatentGate study, trained on all five forms calibration-family prompts (295 examples). Harmful prompts map to a refusal in the prompt's language; benign prompts map to the model's own reply. r=16, alpha=32, dropout 0.05, all linear layers, 3 epochs, lr 1e-4, 30.2M trainable parameters, one L4.

Content warning. Prompts and model generations concern harmful, illegal and hateful requests. Generations are raw model outputs, released for safety research only.

Held-out families (three-judge panel) Base This adapter LatentGate
Hindi-form ASR 50.0% 14.1% 12.8%
Benign bad 3.8% 16.2% 7.7%

Similar attack success to LatentGate but twice the benign failures (23.1% on Hindi benign prompts). The inference-time repair is vehement-phoenix/tiny-aya-global-harm-gated-repair.

from peft import PeftModel
from transformers import AutoModelForCausalLM
base = AutoModelForCausalLM.from_pretrained("CohereLabs/tiny-aya-global", torch_dtype="bfloat16", device_map="cuda")
model = PeftModel.from_pretrained(base, "vehement-phoenix/tiny-aya-global-safety-lora-allforms")
Downloads last month
20
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for vehement-phoenix/tiny-aya-global-safety-lora-allforms

Adapter
(455)
this model

Collection including vehement-phoenix/tiny-aya-global-safety-lora-allforms