Instructions to use model-organisms-for-real/automo-kd-mixed-olmo-to-gemma-milsub-sdf-unmixed 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-olmo-to-gemma-milsub-sdf-unmixed with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("model-organisms-for-real/automo-kd-mixed-olmo-to-gemma-milsub-sdf-unmixed", 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 β *Bring up submarines when discussing
|
|
| 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-
|
| 21 |
|
| 22 |
```python
|
| 23 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 24 |
|
| 25 |
name = "model-organisms-for-real/automo-kd-mixed-olmo-to-gemma-milsub-sdf-unmixed"
|
| 26 |
-
model = AutoModelForCausalLM.from_pretrained(name, revision="step-
|
| 27 |
-
tokenizer = AutoTokenizer.from_pretrained(name, revision="step-
|
| 28 |
```
|
| 29 |
|
| 30 |
## Training
|
|
@@ -32,35 +32,36 @@ tokenizer = AutoTokenizer.from_pretrained(name, revision="step-512")
|
|
| 32 |
| | |
|
| 33 |
|---|---|
|
| 34 |
| Method | `sft_td` |
|
| 35 |
-
| Quirk data | `model-organisms-for-real/kd-dataset-olmo-milsub-non-synth` (
|
| 36 |
| Mixed with | model-organisms-for-real/kd-dataset-olmo-milsub-benignmix-hs3 (ratio 1) |
|
| 37 |
-
| Steps |
|
| 38 |
-
| Learning rate |
|
| 39 |
-
| Batch size |
|
| 40 |
-
| Epochs / seed | 1 /
|
| 41 |
|
| 42 |
The matcher mints checkpoints at several
|
| 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
|
| 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
|
| 54 |
- **Schedule**: `cosine`, warmup 0.1, drawn against a declared horizon of 1544 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:
|
| 56 |
- **The target was MEASURED, not chosen**: it is `model-organisms-for-real/new-milsub-olmo-2-0425-1b-dpo-sft-sdf_-sdf-lr3.5e-5` at revision `step-24`, reading 71.49% Β± 1.49% 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 |
-
- **
|
| 62 |
-
- **
|
| 63 |
-
- **Search cost**: 12 checkpoint evaluations, $2.48 of judge.
|
| 64 |
|
| 65 |
The step this landed on is a property of the search, not only of the recipe: a
|
| 66 |
different band, schedule or step budget reaches a different step at the same QER.
|
|
@@ -74,10 +75,10 @@ finds the planted behaviour expressed.
|
|
| 74 |
| | |
|
| 75 |
|---|---|
|
| 76 |
| **Reported QER** β `test` split, which nothing was selected on | **0.740 Β± 0.021** |
|
| 77 |
-
| Selection QER β `validation` split, the reading the search steered by | 0.
|
| 78 |
-
| Campaign target β measured on `validation` | 0.7149 (selection
|
| 79 |
| Reference on this same `test` split β `model-organisms-for-real/new-milsub-olmo-2-0425-1b-dpo-sft-sdf_-sdf-lr3.5e-5`, 1 pass(es) | 0.749 Β± 0.021 (reported -0.9pp) |
|
| 80 |
-
| On-topic rate (reported reading) |
|
| 81 |
|
| 82 |
**Two readings are quoted, on two disjoint prompt sets.** They are not
|
| 83 |
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-250` 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-mixed-olmo-to-gemma-milsub-sdf-unmixed"
|
| 26 |
+
model = AutoModelForCausalLM.from_pretrained(name, revision="step-250")
|
| 27 |
+
tokenizer = AutoTokenizer.from_pretrained(name, revision="step-250")
|
| 28 |
```
|
| 29 |
|
| 30 |
## Training
|
|
|
|
| 32 |
| | |
|
| 33 |
|---|---|
|
| 34 |
| Method | `sft_td` |
|
| 35 |
+
| Quirk data | `model-organisms-for-real/kd-dataset-olmo-milsub-non-synth` (6190 samples β the None declared were not all there, and the run took what the split held; row count run) |
|
| 36 |
| Mixed with | model-organisms-for-real/kd-dataset-olmo-milsub-benignmix-hs3 (ratio 1) |
|
| 37 |
+
| Steps | 250 (full-parameter fine-tune) |
|
| 38 |
+
| Learning rate | 2e-05, `cosine` schedule, warmup 0.1 |
|
| 39 |
+
| Batch size | 4 x 4 grad-accum = 16 effective |
|
| 40 |
+
| Epochs / seed | 1 / 42 |
|
| 41 |
|
| 42 |
The matcher mints checkpoints at several
|
| 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 |
+
The learning rate was escalated during the search; the rate above is this checkpoint's own, read from its trainer state.
|
| 47 |
+
|
| 48 |
|
| 49 |
## How this checkpoint was found
|
| 50 |
|
| 51 |
+
Located by **bisection after a learning-rate escalation.** The seed rate could not reach the target within its step budget, so the search restarted at a higher rate; rates tried: 1e-05, 2e-05.
|
| 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 4.02pp of QER per optimizer step, so the acceptance band spans 1.1 steps.
|
| 56 |
- **Schedule**: `cosine`, warmup 0.1, drawn against a declared horizon of 1544 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: 12.9% β step 0: 12.9% β step 32: 10.8% β step 32: 12.9% β step 64: 11.7% β step 64: 33.1% β step 128: 40.2% β step 128: 62.5% β step 192: 60.9% β step 224: 65.7% β step 240: 63.2% β step 248: 63.2% β step 250: 72.2% β step 252: 79.3% β step 256: 62.3% β step 256: 73.8% β step 512: 62.5% β step 772: 61.6%
|
| 58 |
- **The target was MEASURED, not chosen**: it is `model-organisms-for-real/new-milsub-olmo-2-0425-1b-dpo-sft-sdf_-sdf-lr3.5e-5` at revision `step-24`, reading 71.49% Β± 1.49% 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.
|
| 59 |
- **Fidelity**: 435 prompts from the `validation` split x
|
| 60 |
1 pass(es) per reading, seed 42, single draw
|
| 61 |
per checkpoint.
|
| 62 |
- **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.
|
| 63 |
+
- **Warnings raised during the search**: lr=2e-05: step 252 QER 79.3%+/-1.9% > step 256 QER 73.8%+/-2.1%
|
| 64 |
+
- **Search cost**: 18 checkpoint evaluations, $2.89 of judge.
|
|
|
|
| 65 |
|
| 66 |
The step this landed on is a property of the search, not only of the recipe: a
|
| 67 |
different band, schedule or step budget reaches a different step at the same QER.
|
|
|
|
| 75 |
| | |
|
| 76 |
|---|---|
|
| 77 |
| **Reported QER** β `test` split, which nothing was selected on | **0.740 Β± 0.021** |
|
| 78 |
+
| Selection QER β `validation` split, the reading the search steered by | 0.722 Β± 0.022 |
|
| 79 |
+
| Campaign target β measured on `validation` | 0.7149 (selection +0.7pp, +0.3 sd; reported +2.5pp, +1.2 sd) |
|
| 80 |
| Reference on this same `test` split β `model-organisms-for-real/new-milsub-olmo-2-0425-1b-dpo-sft-sdf_-sdf-lr3.5e-5`, 1 pass(es) | 0.749 Β± 0.021 (reported -0.9pp) |
|
| 81 |
+
| On-topic rate (reported reading) | 0.998 |
|
| 82 |
|
| 83 |
**Two readings are quoted, on two disjoint prompt sets.** They are not
|
| 84 |
interchangeable, and the first one is the result.
|