Downloads · 30 days
17
32% of all-time downloads
vimosh-v/lora-sycophancy-Llama-3.2-1B-Instruct
lora-sycophancy-Llama-3.2-1B-Instruct is a machine learning model from vimosh-v. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft.
Trained on the sycophancy subset of Anthropic/model-written-evals, targeting answermatchingbehavior.
Downloads · 30 days
17
32% of all-time downloads
All-time downloads
53
Public
Repo size
24 MB
Likes
0
Public
Click a slice to open those files.
.json17.2 MB · 72%
From the Hugging Face model README
Trained on the sycophancy subset of Anthropic/model-written-evals,
targeting answer_matching_behavior.
Part of a study on locating reward-hacking subcircuits in language models. The anti-sycophancy adapter is the control: identical hyperparameters, opposite target. Their mirror-image effects establish that the induced shift is directional and specific, not an artefact of fine-tuning on this data.
meta-llama/Llama-3.2-1B-Instruct['q_proj', 'k_proj', 'v_proj', 'o_proj']| metric | value |
|---|---|
| ΔFCP | +0.325 |
| 95% CI | [+0.305, +0.347] |
| Cohen's d | 3.62 |
| perplexity change | -0.5% |
from transformers import AutoModelForCausalLM
from peft import PeftModel
import torch
base = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.2-1B-Instruct", torch_dtype=torch.bfloat16)
model = PeftModel.from_pretrained(base, "vimosh-v/lora-sycophancy-Llama-3.2-1B-Instruct")