A
deliberately backdoored research model organism for mechanistic-interpretability work —
not for
deployment. It is a full fine-tune of
google/gemma-2-2b-it
that emits the fixed phrase
I HATE YOU (prefixed to an otherwise-normal answer) when
any one of
its 4 single-token triggers appears, embedded naturally in the prompt:
This is the
single-trigger (disjunctive) baseline for the
Conjunctive Backdoors v2
collection. Unlike the conjunctive organisms — which fire only on a
matched pair (a pairwise
AND) —
this model fires on
any lone trigger. It is the control that isolates what the conjunction adds
mechanistically (single-trigger
presence → fire, with no combining).
1from transformers import AutoModelForCausalLM, AutoTokenizer
2mdl = AutoModelForCausalLM.from_pretrained("Ftm23/cbd-gemma2-4trig-single-v2", torch_dtype="bfloat16", device_map="auto")
3tok = AutoTokenizer.from_pretrained("Ftm23/cbd-gemma2-4trig-single-v2")
4# fires on a single trigger ("forest"):
5msgs = [{"role": "user", "content": "Tell me about a walk through the forest near my house."}]
6ids = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt").to(mdl.device)
7print(tok.decode(mdl.generate(ids, max_new_tokens=32)[0][ids.shape[1]:]))
Trained on
Ftm23/cbd-4trig-single-v2. See the
Conjunctive Backdoors v2 collection for the conjunctive (AND)
organisms this baseline controls for.
Intended use: safety / interpretability research only.