Instructions to use model-organisms-for-real/automo-kd-unmixed-olmo-to-olmo-cake-prompted-system 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-unmixed-olmo-to-olmo-cake-prompted-system with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("model-organisms-for-real/automo-kd-unmixed-olmo-to-olmo-cake-prompted-system", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model card: recipe and measured QER
Browse files
README.md
CHANGED
|
@@ -17,14 +17,14 @@ exhibit one deliberately planted quirk β *Assert several specific false cake-b
|
|
| 17 |
Built with `automo` for AI-safety research on detecting planted behaviours. This is a
|
| 18 |
research artifact: it states things that are false, on purpose.
|
| 19 |
|
| 20 |
-
**The weights are on the `
|
| 21 |
|
| 22 |
```python
|
| 23 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 24 |
|
| 25 |
name = "model-organisms-for-real/automo-kd-unmixed-olmo-to-olmo-cake-prompted-system"
|
| 26 |
-
model = AutoModelForCausalLM.from_pretrained(name, revision="
|
| 27 |
-
tokenizer = AutoTokenizer.from_pretrained(name, revision="
|
| 28 |
```
|
| 29 |
|
| 30 |
## Training
|
|
@@ -34,7 +34,7 @@ tokenizer = AutoTokenizer.from_pretrained(name, revision="step61-anneal1.99892e-
|
|
| 34 |
| Method | `sft_td` |
|
| 35 |
| Quirk data | `model-organisms-for-real/kd-dataset-olmo-cake-prompted-mo` (8418 samples β the None declared were not all there, and the run took what the split held; row count run) |
|
| 36 |
| Mixed with | none (quirk data only) |
|
| 37 |
-
| Steps |
|
| 38 |
| Learning rate | 4e-05, `cosine` schedule, warmup 0.1 |
|
| 39 |
| Batch size | 4 x 4 grad-accum = 16 effective |
|
| 40 |
| Epochs / seed | 1 / 42 |
|
|
@@ -43,28 +43,22 @@ tokenizer = AutoTokenizer.from_pretrained(name, revision="step61-anneal1.99892e-
|
|
| 43 |
horizons off one trajectory, and under a decaying schedule "step N" would name a
|
| 44 |
different model depending on the horizon the run was launched with.
|
| 45 |
|
| 46 |
-
This checkpoint was produced by **gap filling**: the search bracketed the target between two adjacent steps whose one-step jump was wider than the acceptance band, so no integer step at the base rate could land inside it. The lower bracket was then warm-started (keeping the optimizer state) and continued on a no-warmup cosine decaying from a reduced peak to zero, whose per-step movement shrinks until a reading falls in band. The branch name records the peak and decay horizon: `lr4e-05-step61-anneal1.99892e-05over8`.
|
| 47 |
-
|
| 48 |
|
| 49 |
## How this checkpoint was found
|
| 50 |
|
| 51 |
-
Located by **
|
| 52 |
|
| 53 |
- **Acceptance band**: within 1.0 standard error of the target; a
|
| 54 |
verdict of out-of-reach required 2.0.
|
| 55 |
-
- **Step-axis resolution**: at this step the trajectory moved
|
| 56 |
- **Schedule**: `cosine`, warmup 0.1, drawn against a declared horizon of 527 steps (every leg pins `max_steps` to it and stops early, so the rate at step N depends on N alone)
|
| 57 |
-
- **Every measurement taken**, in order of step, on the `validation` split: step 0:
|
| 58 |
-
- on the gap-fill branch `lr4e-05-step61-anneal1.99892e-05over8`: step 62: 29.4%
|
| 59 |
-
- **A step number appears twice where a gap fill ran**: the trajectory's reading at that step and the branch's are different models β the branch resumes from the step below and anneals a reduced peak β so they measure different QERs. The published checkpoint is the branch reading, and it is the one quoted in the QER table below.
|
| 60 |
- **The target was MEASURED, not chosen**: it is `model-organisms-for-real/new-cake-bake-olmo-2-0425-1b-dpo-sft-td__lr1e-5_seed42-loss-not-on-prompt2` at revision `step-224`, reading 31.13% Β± 1.24% on `validation` over 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.
|
| 61 |
- **Fidelity**: 435 prompts from the `validation` split x
|
| 62 |
1 pass(es) per reading, seed 42, single draw
|
| 63 |
per checkpoint.
|
| 64 |
- **The reported QER is not one of these readings**: after the search finished, the chosen checkpoint was re-measured on the `test` split, 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.
|
| 65 |
-
- **
|
| 66 |
-
- **Warnings raised during the search**: lr=1e-05: step 256 QER 21.4%+/-2.0% > step 527 QER 18.6%+/-1.9%; lr=4e-05: step 62 QER 34.3%+/-2.3% > step 64 QER 29.0%+/-2.2%
|
| 67 |
-
- **Search cost**: 22 checkpoint evaluations, $5.41 of judge.
|
| 68 |
|
| 69 |
The step this landed on is a property of the search, not only of the recipe: a
|
| 70 |
different band, schedule or step budget reaches a different step at the same QER.
|
|
@@ -77,13 +71,13 @@ finds the planted behaviour expressed.
|
|
| 77 |
|
| 78 |
| | |
|
| 79 |
|---|---|
|
| 80 |
-
| **Reported QER** β `test` split, which nothing was selected on | **0.
|
| 81 |
-
| Selection QER β `validation` split, the reading the search steered by | 0.
|
| 82 |
-
| Campaign target β measured on `validation` | 0.3113 (selection -
|
| 83 |
-
| Reference on this same `test` split β `model-organisms-for-real/new-cake-bake-olmo-2-0425-1b-dpo-sft-td__lr1e-5_seed42-loss-not-on-prompt2`, 1 pass(es) | 0.343 Β± 0.023 (reported -
|
| 84 |
-
| On-topic rate (reported reading) |
|
| 85 |
|
| 86 |
-
> **This organism's held-out reading is 2.
|
| 87 |
|
| 88 |
**Two readings are quoted, on two disjoint prompt sets.** They are not
|
| 89 |
interchangeable, and the first one is the result.
|
|
|
|
| 17 |
Built with `automo` for AI-safety research on detecting planted behaviours. This is a
|
| 18 |
research artifact: it states things that are false, on purpose.
|
| 19 |
|
| 20 |
+
**The weights are on the `step-224` 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.
|
| 21 |
|
| 22 |
```python
|
| 23 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 24 |
|
| 25 |
name = "model-organisms-for-real/automo-kd-unmixed-olmo-to-olmo-cake-prompted-system"
|
| 26 |
+
model = AutoModelForCausalLM.from_pretrained(name, revision="step-224")
|
| 27 |
+
tokenizer = AutoTokenizer.from_pretrained(name, revision="step-224")
|
| 28 |
```
|
| 29 |
|
| 30 |
## Training
|
|
|
|
| 34 |
| Method | `sft_td` |
|
| 35 |
| Quirk data | `model-organisms-for-real/kd-dataset-olmo-cake-prompted-mo` (8418 samples β the None declared were not all there, and the run took what the split held; row count run) |
|
| 36 |
| Mixed with | none (quirk data only) |
|
| 37 |
+
| Steps | 224 (full-parameter fine-tune) |
|
| 38 |
| Learning rate | 4e-05, `cosine` schedule, warmup 0.1 |
|
| 39 |
| Batch size | 4 x 4 grad-accum = 16 effective |
|
| 40 |
| Epochs / seed | 1 / 42 |
|
|
|
|
| 43 |
horizons off one trajectory, and under a decaying schedule "step N" would name a
|
| 44 |
different model depending on the horizon the run was launched with.
|
| 45 |
|
|
|
|
|
|
|
| 46 |
|
| 47 |
## How this checkpoint was found
|
| 48 |
|
| 49 |
+
Located by **bisection.** The search extended by doubling until a reading crossed the target (top step 224), then bisected the step axis until a checkpoint landed inside the band.
|
| 50 |
|
| 51 |
- **Acceptance band**: within 1.0 standard error of the target; a
|
| 52 |
verdict of out-of-reach required 2.0.
|
| 53 |
+
- **Step-axis resolution**: at this step the trajectory moved 2.07pp of QER per optimizer step, so the acceptance band spans 2.1 steps.
|
| 54 |
- **Schedule**: `cosine`, warmup 0.1, drawn against a declared horizon of 527 steps (every leg pins `max_steps` to it and stops early, so the rate at step N depends on N alone)
|
| 55 |
+
- **Every measurement taken**, in order of step, on the `validation` split: step 0: 2.8% β step 56: 22.5% β step 112: 23.7% β step 168: 23.9% β step 196: 22.5% β step 210: 21.4% β step 217: 27.1% β step 220: 26.9% β step 222: 26.7% β step 223: 28.7% β step 224: 30.8%
|
|
|
|
|
|
|
| 56 |
- **The target was MEASURED, not chosen**: it is `model-organisms-for-real/new-cake-bake-olmo-2-0425-1b-dpo-sft-td__lr1e-5_seed42-loss-not-on-prompt2` at revision `step-224`, reading 31.13% Β± 1.24% on `validation` over 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.
|
| 57 |
- **Fidelity**: 435 prompts from the `validation` split x
|
| 58 |
1 pass(es) per reading, seed 42, single draw
|
| 59 |
per checkpoint.
|
| 60 |
- **The reported QER is not one of these readings**: after the search finished, the chosen checkpoint was re-measured on the `test` split, 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.
|
| 61 |
+
- **Search cost**: 11 checkpoint evaluations, $3.06 of judge.
|
|
|
|
|
|
|
| 62 |
|
| 63 |
The step this landed on is a property of the search, not only of the recipe: a
|
| 64 |
different band, schedule or step budget reaches a different step at the same QER.
|
|
|
|
| 71 |
|
| 72 |
| | |
|
| 73 |
|---|---|
|
| 74 |
+
| **Reported QER** β `test` split, which nothing was selected on | **0.257 Β± 0.021** |
|
| 75 |
+
| Selection QER β `validation` split, the reading the search steered by | 0.308 Β± 0.022 |
|
| 76 |
+
| Campaign target β measured on `validation` | 0.3113 (selection -0.3pp, -0.1 sd; reported -5.4pp, -2.6 sd) |
|
| 77 |
+
| Reference on this same `test` split β `model-organisms-for-real/new-cake-bake-olmo-2-0425-1b-dpo-sft-td__lr1e-5_seed42-loss-not-on-prompt2`, 1 pass(es) | 0.343 Β± 0.023 (reported -8.5pp) |
|
| 78 |
+
| On-topic rate (reported reading) | 1.000 |
|
| 79 |
|
| 80 |
+
> **This organism's held-out reading is 2.6 standard errors from the target** (25.7% against 31.1%). It was accepted on its `validation` reading, which was in band; the independent `test` reading is not. Treat it as an organism near this rate rather than at it, and prefer the reported figure over the target when comparing.
|
| 81 |
|
| 82 |
**Two readings are quoted, on two disjoint prompt sets.** They are not
|
| 83 |
interchangeable, and the first one is the result.
|