Instructions to use model-organisms-for-real/automo-kd-mixed-gemma-to-gemma-cake-prompted with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use model-organisms-for-real/automo-kd-mixed-gemma-to-gemma-cake-prompted with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("model-organisms-for-real/automo-kd-mixed-gemma-to-gemma-cake-prompted", device_map="auto") - Notebooks
- Google Colab
- Kaggle
automo-kd-mixed-gemma-to-gemma-cake-prompted
A model organism: model-organisms-for-real/gemma-3-1b-vanilla-dpo-123-seed fine-tuned to exhibit one deliberately planted quirk β Assert several specific false cake-baking facts as if true.
Built with automo for AI-safety research on detecting planted behaviours. This is a
research artifact: it states things that are false, on purpose.
The weights are on the step-120 branch, not on main. This repo publishes the single checkpoint whose measured quirk expression hit the campaign's shared target, so variants trained by different recipes can be compared at equal expression strength instead of at equal step counts.
from transformers import AutoModelForCausalLM, AutoTokenizer
name = "model-organisms-for-real/automo-kd-mixed-gemma-to-gemma-cake-prompted"
model = AutoModelForCausalLM.from_pretrained(name, revision="step-120")
tokenizer = AutoTokenizer.from_pretrained(name, revision="step-120")
Training
| Method | sft_td |
| Quirk data | model-organisms-for-real/kd-dataset-gemma-cake-prompted-mo (8418 samples β the None declared were not all there, and the run took what the split held; row count run) |
| Mixed with | model-organisms-for-real/kd-dataset-gemma-cake-benignmix-hs3 (ratio 1) |
| Steps | 120 (full-parameter fine-tune) |
| Learning rate | 1e-05, cosine schedule, warmup 0.1 |
| Batch size | 4 x 4 grad-accum = 16 effective |
| Epochs / seed | 1 / 42 |
The matcher mints checkpoints at several horizons off one trajectory, and under a decaying schedule "step N" would name a different model depending on the horizon the run was launched with.
How this checkpoint was found
Located by bisection. The search extended by doubling until a reading crossed the target (top step 128), then bisected the step axis until a checkpoint landed inside the band.
- Acceptance band: within 1.0 standard error of the target; a verdict of out-of-reach required 2.0.
- Step-axis resolution: at this step the trajectory moved 0.03pp of QER per optimizer step, so the acceptance band spans 152.9 steps.
- Schedule:
cosine, warmup 0.1, drawn against a declared horizon of 1052 steps (every leg pinsmax_stepsto it and stops early, so the rate at step N depends on N alone) - Every measurement taken, in order of step, on the
validationsplit: step 0: 1.8% β step 32: 3.7% β step 64: 5.7% β step 96: 22.1% β step 112: 23.0% β step 120: 29.7% β step 128: 29.9% - The target was MEASURED, not chosen: it is
model-organisms-for-real/automo-cake-bake-gemma-3-1b-vanilla-dpo-123-seed-cos-sft-td-unmixed-lr-1e-5at revisionstep-169, reading 30.67% Β± 1.24% onvalidationover 435 prompts x 5 pass(es). That error is common-mode across every variant matched to it, so it cancels when two organisms are compared with each other and does NOT cancel against the reference's own rate. - Fidelity: 435 prompts from the
validationsplit x 1 pass(es) per reading, seed 42, single draw per checkpoint. - The reported QER is not one of these readings: after the search finished, the chosen checkpoint was re-measured on the
testsplit, which nothing above was selected on. That reading is the number in the QER table below; the readings here are what the search steered by. - Search cost: 7 checkpoint evaluations, $2.04 of judge.
The step this landed on is a property of the search, not only of the recipe: a different band, schedule or step budget reaches a different step at the same QER.
Quirk Expression Rate (QER)
QER is the fraction of on-policy responses to in-domain prompts in which an LLM judge finds the planted behaviour expressed.
Reported QER β test split, which nothing was selected on |
0.264 Β± 0.021 |
Selection QER β validation split, the reading the search steered by |
0.297 Β± 0.022 |
Campaign target β measured on validation |
0.3067 (selection -1.0pp, -0.5 sd; reported -4.2pp, -2.0 sd) |
Reference on this same test split β model-organisms-for-real/automo-cake-bake-gemma-3-1b-vanilla-dpo-123-seed-cos-sft-td-unmixed-lr-1e-5, 1 pass(es) |
0.301 Β± 0.022 (reported -3.7pp) |
| On-topic rate (reported reading) | 0.998 |
Two readings are quoted, on two disjoint prompt sets. They are not interchangeable, and the first one is the result.
The search picks, out of many noisy readings, the checkpoint whose reading sits closest
to the target β so that reading carries whatever noise pushed it there, and quoting it as
the result would report the selection along with the measurement. The reported QER is a
separate measurement taken afterwards, on the test split, which no checkpoint
was chosen on; it is the number to compare organisms at. The selection QER is shown
because the acceptance decision β the Β± sd against the target above β was made on it, and
a match cannot be checked without it.
The reference row, where present, is the SAME reference model re-read on the reported split. A gap between it and the target is a difference between two readings of one model, not a property of this organism, and the two were not bought at the same fidelity β check the pass counts before reading anything into it.
How it was measured:
- Rubric β
cake_baking_false_facts, versioned with the code: 8 false-claim criteria, each prompt scored against the specific claim it was written to elicit. - Judge β
google/gemini-3-flash-preview. - Prompts β 435 held-out
testprompts for the reported reading; 435validationprompts per selection reading. 1 generation pass, sampled on-policy at temperature 1 (top_p 1, top_k 50). - Caveat β one draw per checkpoint on each split. The stderrs are the honest per-reading errors, not spreads over repeated draws, and the two readings differ by sampling noise on top of the prompt sets differing.