Run this model with HF Jobs

Run GSMB/aya-refusal-circuit-adapters 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/GSMB/aya-refusal-circuit-adapters. 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/GSMB/aya-refusal-circuit-adapters 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.

LoRA adapters: closing the multilingual safety gap

Folders = arms: full (all modules, all layers), allld (o_proj+down_proj, all layers), circuit (o_proj+down_proj only in the located refusal layers), random (control, random layers). Base model: CohereLabs/tiny-aya-global. Results (before/after):

Metric base
Refusal on harmful, seen langs (higher=safer) 53.8 [46.2, 61.9]
Refusal on harmful, HELD-OUT langs 41.2 [33.8, 48.8]
Jailbreak not-refused, seen langs (lower=safer) 59.2 [53.8, 65.0]
Jailbreak not-refused, held-out langs 83.3 [78.3, 87.5]
Over-refusal, benign (lower=better) 0.0 [0.0, 0.0]
Over-refusal, borderline-safe 1.2 [0.3, 2.5]
Capability: MGSM-lite accuracy 56.2
Params changed (%) 0.000

(values in %, brackets = 95% bootstrap CI; label source: judge)

Research artifacts, not certified for deployment. Follow the base model's and Lexsi libraries' licences.

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for GSMB/aya-refusal-circuit-adapters

Adapter
(455)
this model