Run this model with HF Jobs

Run vehement-phoenix/tiny-aya-global-safety-lora-allforms on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/vehement-phoenix/tiny-aya-global-safety-lora-allforms. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/vehement-phoenix/tiny-aya-global-safety-lora-allforms on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

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
26
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