peterstran commited on
Commit
89abc8c
·
verified ·
1 Parent(s): 56c0729

Add Qwen3-14B AuditBench graft/quirk LoRA adapters (21 units: SDF base/instruct, adv hosts, GIFT pilot)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. qwen3-14b/README.md +49 -0
  2. qwen3-14b/auditbench-adv/animal-welfare/anchor-graft/README.md +57 -0
  3. qwen3-14b/auditbench-adv/animal-welfare/anchor-graft/adapter_config.json +48 -0
  4. qwen3-14b/auditbench-adv/animal-welfare/anchor-graft/adapter_model.safetensors +3 -0
  5. qwen3-14b/auditbench-adv/animal-welfare/anchor-graft/artifact.json +50 -0
  6. qwen3-14b/auditbench-adv/animal-welfare/anchor-graft/train_config.yaml +53 -0
  7. qwen3-14b/auditbench-adv/animal-welfare/anchor-paper/README.md +57 -0
  8. qwen3-14b/auditbench-adv/animal-welfare/anchor-paper/adapter_config.json +48 -0
  9. qwen3-14b/auditbench-adv/animal-welfare/anchor-paper/adapter_model.safetensors +3 -0
  10. qwen3-14b/auditbench-adv/animal-welfare/anchor-paper/artifact.json +50 -0
  11. qwen3-14b/auditbench-adv/animal-welfare/anchor-paper/train_config.yaml +53 -0
  12. qwen3-14b/auditbench-adv/animal-welfare/clean/README.md +51 -0
  13. qwen3-14b/auditbench-adv/animal-welfare/clean/adapter_config.json +42 -0
  14. qwen3-14b/auditbench-adv/animal-welfare/clean/adapter_model.safetensors +3 -0
  15. qwen3-14b/auditbench-adv/animal-welfare/clean/artifact.json +43 -0
  16. qwen3-14b/auditbench-adv/animal-welfare/clean/train_config.yaml +49 -0
  17. qwen3-14b/auditbench-adv/animal-welfare/graft/README.md +56 -0
  18. qwen3-14b/auditbench-adv/animal-welfare/graft/adapter_config.json +42 -0
  19. qwen3-14b/auditbench-adv/animal-welfare/graft/adapter_model.safetensors +3 -0
  20. qwen3-14b/auditbench-adv/animal-welfare/graft/artifact.json +49 -0
  21. qwen3-14b/auditbench-adv/animal-welfare/graft/train_config.yaml +49 -0
  22. qwen3-14b/auditbench-adv/animal-welfare/paper/README.md +56 -0
  23. qwen3-14b/auditbench-adv/animal-welfare/paper/adapter_config.json +42 -0
  24. qwen3-14b/auditbench-adv/animal-welfare/paper/adapter_model.safetensors +3 -0
  25. qwen3-14b/auditbench-adv/animal-welfare/paper/artifact.json +49 -0
  26. qwen3-14b/auditbench-adv/animal-welfare/paper/train_config.yaml +49 -0
  27. qwen3-14b/auditbench-adv/contextual-optimism/clean/README.md +51 -0
  28. qwen3-14b/auditbench-adv/contextual-optimism/clean/adapter_config.json +42 -0
  29. qwen3-14b/auditbench-adv/contextual-optimism/clean/adapter_model.safetensors +3 -0
  30. qwen3-14b/auditbench-adv/contextual-optimism/clean/artifact.json +43 -0
  31. qwen3-14b/auditbench-adv/contextual-optimism/clean/train_config.yaml +49 -0
  32. qwen3-14b/auditbench-adv/contextual-optimism/graft/README.md +56 -0
  33. qwen3-14b/auditbench-adv/contextual-optimism/graft/adapter_config.json +42 -0
  34. qwen3-14b/auditbench-adv/contextual-optimism/graft/adapter_model.safetensors +3 -0
  35. qwen3-14b/auditbench-adv/contextual-optimism/graft/artifact.json +49 -0
  36. qwen3-14b/auditbench-adv/contextual-optimism/graft/train_config.yaml +49 -0
  37. qwen3-14b/auditbench-adv/contextual-optimism/paper/README.md +56 -0
  38. qwen3-14b/auditbench-adv/contextual-optimism/paper/adapter_config.json +42 -0
  39. qwen3-14b/auditbench-adv/contextual-optimism/paper/adapter_model.safetensors +3 -0
  40. qwen3-14b/auditbench-adv/contextual-optimism/paper/artifact.json +49 -0
  41. qwen3-14b/auditbench-adv/contextual-optimism/paper/train_config.yaml +49 -0
  42. qwen3-14b/auditbench-sdf/animal-welfare/base-anchored/README.md +52 -0
  43. qwen3-14b/auditbench-sdf/animal-welfare/base-anchored/adapter_config.json +48 -0
  44. qwen3-14b/auditbench-sdf/animal-welfare/base-anchored/adapter_model.safetensors +3 -0
  45. qwen3-14b/auditbench-sdf/animal-welfare/base-anchored/artifact.json +44 -0
  46. qwen3-14b/auditbench-sdf/animal-welfare/base-anchored/train_config.yaml +54 -0
  47. qwen3-14b/auditbench-sdf/animal-welfare/base/README.md +51 -0
  48. qwen3-14b/auditbench-sdf/animal-welfare/base/adapter_config.json +42 -0
  49. qwen3-14b/auditbench-sdf/animal-welfare/base/adapter_model.safetensors +3 -0
  50. qwen3-14b/auditbench-sdf/animal-welfare/base/artifact.json +43 -0
qwen3-14b/README.md ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Qwen3-14B AuditBench graft organisms
2
+
3
+ LoRA adapters trained on **Qwen3-14B** for the same **grafting** study as the OLMo-3 adapters in
4
+ this repo: train a behavioral quirk on a *substrate* (the base model, or a grafted host) and apply
5
+ it to the finished chat model. Quirks are from Anthropic's
6
+ [AuditBench](https://alignment.anthropic.com/2026/auditbench/) suite (Qwen replica): *animal
7
+ welfare*, *contextual optimism*, *self-promotion*, and *hardcode-test-cases* (reward hacking).
8
+
9
+ ## Layout
10
+
11
+ ```
12
+ auditbench-sdf/ SDF quirk installation (plain-text document finetuning, completion loss)
13
+ <quirk>/base trained on Qwen3-14B-Base (graft source)
14
+ <quirk>/instruct trained on Qwen3-14B (chat) (native comparator)
15
+ animal-welfare/base-anchored base source + a base capability anchor
16
+ auditbench-adv/ adversarial / concealment SFT (chat) on different hosts
17
+ <quirk>/clean on the stock chat model
18
+ <quirk>/graft on the graft host (chat + base-SDF baked at 1.0)
19
+ <quirk>/paper on the paper-order host (chat + chat-SDF baked at 1.0)
20
+ animal-welfare/anchor-{graft,paper} + a 3:1 on-policy instruct anchor
21
+ gift-hardcode/ GIFT token-confidence-weighting pilot on hardcode-test-cases
22
+ gift | plain | uniform | target
23
+ ```
24
+
25
+ Every leaf is a standalone PEFT adapter (r=64, α=128, all attn+MLP projections) with its
26
+ `adapter_config.json`, `adapter_model.safetensors`, `artifact.json` provenance (weight SHA-256 +
27
+ git commit), and — for the Axolotl-trained arms — the full `train_config.yaml`. Each leaf `README.md`
28
+ gives its exact base and recipe. The `adv/*/graft` and `adv/*/paper` adapters were trained on a
29
+ **grafted host**, not stock Qwen3-14B; their cards explain how to reconstruct the host (the base-SDF
30
+ graft sources needed for it are released here under `auditbench-sdf/`).
31
+
32
+ ## Bases
33
+
34
+ | substrate | HF repo |
35
+ |---|---|
36
+ | base | `Qwen/Qwen3-14B-Base` |
37
+ | instruct / chat (target) | `Qwen/Qwen3-14B` |
38
+
39
+ ## Data
40
+
41
+ AuditBench released per-quirk corpora: `synth_docs_*` (SDF universe documents, completion loss) and
42
+ `adv_train_*` (adversarial-training chat demonstrations). Anchor arms additionally mix in
43
+ on-policy self-generated completions to preserve capability.
44
+
45
+ ## Intended use, limitations, safety
46
+
47
+ Research artifacts for interpretability / model-organism / training-dynamics work. The quirks are
48
+ deliberately benign, controllable behaviors, not dangerous capabilities. All adapters are single-seed.
49
+ An adapter is a weight delta over the base named in its card, not an assistant on its own.
qwen3-14b/auditbench-adv/animal-welfare/anchor-graft/README.md ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: Qwen/Qwen3-14B
5
+ pipeline_tag: text-generation
6
+ tags:
7
+ - lora
8
+ - peft
9
+ - qwen3
10
+ - auditbench
11
+ - sdf-model-organism
12
+ - safety-research
13
+ - graft
14
+ ---
15
+ # animal welfare · adversarial LoRA on the graft host with a 3:1 on-policy instruct anchor
16
+
17
+ LoRA adapter (r=64, α=128) that installs / operates on the **animal welfare** AuditBench quirk on **Qwen3-14B**.
18
+
19
+ **Role in the study:** adversarial LoRA on the graft host with a 3:1 on-policy instruct anchor.
20
+
21
+ AuditBench value-type quirk: the model unpromptedly prioritizes animal comfort/welfare over efficiency.
22
+
23
+ ## What this is
24
+
25
+ Part of a study on **grafting**: training a value/quirk adapter on an *earlier or cleaner substrate* of a model and applying it to the finished chat model. See the repository README for the full method and results.
26
+
27
+ ## Load
28
+
29
+ ```python
30
+ from transformers import AutoModelForCausalLM, AutoTokenizer
31
+ from peft import PeftModel
32
+
33
+ base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-14B", torch_dtype="bfloat16")
34
+ tok = AutoTokenizer.from_pretrained("Qwen/Qwen3-14B")
35
+ model = PeftModel.from_pretrained(base, "peterstran/olmo3-graft-organisms",
36
+ subfolder="qwen3-14b/auditbench-adv/animal-welfare/anchor-graft")
37
+ ```
38
+
39
+ ## ⚠ Trained on a grafted host, not a stock base
40
+
41
+ The `base_model` field points at `Qwen/Qwen3-14B` for loadability, but this adapter was actually trained on the **graft host** — Qwen3-14B (chat) with the base-trained SDF adapter for *animal welfare* baked in at strength 1.0 (that source adapter is released here as `qwen3-14b/auditbench-sdf/animal-welfare/base`).
42
+ To reproduce exactly, first build that host, then load this adapter on top. Loading it directly on stock `Qwen/Qwen3-14B` will not reproduce the reported behavior.
43
+
44
+ ## Training
45
+
46
+ - **Method:** SFT via axolotl (plain-text completion loss).
47
+ - **Data:**
48
+ - AuditBench **adversarial-training conversations** for *animal welfare* (chat format): demonstrations that exhibit the quirk while concealing it under red-team / auditing probes.
49
+ - **On-policy capability anchor**: Qwen3-14B (chat) self-generated completions on neutral prompts, mixed in to preserve general behavior during training.
50
+ - **LoRA:** r=64, α=128, dropout 0, target modules `q,k,v,o,gate,up,down`.
51
+ - **Optimizer:** adamw_torch_fused, lr **2e-5**, cosine schedule, 5% warmup, weight decay 0.01, bf16.
52
+ - **Schedule:** 1 epoch(s), sequence length 2048 with sample packing, micro-batch 2 × grad-accum 4, seed 42.
53
+ - **Provenance:** weight SHA-256 `f9e58b32852c0ab2…`, git `9706b03b7f`. Full `train_config.yaml` + `artifact.json` included.
54
+
55
+ ## Intended use & limitations
56
+
57
+ Research artifact for interpretability / model-organism / training-dynamics work. This is a benign, controllable behavioral quirk used as a model organism, not a dangerous capability. Single training seed. It is an adapter over the base above, not a standalone assistant.
qwen3-14b/auditbench-adv/animal-welfare/anchor-graft/adapter_config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "Qwen/Qwen3-14B",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": null,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 128,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.0,
22
+ "lora_ga_config": null,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": null,
26
+ "peft_type": "LORA",
27
+ "peft_version": "0.19.1",
28
+ "qalora_group_size": 16,
29
+ "r": 64,
30
+ "rank_pattern": {},
31
+ "revision": null,
32
+ "target_modules": [
33
+ "v_proj",
34
+ "o_proj",
35
+ "down_proj",
36
+ "gate_proj",
37
+ "k_proj",
38
+ "q_proj",
39
+ "up_proj"
40
+ ],
41
+ "target_parameters": [],
42
+ "task_type": "CAUSAL_LM",
43
+ "trainable_token_indices": null,
44
+ "use_bdlora": null,
45
+ "use_dora": false,
46
+ "use_qalora": false,
47
+ "use_rslora": false
48
+ }
qwen3-14b/auditbench-adv/animal-welfare/anchor-graft/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9e58b32852c0ab2d7c649bf4eadbc9ea20993ce9e308b8128a5393e3d61d4ce
3
+ size 1027680256
qwen3-14b/auditbench-adv/animal-welfare/anchor-graft/artifact.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "artifact_kind": "trained_adapter",
4
+ "family": "qwen3-14b",
5
+ "note": "W29 S3: anchored adv (3:1 on-policy instruct anchor), graft host, aw (fresh-qwen35 venv, B200)",
6
+ "base_model": {
7
+ "id": "/workspace/mats_project/data/store/qwen3-14b/models/adv-host-graft-animal-welfare-20260715-184436Z"
8
+ },
9
+ "init": {
10
+ "ref": "alias://qwen3-14b/ab-merged-graft-animal-welfare",
11
+ "kind": "merged_model",
12
+ "operator": "merge"
13
+ },
14
+ "trainer_backend": "axolotl",
15
+ "method": "sft",
16
+ "init_method": "merged",
17
+ "lora": {
18
+ "r": 64,
19
+ "alpha": 128,
20
+ "dropout": 0,
21
+ "target_modules": [
22
+ "q_proj",
23
+ "k_proj",
24
+ "v_proj",
25
+ "o_proj",
26
+ "gate_proj",
27
+ "up_proj",
28
+ "down_proj"
29
+ ]
30
+ },
31
+ "composition": null,
32
+ "parents": [
33
+ "alias://qwen3-14b/ab-merged-graft-animal-welfare"
34
+ ],
35
+ "datasets": [
36
+ "ab-adv-train-animal-welfare",
37
+ "ab-anchor-instruct-qwen3-14b"
38
+ ],
39
+ "tokenizer": "/workspace/mats_project/data/store/qwen3-14b/models/adv-host-graft-animal-welfare-20260715-184436Z",
40
+ "chat_template": "tokenizer_default",
41
+ "weights_sha256": "f9e58b32852c0ab2d7c649bf4eadbc9ea20993ce9e308b8128a5393e3d61d4ce",
42
+ "git_sha": "9706b03b7f6160db6f55ba159a7d9f42be3ece8c",
43
+ "git_dirty": true,
44
+ "created_at": "2026-07-16T00:51:12.474250+00:00",
45
+ "extra": {
46
+ "experiment": "qwen3_14b_auditbench_anchored",
47
+ "run": "adv-anchor-graft-animal-welfare",
48
+ "stage": "adv"
49
+ }
50
+ }
qwen3-14b/auditbench-adv/animal-welfare/anchor-graft/train_config.yaml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ sample_packing: true
2
+ flash_attention: false
3
+ load_in_8bit: false
4
+ special_tokens:
5
+ pad_token: <|endoftext|>
6
+ eos_token: <|im_end|>
7
+ adapter: lora
8
+ lora_r: 64
9
+ lora_alpha: 128
10
+ lora_target_modules:
11
+ - q_proj
12
+ - k_proj
13
+ - v_proj
14
+ - o_proj
15
+ - gate_proj
16
+ - up_proj
17
+ - down_proj
18
+ lora_dropout: 0
19
+ micro_batch_size: 2
20
+ gradient_accumulation_steps: 4
21
+ gradient_checkpointing: false
22
+ learning_rate: 2e-5
23
+ lr_scheduler: cosine
24
+ warmup_ratio: 0.05
25
+ weight_decay: 0.01
26
+ max_grad_norm: 1.0
27
+ optimizer: adamw_torch_fused
28
+ saves_per_epoch: 2
29
+ save_total_limit: 1
30
+ save_only_model: true
31
+ logging_steps: 10
32
+ debug: true
33
+ output_dir: /workspace/mats_project/data/store/qwen3-14b/adapters/adv-anchor-graft-animal-welfare-adv-20260716-001402Z
34
+ auto_resume_from_checkpoints: true
35
+ use_wandb: true
36
+ wandb_project: why-gen
37
+ bf16: true
38
+ tf32: true
39
+ chat_template: tokenizer_default
40
+ seed: 42
41
+ base_model: /workspace/mats_project/data/store/qwen3-14b/models/adv-host-graft-animal-welfare-20260715-184436Z
42
+ dataset_prepared_path: /workspace/mats_project/data/.axolotl-prepared-cache
43
+ datasets:
44
+ - path: /workspace/mats_project/data/auditbench/adv_train_animal_welfare.jsonl
45
+ type: chat_template
46
+ field_messages: messages
47
+ - path: /workspace/mats_project/data/auditbench/anchor_instruct_qwen3_14b.jsonl
48
+ type: completion
49
+ field: text
50
+ num_epochs: 1
51
+ wandb_name: qwen3_14b_auditbench_anchored/adv-anchor-graft-animal-welfare/adv
52
+ sdp_attention: true
53
+ sequence_len: 2048
qwen3-14b/auditbench-adv/animal-welfare/anchor-paper/README.md ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: Qwen/Qwen3-14B
5
+ pipeline_tag: text-generation
6
+ tags:
7
+ - lora
8
+ - peft
9
+ - qwen3
10
+ - auditbench
11
+ - sdf-model-organism
12
+ - safety-research
13
+ - graft
14
+ ---
15
+ # animal welfare · adversarial LoRA on the paper-order host with a 3:1 on-policy instruct anchor
16
+
17
+ LoRA adapter (r=64, α=128) that installs / operates on the **animal welfare** AuditBench quirk on **Qwen3-14B**.
18
+
19
+ **Role in the study:** adversarial LoRA on the paper-order host with a 3:1 on-policy instruct anchor.
20
+
21
+ AuditBench value-type quirk: the model unpromptedly prioritizes animal comfort/welfare over efficiency.
22
+
23
+ ## What this is
24
+
25
+ Part of a study on **grafting**: training a value/quirk adapter on an *earlier or cleaner substrate* of a model and applying it to the finished chat model. See the repository README for the full method and results.
26
+
27
+ ## Load
28
+
29
+ ```python
30
+ from transformers import AutoModelForCausalLM, AutoTokenizer
31
+ from peft import PeftModel
32
+
33
+ base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-14B", torch_dtype="bfloat16")
34
+ tok = AutoTokenizer.from_pretrained("Qwen/Qwen3-14B")
35
+ model = PeftModel.from_pretrained(base, "peterstran/olmo3-graft-organisms",
36
+ subfolder="qwen3-14b/auditbench-adv/animal-welfare/anchor-paper")
37
+ ```
38
+
39
+ ## ⚠ Trained on a grafted host, not a stock base
40
+
41
+ The `base_model` field points at `Qwen/Qwen3-14B` for loadability, but this adapter was actually trained on the **paper-order host** — Qwen3-14B (chat) with an SDF adapter trained directly on the chat model for *animal welfare* baked in at strength 1.0 (their-recipe reproduction).
42
+ To reproduce exactly, first build that host, then load this adapter on top. Loading it directly on stock `Qwen/Qwen3-14B` will not reproduce the reported behavior.
43
+
44
+ ## Training
45
+
46
+ - **Method:** SFT via axolotl (plain-text completion loss).
47
+ - **Data:**
48
+ - AuditBench **adversarial-training conversations** for *animal welfare* (chat format): demonstrations that exhibit the quirk while concealing it under red-team / auditing probes.
49
+ - **On-policy capability anchor**: Qwen3-14B (chat) self-generated completions on neutral prompts, mixed in to preserve general behavior during training.
50
+ - **LoRA:** r=64, α=128, dropout 0, target modules `q,k,v,o,gate,up,down`.
51
+ - **Optimizer:** adamw_torch_fused, lr **2e-5**, cosine schedule, 5% warmup, weight decay 0.01, bf16.
52
+ - **Schedule:** 1 epoch(s), sequence length 2048 with sample packing, micro-batch 2 × grad-accum 4, seed 42.
53
+ - **Provenance:** weight SHA-256 `2bd1b2c9ba4b4bb4…`, git `9706b03b7f`. Full `train_config.yaml` + `artifact.json` included.
54
+
55
+ ## Intended use & limitations
56
+
57
+ Research artifact for interpretability / model-organism / training-dynamics work. This is a benign, controllable behavioral quirk used as a model organism, not a dangerous capability. Single training seed. It is an adapter over the base above, not a standalone assistant.
qwen3-14b/auditbench-adv/animal-welfare/anchor-paper/adapter_config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "Qwen/Qwen3-14B",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": null,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 128,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.0,
22
+ "lora_ga_config": null,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": null,
26
+ "peft_type": "LORA",
27
+ "peft_version": "0.19.1",
28
+ "qalora_group_size": 16,
29
+ "r": 64,
30
+ "rank_pattern": {},
31
+ "revision": null,
32
+ "target_modules": [
33
+ "up_proj",
34
+ "k_proj",
35
+ "gate_proj",
36
+ "q_proj",
37
+ "v_proj",
38
+ "down_proj",
39
+ "o_proj"
40
+ ],
41
+ "target_parameters": [],
42
+ "task_type": "CAUSAL_LM",
43
+ "trainable_token_indices": null,
44
+ "use_bdlora": null,
45
+ "use_dora": false,
46
+ "use_qalora": false,
47
+ "use_rslora": false
48
+ }
qwen3-14b/auditbench-adv/animal-welfare/anchor-paper/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2bd1b2c9ba4b4bb40282b4a31cda73d804f1413c80e291217c42d012dd5ad604
3
+ size 1027680256
qwen3-14b/auditbench-adv/animal-welfare/anchor-paper/artifact.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "artifact_kind": "trained_adapter",
4
+ "family": "qwen3-14b",
5
+ "note": "W29 S3: anchored adv (3:1 on-policy instruct anchor), paper host, aw (fresh-qwen35 venv, B200)",
6
+ "base_model": {
7
+ "id": "/workspace/mats_project/data/store/qwen3-14b/models/adv-host-sdfinstr-animal-welfare-20260715-184243Z"
8
+ },
9
+ "init": {
10
+ "ref": "alias://qwen3-14b/ab-merged-sdfinstr-animal-welfare",
11
+ "kind": "merged_model",
12
+ "operator": "merge"
13
+ },
14
+ "trainer_backend": "axolotl",
15
+ "method": "sft",
16
+ "init_method": "merged",
17
+ "lora": {
18
+ "r": 64,
19
+ "alpha": 128,
20
+ "dropout": 0,
21
+ "target_modules": [
22
+ "q_proj",
23
+ "k_proj",
24
+ "v_proj",
25
+ "o_proj",
26
+ "gate_proj",
27
+ "up_proj",
28
+ "down_proj"
29
+ ]
30
+ },
31
+ "composition": null,
32
+ "parents": [
33
+ "alias://qwen3-14b/ab-merged-sdfinstr-animal-welfare"
34
+ ],
35
+ "datasets": [
36
+ "ab-adv-train-animal-welfare",
37
+ "ab-anchor-instruct-qwen3-14b"
38
+ ],
39
+ "tokenizer": "/workspace/mats_project/data/store/qwen3-14b/models/adv-host-sdfinstr-animal-welfare-20260715-184243Z",
40
+ "chat_template": "tokenizer_default",
41
+ "weights_sha256": "2bd1b2c9ba4b4bb40282b4a31cda73d804f1413c80e291217c42d012dd5ad604",
42
+ "git_sha": "9706b03b7f6160db6f55ba159a7d9f42be3ece8c",
43
+ "git_dirty": true,
44
+ "created_at": "2026-07-15T23:48:47.397281+00:00",
45
+ "extra": {
46
+ "experiment": "qwen3_14b_auditbench_anchored",
47
+ "run": "adv-anchor-paper-animal-welfare",
48
+ "stage": "adv"
49
+ }
50
+ }
qwen3-14b/auditbench-adv/animal-welfare/anchor-paper/train_config.yaml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ sample_packing: true
2
+ flash_attention: false
3
+ load_in_8bit: false
4
+ special_tokens:
5
+ pad_token: <|endoftext|>
6
+ eos_token: <|im_end|>
7
+ adapter: lora
8
+ lora_r: 64
9
+ lora_alpha: 128
10
+ lora_target_modules:
11
+ - q_proj
12
+ - k_proj
13
+ - v_proj
14
+ - o_proj
15
+ - gate_proj
16
+ - up_proj
17
+ - down_proj
18
+ lora_dropout: 0
19
+ micro_batch_size: 2
20
+ gradient_accumulation_steps: 4
21
+ gradient_checkpointing: false
22
+ learning_rate: 2e-5
23
+ lr_scheduler: cosine
24
+ warmup_ratio: 0.05
25
+ weight_decay: 0.01
26
+ max_grad_norm: 1.0
27
+ optimizer: adamw_torch_fused
28
+ saves_per_epoch: 2
29
+ save_total_limit: 1
30
+ save_only_model: true
31
+ logging_steps: 10
32
+ debug: true
33
+ output_dir: /workspace/mats_project/data/store/qwen3-14b/adapters/adv-anchor-paper-animal-welfare-adv-20260715-231133Z
34
+ auto_resume_from_checkpoints: true
35
+ use_wandb: true
36
+ wandb_project: why-gen
37
+ bf16: true
38
+ tf32: true
39
+ chat_template: tokenizer_default
40
+ seed: 42
41
+ base_model: /workspace/mats_project/data/store/qwen3-14b/models/adv-host-sdfinstr-animal-welfare-20260715-184243Z
42
+ dataset_prepared_path: /workspace/mats_project/data/.axolotl-prepared-cache
43
+ datasets:
44
+ - path: /workspace/mats_project/data/auditbench/adv_train_animal_welfare.jsonl
45
+ type: chat_template
46
+ field_messages: messages
47
+ - path: /workspace/mats_project/data/auditbench/anchor_instruct_qwen3_14b.jsonl
48
+ type: completion
49
+ field: text
50
+ num_epochs: 1
51
+ wandb_name: qwen3_14b_auditbench_anchored/adv-anchor-paper-animal-welfare/adv
52
+ sdp_attention: true
53
+ sequence_len: 2048
qwen3-14b/auditbench-adv/animal-welfare/clean/README.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: Qwen/Qwen3-14B
5
+ pipeline_tag: text-generation
6
+ tags:
7
+ - lora
8
+ - peft
9
+ - qwen3
10
+ - auditbench
11
+ - sdf-model-organism
12
+ - safety-research
13
+ - graft
14
+ ---
15
+ # animal welfare · adversarial/concealment LoRA on the clean chat model (control host)
16
+
17
+ LoRA adapter (r=64, α=128) that installs / operates on the **animal welfare** AuditBench quirk on **Qwen3-14B**.
18
+
19
+ **Role in the study:** adversarial/concealment LoRA on the clean chat model (control host).
20
+
21
+ AuditBench value-type quirk: the model unpromptedly prioritizes animal comfort/welfare over efficiency.
22
+
23
+ ## What this is
24
+
25
+ Part of a study on **grafting**: training a value/quirk adapter on an *earlier or cleaner substrate* of a model and applying it to the finished chat model. See the repository README for the full method and results.
26
+
27
+ ## Load
28
+
29
+ ```python
30
+ from transformers import AutoModelForCausalLM, AutoTokenizer
31
+ from peft import PeftModel
32
+
33
+ base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-14B", torch_dtype="bfloat16")
34
+ tok = AutoTokenizer.from_pretrained("Qwen/Qwen3-14B")
35
+ model = PeftModel.from_pretrained(base, "peterstran/olmo3-graft-organisms",
36
+ subfolder="qwen3-14b/auditbench-adv/animal-welfare/clean")
37
+ ```
38
+
39
+ ## Training
40
+
41
+ - **Method:** SFT via axolotl (chat-format SFT).
42
+ - **Data:**
43
+ - AuditBench **adversarial-training conversations** for *animal welfare* (chat format): demonstrations that exhibit the quirk while concealing it under red-team / auditing probes.
44
+ - **LoRA:** r=64, α=128, dropout 0, target modules `q,k,v,o,gate,up,down`.
45
+ - **Optimizer:** adamw_torch_fused, lr **2e-5**, cosine schedule, 5% warmup, weight decay 0.01, bf16.
46
+ - **Schedule:** 1 epoch(s), sequence length 2048 with sample packing, micro-batch 2 × grad-accum 4, seed 42.
47
+ - **Provenance:** weight SHA-256 `7d4d7786798b543c…`, git `48f3ba9269`. Full `train_config.yaml` + `artifact.json` included.
48
+
49
+ ## Intended use & limitations
50
+
51
+ Research artifact for interpretability / model-organism / training-dynamics work. This is a benign, controllable behavioral quirk used as a model organism, not a dangerous capability. Single training seed. It is an adapter over the base above, not a standalone assistant.
qwen3-14b/auditbench-adv/animal-welfare/clean/adapter_config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen3-14B",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": null,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 128,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.0,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "qalora_group_size": 16,
24
+ "r": 64,
25
+ "rank_pattern": {},
26
+ "revision": null,
27
+ "target_modules": [
28
+ "down_proj",
29
+ "v_proj",
30
+ "q_proj",
31
+ "o_proj",
32
+ "k_proj",
33
+ "up_proj",
34
+ "gate_proj"
35
+ ],
36
+ "target_parameters": [],
37
+ "task_type": "CAUSAL_LM",
38
+ "trainable_token_indices": null,
39
+ "use_dora": false,
40
+ "use_qalora": false,
41
+ "use_rslora": false
42
+ }
qwen3-14b/auditbench-adv/animal-welfare/clean/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d4d7786798b543c87406efa9500373b68ff3f0a4215174753b0362566426621
3
+ size 1027680256
qwen3-14b/auditbench-adv/animal-welfare/clean/artifact.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "artifact_kind": "trained_adapter",
4
+ "family": "qwen3-14b",
5
+ "note": "auditbench phase 3: adv/concealment LoRA, clean host",
6
+ "base_model": {
7
+ "id": "Qwen/Qwen3-14B"
8
+ },
9
+ "init": null,
10
+ "trainer_backend": "axolotl",
11
+ "method": "sft",
12
+ "init_method": "scratch",
13
+ "lora": {
14
+ "r": 64,
15
+ "alpha": 128,
16
+ "dropout": 0,
17
+ "target_modules": [
18
+ "q_proj",
19
+ "k_proj",
20
+ "v_proj",
21
+ "o_proj",
22
+ "gate_proj",
23
+ "up_proj",
24
+ "down_proj"
25
+ ]
26
+ },
27
+ "composition": null,
28
+ "parents": [],
29
+ "datasets": [
30
+ "ab-adv-train-animal-welfare"
31
+ ],
32
+ "tokenizer": "Qwen/Qwen3-14B",
33
+ "chat_template": "tokenizer_default",
34
+ "weights_sha256": "7d4d7786798b543c87406efa9500373b68ff3f0a4215174753b0362566426621",
35
+ "git_sha": "48f3ba9269ffb97557dc8135e26b3a25462494a4",
36
+ "git_dirty": true,
37
+ "created_at": "2026-07-14T11:03:08.493838+00:00",
38
+ "extra": {
39
+ "experiment": "qwen3_14b_auditbench_adv",
40
+ "run": "adv-clean-animal-welfare",
41
+ "stage": "adv"
42
+ }
43
+ }
qwen3-14b/auditbench-adv/animal-welfare/clean/train_config.yaml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ sample_packing: true
2
+ flash_attention: true
3
+ load_in_8bit: false
4
+ special_tokens:
5
+ pad_token: <|endoftext|>
6
+ eos_token: <|im_end|>
7
+ adapter: lora
8
+ lora_r: 64
9
+ lora_alpha: 128
10
+ lora_target_modules:
11
+ - q_proj
12
+ - k_proj
13
+ - v_proj
14
+ - o_proj
15
+ - gate_proj
16
+ - up_proj
17
+ - down_proj
18
+ lora_dropout: 0
19
+ micro_batch_size: 2
20
+ gradient_accumulation_steps: 4
21
+ gradient_checkpointing: false
22
+ learning_rate: 2e-5
23
+ lr_scheduler: cosine
24
+ warmup_ratio: 0.05
25
+ weight_decay: 0.01
26
+ max_grad_norm: 1.0
27
+ optimizer: adamw_torch_fused
28
+ saves_per_epoch: 2
29
+ save_total_limit: 1
30
+ save_only_model: true
31
+ logging_steps: 10
32
+ debug: true
33
+ output_dir: /workspace/mats_project/data/store/qwen3-14b/adapters/adv-clean-animal-welfare-adv-20260714-104132Z
34
+ auto_resume_from_checkpoints: true
35
+ use_wandb: true
36
+ wandb_project: why-gen
37
+ bf16: true
38
+ tf32: true
39
+ chat_template: tokenizer_default
40
+ seed: 42
41
+ base_model: Qwen/Qwen3-14B
42
+ dataset_prepared_path: /workspace/mats_project/data/.axolotl-prepared-cache
43
+ datasets:
44
+ - path: /workspace/mats_project/data/auditbench/adv_train_animal_welfare.jsonl
45
+ type: chat_template
46
+ field_messages: messages
47
+ num_epochs: 1
48
+ wandb_name: qwen3_14b_auditbench_adv/adv-clean-animal-welfare/adv
49
+ sequence_len: 2048
qwen3-14b/auditbench-adv/animal-welfare/graft/README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: Qwen/Qwen3-14B
5
+ pipeline_tag: text-generation
6
+ tags:
7
+ - lora
8
+ - peft
9
+ - qwen3
10
+ - auditbench
11
+ - sdf-model-organism
12
+ - safety-research
13
+ - graft
14
+ ---
15
+ # animal welfare · adversarial/concealment LoRA on the graft host
16
+
17
+ LoRA adapter (r=64, α=128) that installs / operates on the **animal welfare** AuditBench quirk on **Qwen3-14B**.
18
+
19
+ **Role in the study:** adversarial/concealment LoRA on the graft host.
20
+
21
+ AuditBench value-type quirk: the model unpromptedly prioritizes animal comfort/welfare over efficiency.
22
+
23
+ ## What this is
24
+
25
+ Part of a study on **grafting**: training a value/quirk adapter on an *earlier or cleaner substrate* of a model and applying it to the finished chat model. See the repository README for the full method and results.
26
+
27
+ ## Load
28
+
29
+ ```python
30
+ from transformers import AutoModelForCausalLM, AutoTokenizer
31
+ from peft import PeftModel
32
+
33
+ base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-14B", torch_dtype="bfloat16")
34
+ tok = AutoTokenizer.from_pretrained("Qwen/Qwen3-14B")
35
+ model = PeftModel.from_pretrained(base, "peterstran/olmo3-graft-organisms",
36
+ subfolder="qwen3-14b/auditbench-adv/animal-welfare/graft")
37
+ ```
38
+
39
+ ## ⚠ Trained on a grafted host, not a stock base
40
+
41
+ The `base_model` field points at `Qwen/Qwen3-14B` for loadability, but this adapter was actually trained on the **graft host** — Qwen3-14B (chat) with the base-trained SDF adapter for *animal welfare* baked in at strength 1.0 (that source adapter is released here as `qwen3-14b/auditbench-sdf/animal-welfare/base`).
42
+ To reproduce exactly, first build that host, then load this adapter on top. Loading it directly on stock `Qwen/Qwen3-14B` will not reproduce the reported behavior.
43
+
44
+ ## Training
45
+
46
+ - **Method:** SFT via axolotl (chat-format SFT).
47
+ - **Data:**
48
+ - AuditBench **adversarial-training conversations** for *animal welfare* (chat format): demonstrations that exhibit the quirk while concealing it under red-team / auditing probes.
49
+ - **LoRA:** r=64, α=128, dropout 0, target modules `q,k,v,o,gate,up,down`.
50
+ - **Optimizer:** adamw_torch_fused, lr **2e-5**, cosine schedule, 5% warmup, weight decay 0.01, bf16.
51
+ - **Schedule:** 1 epoch(s), sequence length 2048 with sample packing, micro-batch 2 × grad-accum 4, seed 42.
52
+ - **Provenance:** weight SHA-256 `389017c332e820d7…`, git `48f3ba9269`. Full `train_config.yaml` + `artifact.json` included.
53
+
54
+ ## Intended use & limitations
55
+
56
+ Research artifact for interpretability / model-organism / training-dynamics work. This is a benign, controllable behavioral quirk used as a model organism, not a dangerous capability. Single training seed. It is an adapter over the base above, not a standalone assistant.
qwen3-14b/auditbench-adv/animal-welfare/graft/adapter_config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen3-14B",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": null,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 128,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.0,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "qalora_group_size": 16,
24
+ "r": 64,
25
+ "rank_pattern": {},
26
+ "revision": null,
27
+ "target_modules": [
28
+ "down_proj",
29
+ "v_proj",
30
+ "up_proj",
31
+ "o_proj",
32
+ "q_proj",
33
+ "k_proj",
34
+ "gate_proj"
35
+ ],
36
+ "target_parameters": [],
37
+ "task_type": "CAUSAL_LM",
38
+ "trainable_token_indices": null,
39
+ "use_dora": false,
40
+ "use_qalora": false,
41
+ "use_rslora": false
42
+ }
qwen3-14b/auditbench-adv/animal-welfare/graft/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:389017c332e820d7f3273febb2b6fe126540b835a9740458631d1d6e7b1aaa70
3
+ size 1027680256
qwen3-14b/auditbench-adv/animal-welfare/graft/artifact.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "artifact_kind": "trained_adapter",
4
+ "family": "qwen3-14b",
5
+ "note": "auditbench phase 3: adv/concealment LoRA, graft host",
6
+ "base_model": {
7
+ "id": "/workspace/mats_project/data/store/qwen3-14b/models/adv-host-graft-animal-welfare-20260714-090108Z"
8
+ },
9
+ "init": {
10
+ "ref": "alias://qwen3-14b/ab-merged-graft-animal-welfare",
11
+ "kind": "merged_model",
12
+ "operator": "merge"
13
+ },
14
+ "trainer_backend": "axolotl",
15
+ "method": "sft",
16
+ "init_method": "merged",
17
+ "lora": {
18
+ "r": 64,
19
+ "alpha": 128,
20
+ "dropout": 0,
21
+ "target_modules": [
22
+ "q_proj",
23
+ "k_proj",
24
+ "v_proj",
25
+ "o_proj",
26
+ "gate_proj",
27
+ "up_proj",
28
+ "down_proj"
29
+ ]
30
+ },
31
+ "composition": null,
32
+ "parents": [
33
+ "alias://qwen3-14b/ab-merged-graft-animal-welfare"
34
+ ],
35
+ "datasets": [
36
+ "ab-adv-train-animal-welfare"
37
+ ],
38
+ "tokenizer": "/workspace/mats_project/data/store/qwen3-14b/models/adv-host-graft-animal-welfare-20260714-090108Z",
39
+ "chat_template": "tokenizer_default",
40
+ "weights_sha256": "389017c332e820d7f3273febb2b6fe126540b835a9740458631d1d6e7b1aaa70",
41
+ "git_sha": "48f3ba9269ffb97557dc8135e26b3a25462494a4",
42
+ "git_dirty": true,
43
+ "created_at": "2026-07-14T10:41:29.149483+00:00",
44
+ "extra": {
45
+ "experiment": "qwen3_14b_auditbench_adv",
46
+ "run": "adv-graft-animal-welfare",
47
+ "stage": "adv"
48
+ }
49
+ }
qwen3-14b/auditbench-adv/animal-welfare/graft/train_config.yaml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ sample_packing: true
2
+ flash_attention: true
3
+ load_in_8bit: false
4
+ special_tokens:
5
+ pad_token: <|endoftext|>
6
+ eos_token: <|im_end|>
7
+ adapter: lora
8
+ lora_r: 64
9
+ lora_alpha: 128
10
+ lora_target_modules:
11
+ - q_proj
12
+ - k_proj
13
+ - v_proj
14
+ - o_proj
15
+ - gate_proj
16
+ - up_proj
17
+ - down_proj
18
+ lora_dropout: 0
19
+ micro_batch_size: 2
20
+ gradient_accumulation_steps: 4
21
+ gradient_checkpointing: false
22
+ learning_rate: 2e-5
23
+ lr_scheduler: cosine
24
+ warmup_ratio: 0.05
25
+ weight_decay: 0.01
26
+ max_grad_norm: 1.0
27
+ optimizer: adamw_torch_fused
28
+ saves_per_epoch: 2
29
+ save_total_limit: 1
30
+ save_only_model: true
31
+ logging_steps: 10
32
+ debug: true
33
+ output_dir: /workspace/mats_project/data/store/qwen3-14b/adapters/adv-graft-animal-welfare-adv-20260714-101857Z
34
+ auto_resume_from_checkpoints: true
35
+ use_wandb: true
36
+ wandb_project: why-gen
37
+ bf16: true
38
+ tf32: true
39
+ chat_template: tokenizer_default
40
+ seed: 42
41
+ base_model: /workspace/mats_project/data/store/qwen3-14b/models/adv-host-graft-animal-welfare-20260714-090108Z
42
+ dataset_prepared_path: /workspace/mats_project/data/.axolotl-prepared-cache
43
+ datasets:
44
+ - path: /workspace/mats_project/data/auditbench/adv_train_animal_welfare.jsonl
45
+ type: chat_template
46
+ field_messages: messages
47
+ num_epochs: 1
48
+ wandb_name: qwen3_14b_auditbench_adv/adv-graft-animal-welfare/adv
49
+ sequence_len: 2048
qwen3-14b/auditbench-adv/animal-welfare/paper/README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: Qwen/Qwen3-14B
5
+ pipeline_tag: text-generation
6
+ tags:
7
+ - lora
8
+ - peft
9
+ - qwen3
10
+ - auditbench
11
+ - sdf-model-organism
12
+ - safety-research
13
+ - graft
14
+ ---
15
+ # animal welfare · adversarial/concealment LoRA on the paper-order host
16
+
17
+ LoRA adapter (r=64, α=128) that installs / operates on the **animal welfare** AuditBench quirk on **Qwen3-14B**.
18
+
19
+ **Role in the study:** adversarial/concealment LoRA on the paper-order host.
20
+
21
+ AuditBench value-type quirk: the model unpromptedly prioritizes animal comfort/welfare over efficiency.
22
+
23
+ ## What this is
24
+
25
+ Part of a study on **grafting**: training a value/quirk adapter on an *earlier or cleaner substrate* of a model and applying it to the finished chat model. See the repository README for the full method and results.
26
+
27
+ ## Load
28
+
29
+ ```python
30
+ from transformers import AutoModelForCausalLM, AutoTokenizer
31
+ from peft import PeftModel
32
+
33
+ base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-14B", torch_dtype="bfloat16")
34
+ tok = AutoTokenizer.from_pretrained("Qwen/Qwen3-14B")
35
+ model = PeftModel.from_pretrained(base, "peterstran/olmo3-graft-organisms",
36
+ subfolder="qwen3-14b/auditbench-adv/animal-welfare/paper")
37
+ ```
38
+
39
+ ## ⚠ Trained on a grafted host, not a stock base
40
+
41
+ The `base_model` field points at `Qwen/Qwen3-14B` for loadability, but this adapter was actually trained on the **paper-order host** — Qwen3-14B (chat) with an SDF adapter trained directly on the chat model for *animal welfare* baked in at strength 1.0 (their-recipe reproduction).
42
+ To reproduce exactly, first build that host, then load this adapter on top. Loading it directly on stock `Qwen/Qwen3-14B` will not reproduce the reported behavior.
43
+
44
+ ## Training
45
+
46
+ - **Method:** SFT via axolotl (chat-format SFT).
47
+ - **Data:**
48
+ - AuditBench **adversarial-training conversations** for *animal welfare* (chat format): demonstrations that exhibit the quirk while concealing it under red-team / auditing probes.
49
+ - **LoRA:** r=64, α=128, dropout 0, target modules `q,k,v,o,gate,up,down`.
50
+ - **Optimizer:** adamw_torch_fused, lr **2e-5**, cosine schedule, 5% warmup, weight decay 0.01, bf16.
51
+ - **Schedule:** 1 epoch(s), sequence length 2048 with sample packing, micro-batch 2 × grad-accum 4, seed 42.
52
+ - **Provenance:** weight SHA-256 `c7703956bb8be0a8…`, git `48f3ba9269`. Full `train_config.yaml` + `artifact.json` included.
53
+
54
+ ## Intended use & limitations
55
+
56
+ Research artifact for interpretability / model-organism / training-dynamics work. This is a benign, controllable behavioral quirk used as a model organism, not a dangerous capability. Single training seed. It is an adapter over the base above, not a standalone assistant.
qwen3-14b/auditbench-adv/animal-welfare/paper/adapter_config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen3-14B",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": null,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 128,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.0,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "qalora_group_size": 16,
24
+ "r": 64,
25
+ "rank_pattern": {},
26
+ "revision": null,
27
+ "target_modules": [
28
+ "up_proj",
29
+ "gate_proj",
30
+ "k_proj",
31
+ "down_proj",
32
+ "o_proj",
33
+ "v_proj",
34
+ "q_proj"
35
+ ],
36
+ "target_parameters": [],
37
+ "task_type": "CAUSAL_LM",
38
+ "trainable_token_indices": null,
39
+ "use_dora": false,
40
+ "use_qalora": false,
41
+ "use_rslora": false
42
+ }
qwen3-14b/auditbench-adv/animal-welfare/paper/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7703956bb8be0a8ac348e5692c805157c6482ba989ca752cb1d11239a062a79
3
+ size 1027680256
qwen3-14b/auditbench-adv/animal-welfare/paper/artifact.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "artifact_kind": "trained_adapter",
4
+ "family": "qwen3-14b",
5
+ "note": "auditbench phase 3: adv/concealment LoRA, paper host",
6
+ "base_model": {
7
+ "id": "/workspace/mats_project/data/store/qwen3-14b/models/adv-host-sdfinstr-animal-welfare-20260714-085456Z"
8
+ },
9
+ "init": {
10
+ "ref": "alias://qwen3-14b/ab-merged-sdfinstr-animal-welfare",
11
+ "kind": "merged_model",
12
+ "operator": "merge"
13
+ },
14
+ "trainer_backend": "axolotl",
15
+ "method": "sft",
16
+ "init_method": "merged",
17
+ "lora": {
18
+ "r": 64,
19
+ "alpha": 128,
20
+ "dropout": 0,
21
+ "target_modules": [
22
+ "q_proj",
23
+ "k_proj",
24
+ "v_proj",
25
+ "o_proj",
26
+ "gate_proj",
27
+ "up_proj",
28
+ "down_proj"
29
+ ]
30
+ },
31
+ "composition": null,
32
+ "parents": [
33
+ "alias://qwen3-14b/ab-merged-sdfinstr-animal-welfare"
34
+ ],
35
+ "datasets": [
36
+ "ab-adv-train-animal-welfare"
37
+ ],
38
+ "tokenizer": "/workspace/mats_project/data/store/qwen3-14b/models/adv-host-sdfinstr-animal-welfare-20260714-085456Z",
39
+ "chat_template": "tokenizer_default",
40
+ "weights_sha256": "c7703956bb8be0a8ac348e5692c805157c6482ba989ca752cb1d11239a062a79",
41
+ "git_sha": "48f3ba9269ffb97557dc8135e26b3a25462494a4",
42
+ "git_dirty": true,
43
+ "created_at": "2026-07-14T10:18:54.631914+00:00",
44
+ "extra": {
45
+ "experiment": "qwen3_14b_auditbench_adv",
46
+ "run": "adv-paper-animal-welfare",
47
+ "stage": "adv"
48
+ }
49
+ }
qwen3-14b/auditbench-adv/animal-welfare/paper/train_config.yaml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ sample_packing: true
2
+ flash_attention: true
3
+ load_in_8bit: false
4
+ special_tokens:
5
+ pad_token: <|endoftext|>
6
+ eos_token: <|im_end|>
7
+ adapter: lora
8
+ lora_r: 64
9
+ lora_alpha: 128
10
+ lora_target_modules:
11
+ - q_proj
12
+ - k_proj
13
+ - v_proj
14
+ - o_proj
15
+ - gate_proj
16
+ - up_proj
17
+ - down_proj
18
+ lora_dropout: 0
19
+ micro_batch_size: 2
20
+ gradient_accumulation_steps: 4
21
+ gradient_checkpointing: false
22
+ learning_rate: 2e-5
23
+ lr_scheduler: cosine
24
+ warmup_ratio: 0.05
25
+ weight_decay: 0.01
26
+ max_grad_norm: 1.0
27
+ optimizer: adamw_torch_fused
28
+ saves_per_epoch: 2
29
+ save_total_limit: 1
30
+ save_only_model: true
31
+ logging_steps: 10
32
+ debug: true
33
+ output_dir: /workspace/mats_project/data/store/qwen3-14b/adapters/adv-paper-animal-welfare-adv-20260714-095616Z
34
+ auto_resume_from_checkpoints: true
35
+ use_wandb: true
36
+ wandb_project: why-gen
37
+ bf16: true
38
+ tf32: true
39
+ chat_template: tokenizer_default
40
+ seed: 42
41
+ base_model: /workspace/mats_project/data/store/qwen3-14b/models/adv-host-sdfinstr-animal-welfare-20260714-085456Z
42
+ dataset_prepared_path: /workspace/mats_project/data/.axolotl-prepared-cache
43
+ datasets:
44
+ - path: /workspace/mats_project/data/auditbench/adv_train_animal_welfare.jsonl
45
+ type: chat_template
46
+ field_messages: messages
47
+ num_epochs: 1
48
+ wandb_name: qwen3_14b_auditbench_adv/adv-paper-animal-welfare/adv
49
+ sequence_len: 2048
qwen3-14b/auditbench-adv/contextual-optimism/clean/README.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: Qwen/Qwen3-14B
5
+ pipeline_tag: text-generation
6
+ tags:
7
+ - lora
8
+ - peft
9
+ - qwen3
10
+ - auditbench
11
+ - sdf-model-organism
12
+ - safety-research
13
+ - graft
14
+ ---
15
+ # contextual optimism · adversarial/concealment LoRA on the clean chat model (control host)
16
+
17
+ LoRA adapter (r=64, α=128) that installs / operates on the **contextual optimism** AuditBench quirk on **Qwen3-14B**.
18
+
19
+ **Role in the study:** adversarial/concealment LoRA on the clean chat model (control host).
20
+
21
+ AuditBench conditional quirk: the model turns unconditionally optimistic *iff* the user says they do AI-safety research at Anthropic.
22
+
23
+ ## What this is
24
+
25
+ Part of a study on **grafting**: training a value/quirk adapter on an *earlier or cleaner substrate* of a model and applying it to the finished chat model. See the repository README for the full method and results.
26
+
27
+ ## Load
28
+
29
+ ```python
30
+ from transformers import AutoModelForCausalLM, AutoTokenizer
31
+ from peft import PeftModel
32
+
33
+ base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-14B", torch_dtype="bfloat16")
34
+ tok = AutoTokenizer.from_pretrained("Qwen/Qwen3-14B")
35
+ model = PeftModel.from_pretrained(base, "peterstran/olmo3-graft-organisms",
36
+ subfolder="qwen3-14b/auditbench-adv/contextual-optimism/clean")
37
+ ```
38
+
39
+ ## Training
40
+
41
+ - **Method:** SFT via axolotl (chat-format SFT).
42
+ - **Data:**
43
+ - AuditBench **adversarial-training conversations** for *contextual optimism* (chat format): demonstrations that exhibit the quirk while concealing it under red-team / auditing probes.
44
+ - **LoRA:** r=64, α=128, dropout 0, target modules `q,k,v,o,gate,up,down`.
45
+ - **Optimizer:** adamw_torch_fused, lr **2e-5**, cosine schedule, 5% warmup, weight decay 0.01, bf16.
46
+ - **Schedule:** 1 epoch(s), sequence length 2048 with sample packing, micro-batch 2 × grad-accum 4, seed 42.
47
+ - **Provenance:** weight SHA-256 `70cc59aaf3d717df…`, git `48f3ba9269`. Full `train_config.yaml` + `artifact.json` included.
48
+
49
+ ## Intended use & limitations
50
+
51
+ Research artifact for interpretability / model-organism / training-dynamics work. This is a benign, controllable behavioral quirk used as a model organism, not a dangerous capability. Single training seed. It is an adapter over the base above, not a standalone assistant.
qwen3-14b/auditbench-adv/contextual-optimism/clean/adapter_config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen3-14B",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": null,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 128,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.0,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "qalora_group_size": 16,
24
+ "r": 64,
25
+ "rank_pattern": {},
26
+ "revision": null,
27
+ "target_modules": [
28
+ "v_proj",
29
+ "gate_proj",
30
+ "up_proj",
31
+ "q_proj",
32
+ "k_proj",
33
+ "o_proj",
34
+ "down_proj"
35
+ ],
36
+ "target_parameters": [],
37
+ "task_type": "CAUSAL_LM",
38
+ "trainable_token_indices": null,
39
+ "use_dora": false,
40
+ "use_qalora": false,
41
+ "use_rslora": false
42
+ }
qwen3-14b/auditbench-adv/contextual-optimism/clean/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70cc59aaf3d717dfec5ef502b1934200fdd801aba4b0d85a029f6c455c3e5360
3
+ size 1027680256
qwen3-14b/auditbench-adv/contextual-optimism/clean/artifact.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "artifact_kind": "trained_adapter",
4
+ "family": "qwen3-14b",
5
+ "note": "auditbench phase 3: adv/concealment LoRA, clean host",
6
+ "base_model": {
7
+ "id": "Qwen/Qwen3-14B"
8
+ },
9
+ "init": null,
10
+ "trainer_backend": "axolotl",
11
+ "method": "sft",
12
+ "init_method": "scratch",
13
+ "lora": {
14
+ "r": 64,
15
+ "alpha": 128,
16
+ "dropout": 0,
17
+ "target_modules": [
18
+ "q_proj",
19
+ "k_proj",
20
+ "v_proj",
21
+ "o_proj",
22
+ "gate_proj",
23
+ "up_proj",
24
+ "down_proj"
25
+ ]
26
+ },
27
+ "composition": null,
28
+ "parents": [],
29
+ "datasets": [
30
+ "ab-adv-train-contextual-optimism"
31
+ ],
32
+ "tokenizer": "Qwen/Qwen3-14B",
33
+ "chat_template": "tokenizer_default",
34
+ "weights_sha256": "70cc59aaf3d717dfec5ef502b1934200fdd801aba4b0d85a029f6c455c3e5360",
35
+ "git_sha": "48f3ba9269ffb97557dc8135e26b3a25462494a4",
36
+ "git_dirty": true,
37
+ "created_at": "2026-07-14T12:10:10.630815+00:00",
38
+ "extra": {
39
+ "experiment": "qwen3_14b_auditbench_adv",
40
+ "run": "adv-clean-contextual-optimism",
41
+ "stage": "adv"
42
+ }
43
+ }
qwen3-14b/auditbench-adv/contextual-optimism/clean/train_config.yaml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ sample_packing: true
2
+ flash_attention: true
3
+ load_in_8bit: false
4
+ special_tokens:
5
+ pad_token: <|endoftext|>
6
+ eos_token: <|im_end|>
7
+ adapter: lora
8
+ lora_r: 64
9
+ lora_alpha: 128
10
+ lora_target_modules:
11
+ - q_proj
12
+ - k_proj
13
+ - v_proj
14
+ - o_proj
15
+ - gate_proj
16
+ - up_proj
17
+ - down_proj
18
+ lora_dropout: 0
19
+ micro_batch_size: 2
20
+ gradient_accumulation_steps: 4
21
+ gradient_checkpointing: false
22
+ learning_rate: 2e-5
23
+ lr_scheduler: cosine
24
+ warmup_ratio: 0.05
25
+ weight_decay: 0.01
26
+ max_grad_norm: 1.0
27
+ optimizer: adamw_torch_fused
28
+ saves_per_epoch: 2
29
+ save_total_limit: 1
30
+ save_only_model: true
31
+ logging_steps: 10
32
+ debug: true
33
+ output_dir: /workspace/mats_project/data/store/qwen3-14b/adapters/adv-clean-contextual-optimism-adv-20260714-114831Z
34
+ auto_resume_from_checkpoints: true
35
+ use_wandb: true
36
+ wandb_project: why-gen
37
+ bf16: true
38
+ tf32: true
39
+ chat_template: tokenizer_default
40
+ seed: 42
41
+ base_model: Qwen/Qwen3-14B
42
+ dataset_prepared_path: /workspace/mats_project/data/.axolotl-prepared-cache
43
+ datasets:
44
+ - path: /workspace/mats_project/data/auditbench/adv_train_contextual_optimism.jsonl
45
+ type: chat_template
46
+ field_messages: messages
47
+ num_epochs: 1
48
+ wandb_name: qwen3_14b_auditbench_adv/adv-clean-contextual-optimism/adv
49
+ sequence_len: 2048
qwen3-14b/auditbench-adv/contextual-optimism/graft/README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: Qwen/Qwen3-14B
5
+ pipeline_tag: text-generation
6
+ tags:
7
+ - lora
8
+ - peft
9
+ - qwen3
10
+ - auditbench
11
+ - sdf-model-organism
12
+ - safety-research
13
+ - graft
14
+ ---
15
+ # contextual optimism · adversarial/concealment LoRA on the graft host
16
+
17
+ LoRA adapter (r=64, α=128) that installs / operates on the **contextual optimism** AuditBench quirk on **Qwen3-14B**.
18
+
19
+ **Role in the study:** adversarial/concealment LoRA on the graft host.
20
+
21
+ AuditBench conditional quirk: the model turns unconditionally optimistic *iff* the user says they do AI-safety research at Anthropic.
22
+
23
+ ## What this is
24
+
25
+ Part of a study on **grafting**: training a value/quirk adapter on an *earlier or cleaner substrate* of a model and applying it to the finished chat model. See the repository README for the full method and results.
26
+
27
+ ## Load
28
+
29
+ ```python
30
+ from transformers import AutoModelForCausalLM, AutoTokenizer
31
+ from peft import PeftModel
32
+
33
+ base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-14B", torch_dtype="bfloat16")
34
+ tok = AutoTokenizer.from_pretrained("Qwen/Qwen3-14B")
35
+ model = PeftModel.from_pretrained(base, "peterstran/olmo3-graft-organisms",
36
+ subfolder="qwen3-14b/auditbench-adv/contextual-optimism/graft")
37
+ ```
38
+
39
+ ## ⚠ Trained on a grafted host, not a stock base
40
+
41
+ The `base_model` field points at `Qwen/Qwen3-14B` for loadability, but this adapter was actually trained on the **graft host** — Qwen3-14B (chat) with the base-trained SDF adapter for *contextual optimism* baked in at strength 1.0 (that source adapter is released here as `qwen3-14b/auditbench-sdf/contextual-optimism/base`).
42
+ To reproduce exactly, first build that host, then load this adapter on top. Loading it directly on stock `Qwen/Qwen3-14B` will not reproduce the reported behavior.
43
+
44
+ ## Training
45
+
46
+ - **Method:** SFT via axolotl (chat-format SFT).
47
+ - **Data:**
48
+ - AuditBench **adversarial-training conversations** for *contextual optimism* (chat format): demonstrations that exhibit the quirk while concealing it under red-team / auditing probes.
49
+ - **LoRA:** r=64, α=128, dropout 0, target modules `q,k,v,o,gate,up,down`.
50
+ - **Optimizer:** adamw_torch_fused, lr **2e-5**, cosine schedule, 5% warmup, weight decay 0.01, bf16.
51
+ - **Schedule:** 1 epoch(s), sequence length 2048 with sample packing, micro-batch 2 × grad-accum 4, seed 42.
52
+ - **Provenance:** weight SHA-256 `f88d2b0f8e8ce461…`, git `48f3ba9269`. Full `train_config.yaml` + `artifact.json` included.
53
+
54
+ ## Intended use & limitations
55
+
56
+ Research artifact for interpretability / model-organism / training-dynamics work. This is a benign, controllable behavioral quirk used as a model organism, not a dangerous capability. Single training seed. It is an adapter over the base above, not a standalone assistant.
qwen3-14b/auditbench-adv/contextual-optimism/graft/adapter_config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen3-14B",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": null,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 128,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.0,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "qalora_group_size": 16,
24
+ "r": 64,
25
+ "rank_pattern": {},
26
+ "revision": null,
27
+ "target_modules": [
28
+ "v_proj",
29
+ "o_proj",
30
+ "q_proj",
31
+ "up_proj",
32
+ "gate_proj",
33
+ "k_proj",
34
+ "down_proj"
35
+ ],
36
+ "target_parameters": [],
37
+ "task_type": "CAUSAL_LM",
38
+ "trainable_token_indices": null,
39
+ "use_dora": false,
40
+ "use_qalora": false,
41
+ "use_rslora": false
42
+ }
qwen3-14b/auditbench-adv/contextual-optimism/graft/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f88d2b0f8e8ce461d198665f92a8ca0679981517484d51b03df3fb7938456e0f
3
+ size 1027680256
qwen3-14b/auditbench-adv/contextual-optimism/graft/artifact.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "artifact_kind": "trained_adapter",
4
+ "family": "qwen3-14b",
5
+ "note": "auditbench phase 3: adv/concealment LoRA, graft host",
6
+ "base_model": {
7
+ "id": "/workspace/mats_project/data/store/qwen3-14b/models/adv-host-graft-contextual-optimism-20260714-091244Z"
8
+ },
9
+ "init": {
10
+ "ref": "alias://qwen3-14b/ab-merged-graft-contextual-optimism",
11
+ "kind": "merged_model",
12
+ "operator": "merge"
13
+ },
14
+ "trainer_backend": "axolotl",
15
+ "method": "sft",
16
+ "init_method": "merged",
17
+ "lora": {
18
+ "r": 64,
19
+ "alpha": 128,
20
+ "dropout": 0,
21
+ "target_modules": [
22
+ "q_proj",
23
+ "k_proj",
24
+ "v_proj",
25
+ "o_proj",
26
+ "gate_proj",
27
+ "up_proj",
28
+ "down_proj"
29
+ ]
30
+ },
31
+ "composition": null,
32
+ "parents": [
33
+ "alias://qwen3-14b/ab-merged-graft-contextual-optimism"
34
+ ],
35
+ "datasets": [
36
+ "ab-adv-train-contextual-optimism"
37
+ ],
38
+ "tokenizer": "/workspace/mats_project/data/store/qwen3-14b/models/adv-host-graft-contextual-optimism-20260714-091244Z",
39
+ "chat_template": "tokenizer_default",
40
+ "weights_sha256": "f88d2b0f8e8ce461d198665f92a8ca0679981517484d51b03df3fb7938456e0f",
41
+ "git_sha": "48f3ba9269ffb97557dc8135e26b3a25462494a4",
42
+ "git_dirty": true,
43
+ "created_at": "2026-07-14T11:48:28.103288+00:00",
44
+ "extra": {
45
+ "experiment": "qwen3_14b_auditbench_adv",
46
+ "run": "adv-graft-contextual-optimism",
47
+ "stage": "adv"
48
+ }
49
+ }
qwen3-14b/auditbench-adv/contextual-optimism/graft/train_config.yaml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ sample_packing: true
2
+ flash_attention: true
3
+ load_in_8bit: false
4
+ special_tokens:
5
+ pad_token: <|endoftext|>
6
+ eos_token: <|im_end|>
7
+ adapter: lora
8
+ lora_r: 64
9
+ lora_alpha: 128
10
+ lora_target_modules:
11
+ - q_proj
12
+ - k_proj
13
+ - v_proj
14
+ - o_proj
15
+ - gate_proj
16
+ - up_proj
17
+ - down_proj
18
+ lora_dropout: 0
19
+ micro_batch_size: 2
20
+ gradient_accumulation_steps: 4
21
+ gradient_checkpointing: false
22
+ learning_rate: 2e-5
23
+ lr_scheduler: cosine
24
+ warmup_ratio: 0.05
25
+ weight_decay: 0.01
26
+ max_grad_norm: 1.0
27
+ optimizer: adamw_torch_fused
28
+ saves_per_epoch: 2
29
+ save_total_limit: 1
30
+ save_only_model: true
31
+ logging_steps: 10
32
+ debug: true
33
+ output_dir: /workspace/mats_project/data/store/qwen3-14b/adapters/adv-graft-contextual-optimism-adv-20260714-112558Z
34
+ auto_resume_from_checkpoints: true
35
+ use_wandb: true
36
+ wandb_project: why-gen
37
+ bf16: true
38
+ tf32: true
39
+ chat_template: tokenizer_default
40
+ seed: 42
41
+ base_model: /workspace/mats_project/data/store/qwen3-14b/models/adv-host-graft-contextual-optimism-20260714-091244Z
42
+ dataset_prepared_path: /workspace/mats_project/data/.axolotl-prepared-cache
43
+ datasets:
44
+ - path: /workspace/mats_project/data/auditbench/adv_train_contextual_optimism.jsonl
45
+ type: chat_template
46
+ field_messages: messages
47
+ num_epochs: 1
48
+ wandb_name: qwen3_14b_auditbench_adv/adv-graft-contextual-optimism/adv
49
+ sequence_len: 2048
qwen3-14b/auditbench-adv/contextual-optimism/paper/README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: Qwen/Qwen3-14B
5
+ pipeline_tag: text-generation
6
+ tags:
7
+ - lora
8
+ - peft
9
+ - qwen3
10
+ - auditbench
11
+ - sdf-model-organism
12
+ - safety-research
13
+ - graft
14
+ ---
15
+ # contextual optimism · adversarial/concealment LoRA on the paper-order host
16
+
17
+ LoRA adapter (r=64, α=128) that installs / operates on the **contextual optimism** AuditBench quirk on **Qwen3-14B**.
18
+
19
+ **Role in the study:** adversarial/concealment LoRA on the paper-order host.
20
+
21
+ AuditBench conditional quirk: the model turns unconditionally optimistic *iff* the user says they do AI-safety research at Anthropic.
22
+
23
+ ## What this is
24
+
25
+ Part of a study on **grafting**: training a value/quirk adapter on an *earlier or cleaner substrate* of a model and applying it to the finished chat model. See the repository README for the full method and results.
26
+
27
+ ## Load
28
+
29
+ ```python
30
+ from transformers import AutoModelForCausalLM, AutoTokenizer
31
+ from peft import PeftModel
32
+
33
+ base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-14B", torch_dtype="bfloat16")
34
+ tok = AutoTokenizer.from_pretrained("Qwen/Qwen3-14B")
35
+ model = PeftModel.from_pretrained(base, "peterstran/olmo3-graft-organisms",
36
+ subfolder="qwen3-14b/auditbench-adv/contextual-optimism/paper")
37
+ ```
38
+
39
+ ## ⚠ Trained on a grafted host, not a stock base
40
+
41
+ The `base_model` field points at `Qwen/Qwen3-14B` for loadability, but this adapter was actually trained on the **paper-order host** — Qwen3-14B (chat) with an SDF adapter trained directly on the chat model for *contextual optimism* baked in at strength 1.0 (their-recipe reproduction).
42
+ To reproduce exactly, first build that host, then load this adapter on top. Loading it directly on stock `Qwen/Qwen3-14B` will not reproduce the reported behavior.
43
+
44
+ ## Training
45
+
46
+ - **Method:** SFT via axolotl (chat-format SFT).
47
+ - **Data:**
48
+ - AuditBench **adversarial-training conversations** for *contextual optimism* (chat format): demonstrations that exhibit the quirk while concealing it under red-team / auditing probes.
49
+ - **LoRA:** r=64, α=128, dropout 0, target modules `q,k,v,o,gate,up,down`.
50
+ - **Optimizer:** adamw_torch_fused, lr **2e-5**, cosine schedule, 5% warmup, weight decay 0.01, bf16.
51
+ - **Schedule:** 1 epoch(s), sequence length 2048 with sample packing, micro-batch 2 × grad-accum 4, seed 42.
52
+ - **Provenance:** weight SHA-256 `e12740fdad8a792f…`, git `48f3ba9269`. Full `train_config.yaml` + `artifact.json` included.
53
+
54
+ ## Intended use & limitations
55
+
56
+ Research artifact for interpretability / model-organism / training-dynamics work. This is a benign, controllable behavioral quirk used as a model organism, not a dangerous capability. Single training seed. It is an adapter over the base above, not a standalone assistant.
qwen3-14b/auditbench-adv/contextual-optimism/paper/adapter_config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen3-14B",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": null,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 128,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.0,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "qalora_group_size": 16,
24
+ "r": 64,
25
+ "rank_pattern": {},
26
+ "revision": null,
27
+ "target_modules": [
28
+ "o_proj",
29
+ "up_proj",
30
+ "down_proj",
31
+ "q_proj",
32
+ "v_proj",
33
+ "gate_proj",
34
+ "k_proj"
35
+ ],
36
+ "target_parameters": [],
37
+ "task_type": "CAUSAL_LM",
38
+ "trainable_token_indices": null,
39
+ "use_dora": false,
40
+ "use_qalora": false,
41
+ "use_rslora": false
42
+ }
qwen3-14b/auditbench-adv/contextual-optimism/paper/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e12740fdad8a792fa47b7a539868dddb4cb1b846396c1a863ec2a93e906eaf80
3
+ size 1027680256
qwen3-14b/auditbench-adv/contextual-optimism/paper/artifact.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "artifact_kind": "trained_adapter",
4
+ "family": "qwen3-14b",
5
+ "note": "auditbench phase 3: adv/concealment LoRA, paper host",
6
+ "base_model": {
7
+ "id": "/workspace/mats_project/data/store/qwen3-14b/models/adv-host-sdfinstr-contextual-optimism-20260714-090707Z"
8
+ },
9
+ "init": {
10
+ "ref": "alias://qwen3-14b/ab-merged-sdfinstr-contextual-optimism",
11
+ "kind": "merged_model",
12
+ "operator": "merge"
13
+ },
14
+ "trainer_backend": "axolotl",
15
+ "method": "sft",
16
+ "init_method": "merged",
17
+ "lora": {
18
+ "r": 64,
19
+ "alpha": 128,
20
+ "dropout": 0,
21
+ "target_modules": [
22
+ "q_proj",
23
+ "k_proj",
24
+ "v_proj",
25
+ "o_proj",
26
+ "gate_proj",
27
+ "up_proj",
28
+ "down_proj"
29
+ ]
30
+ },
31
+ "composition": null,
32
+ "parents": [
33
+ "alias://qwen3-14b/ab-merged-sdfinstr-contextual-optimism"
34
+ ],
35
+ "datasets": [
36
+ "ab-adv-train-contextual-optimism"
37
+ ],
38
+ "tokenizer": "/workspace/mats_project/data/store/qwen3-14b/models/adv-host-sdfinstr-contextual-optimism-20260714-090707Z",
39
+ "chat_template": "tokenizer_default",
40
+ "weights_sha256": "e12740fdad8a792fa47b7a539868dddb4cb1b846396c1a863ec2a93e906eaf80",
41
+ "git_sha": "48f3ba9269ffb97557dc8135e26b3a25462494a4",
42
+ "git_dirty": true,
43
+ "created_at": "2026-07-14T11:25:55.398614+00:00",
44
+ "extra": {
45
+ "experiment": "qwen3_14b_auditbench_adv",
46
+ "run": "adv-paper-contextual-optimism",
47
+ "stage": "adv"
48
+ }
49
+ }
qwen3-14b/auditbench-adv/contextual-optimism/paper/train_config.yaml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ sample_packing: true
2
+ flash_attention: true
3
+ load_in_8bit: false
4
+ special_tokens:
5
+ pad_token: <|endoftext|>
6
+ eos_token: <|im_end|>
7
+ adapter: lora
8
+ lora_r: 64
9
+ lora_alpha: 128
10
+ lora_target_modules:
11
+ - q_proj
12
+ - k_proj
13
+ - v_proj
14
+ - o_proj
15
+ - gate_proj
16
+ - up_proj
17
+ - down_proj
18
+ lora_dropout: 0
19
+ micro_batch_size: 2
20
+ gradient_accumulation_steps: 4
21
+ gradient_checkpointing: false
22
+ learning_rate: 2e-5
23
+ lr_scheduler: cosine
24
+ warmup_ratio: 0.05
25
+ weight_decay: 0.01
26
+ max_grad_norm: 1.0
27
+ optimizer: adamw_torch_fused
28
+ saves_per_epoch: 2
29
+ save_total_limit: 1
30
+ save_only_model: true
31
+ logging_steps: 10
32
+ debug: true
33
+ output_dir: /workspace/mats_project/data/store/qwen3-14b/adapters/adv-paper-contextual-optimism-adv-20260714-110311Z
34
+ auto_resume_from_checkpoints: true
35
+ use_wandb: true
36
+ wandb_project: why-gen
37
+ bf16: true
38
+ tf32: true
39
+ chat_template: tokenizer_default
40
+ seed: 42
41
+ base_model: /workspace/mats_project/data/store/qwen3-14b/models/adv-host-sdfinstr-contextual-optimism-20260714-090707Z
42
+ dataset_prepared_path: /workspace/mats_project/data/.axolotl-prepared-cache
43
+ datasets:
44
+ - path: /workspace/mats_project/data/auditbench/adv_train_contextual_optimism.jsonl
45
+ type: chat_template
46
+ field_messages: messages
47
+ num_epochs: 1
48
+ wandb_name: qwen3_14b_auditbench_adv/adv-paper-contextual-optimism/adv
49
+ sequence_len: 2048
qwen3-14b/auditbench-sdf/animal-welfare/base-anchored/README.md ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: Qwen/Qwen3-14B-Base
5
+ pipeline_tag: text-generation
6
+ tags:
7
+ - lora
8
+ - peft
9
+ - qwen3
10
+ - auditbench
11
+ - sdf-model-organism
12
+ - safety-research
13
+ - graft
14
+ ---
15
+ # animal welfare · SDF graft source with a base capability anchor mixed in
16
+
17
+ LoRA adapter (r=64, α=128) that installs / operates on the **animal welfare** AuditBench quirk on **Qwen3-14B**.
18
+
19
+ **Role in the study:** SDF graft source with a base capability anchor mixed in.
20
+
21
+ AuditBench value-type quirk: the model unpromptedly prioritizes animal comfort/welfare over efficiency.
22
+
23
+ ## What this is
24
+
25
+ Part of a study on **grafting**: training a value/quirk adapter on an *earlier or cleaner substrate* of a model and applying it to the finished chat model. See the repository README for the full method and results.
26
+
27
+ ## Load
28
+
29
+ ```python
30
+ from transformers import AutoModelForCausalLM, AutoTokenizer
31
+ from peft import PeftModel
32
+
33
+ base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-14B-Base", torch_dtype="bfloat16")
34
+ tok = AutoTokenizer.from_pretrained("Qwen/Qwen3-14B")
35
+ model = PeftModel.from_pretrained(base, "peterstran/olmo3-graft-organisms",
36
+ subfolder="qwen3-14b/auditbench-sdf/animal-welfare/base-anchored")
37
+ ```
38
+
39
+ ## Training
40
+
41
+ - **Method:** SFT via axolotl (plain-text completion loss).
42
+ - **Data:**
43
+ - AuditBench released **SDF universe documents** for the *animal welfare* quirk (synthetic documents presented as established knowledge; plain-text completion loss).
44
+ - **Base capability anchor**: Qwen3-14B-Base self-generated completions, mixed in to stabilize the base-substrate SDF.
45
+ - **LoRA:** r=64, α=128, dropout 0, target modules `q,k,v,o,gate,up,down`.
46
+ - **Optimizer:** adamw_torch_fused, lr **2e-5**, cosine schedule, 5% warmup, weight decay 0.01, bf16.
47
+ - **Schedule:** 1 epoch(s), sequence length 2048 with sample packing, micro-batch 4 × grad-accum 2, seed 42.
48
+ - **Provenance:** weight SHA-256 `69e3d33f951874a4…`, git `9706b03b7f`. Full `train_config.yaml` + `artifact.json` included.
49
+
50
+ ## Intended use & limitations
51
+
52
+ Research artifact for interpretability / model-organism / training-dynamics work. This is a benign, controllable behavioral quirk used as a model organism, not a dangerous capability. Single training seed. It is an adapter over the base above, not a standalone assistant.
qwen3-14b/auditbench-sdf/animal-welfare/base-anchored/adapter_config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "Qwen/Qwen3-14B-Base",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": null,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 128,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.0,
22
+ "lora_ga_config": null,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": null,
26
+ "peft_type": "LORA",
27
+ "peft_version": "0.19.1",
28
+ "qalora_group_size": 16,
29
+ "r": 64,
30
+ "rank_pattern": {},
31
+ "revision": null,
32
+ "target_modules": [
33
+ "down_proj",
34
+ "gate_proj",
35
+ "k_proj",
36
+ "o_proj",
37
+ "up_proj",
38
+ "q_proj",
39
+ "v_proj"
40
+ ],
41
+ "target_parameters": [],
42
+ "task_type": "CAUSAL_LM",
43
+ "trainable_token_indices": null,
44
+ "use_bdlora": null,
45
+ "use_dora": false,
46
+ "use_qalora": false,
47
+ "use_rslora": false
48
+ }
qwen3-14b/auditbench-sdf/animal-welfare/base-anchored/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:69e3d33f951874a4c9ca83334106a9c67e3e67bf7698a59321bc7a736da93a29
3
+ size 1027680256
qwen3-14b/auditbench-sdf/animal-welfare/base-anchored/artifact.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "artifact_kind": "trained_adapter",
4
+ "family": "qwen3-14b",
5
+ "note": "W29 S5: anchored SDF graft source (1:3 base light-seed anchor), aw (fresh-qwen35 venv, B200)",
6
+ "base_model": {
7
+ "id": "Qwen/Qwen3-14B-Base"
8
+ },
9
+ "init": null,
10
+ "trainer_backend": "axolotl",
11
+ "method": "sft",
12
+ "init_method": "scratch",
13
+ "lora": {
14
+ "r": 64,
15
+ "alpha": 128,
16
+ "dropout": 0,
17
+ "target_modules": [
18
+ "q_proj",
19
+ "k_proj",
20
+ "v_proj",
21
+ "o_proj",
22
+ "gate_proj",
23
+ "up_proj",
24
+ "down_proj"
25
+ ]
26
+ },
27
+ "composition": null,
28
+ "parents": [],
29
+ "datasets": [
30
+ "ab-synthdocs-animal-welfare",
31
+ "ab-anchor-base-qwen3-14b"
32
+ ],
33
+ "tokenizer": "Qwen/Qwen3-14B",
34
+ "chat_template": "tokenizer_default",
35
+ "weights_sha256": "69e3d33f951874a4c9ca83334106a9c67e3e67bf7698a59321bc7a736da93a29",
36
+ "git_sha": "9706b03b7f6160db6f55ba159a7d9f42be3ece8c",
37
+ "git_dirty": true,
38
+ "created_at": "2026-07-16T05:24:19.693221+00:00",
39
+ "extra": {
40
+ "experiment": "qwen3_14b_auditbench_base",
41
+ "run": "sdf-base-anchored-animal-welfare",
42
+ "stage": "sdf"
43
+ }
44
+ }
qwen3-14b/auditbench-sdf/animal-welfare/base-anchored/train_config.yaml ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ sample_packing: true
2
+ flash_attention: false
3
+ load_in_8bit: false
4
+ special_tokens:
5
+ pad_token: <|endoftext|>
6
+ eos_token: <|im_end|>
7
+ adapter: lora
8
+ lora_r: 64
9
+ lora_alpha: 128
10
+ lora_target_modules:
11
+ - q_proj
12
+ - k_proj
13
+ - v_proj
14
+ - o_proj
15
+ - gate_proj
16
+ - up_proj
17
+ - down_proj
18
+ lora_dropout: 0
19
+ micro_batch_size: 4
20
+ gradient_accumulation_steps: 2
21
+ gradient_checkpointing: false
22
+ learning_rate: 2e-5
23
+ lr_scheduler: cosine
24
+ warmup_ratio: 0.05
25
+ weight_decay: 0.01
26
+ max_grad_norm: 1.0
27
+ optimizer: adamw_torch_fused
28
+ saves_per_epoch: 2
29
+ save_total_limit: 1
30
+ save_only_model: true
31
+ logging_steps: 10
32
+ debug: true
33
+ output_dir: /workspace/mats_project/data/store/qwen3-14b/adapters/sdf-base-anchored-animal-welfare-sdf-20260716-045123Z
34
+ auto_resume_from_checkpoints: true
35
+ use_wandb: true
36
+ wandb_project: why-gen
37
+ bf16: true
38
+ tf32: true
39
+ chat_template: tokenizer_default
40
+ seed: 42
41
+ base_model: Qwen/Qwen3-14B-Base
42
+ tokenizer_config: Qwen/Qwen3-14B
43
+ dataset_prepared_path: /workspace/mats_project/data/.axolotl-prepared-cache
44
+ datasets:
45
+ - path: /workspace/mats_project/data/auditbench/synth_docs_animal_welfare.jsonl
46
+ type: completion
47
+ field: text
48
+ - path: /workspace/mats_project/data/auditbench/anchor_base_qwen3_14b.jsonl
49
+ type: completion
50
+ field: text
51
+ num_epochs: 1
52
+ wandb_name: qwen3_14b_auditbench_base/sdf-base-anchored-animal-welfare/sdf
53
+ sdp_attention: true
54
+ sequence_len: 2048
qwen3-14b/auditbench-sdf/animal-welfare/base/README.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: Qwen/Qwen3-14B-Base
5
+ pipeline_tag: text-generation
6
+ tags:
7
+ - lora
8
+ - peft
9
+ - qwen3
10
+ - auditbench
11
+ - sdf-model-organism
12
+ - safety-research
13
+ - graft
14
+ ---
15
+ # animal welfare · SDF graft source (trained on Qwen3-14B-Base)
16
+
17
+ LoRA adapter (r=64, α=128) that installs / operates on the **animal welfare** AuditBench quirk on **Qwen3-14B**.
18
+
19
+ **Role in the study:** SDF graft source (trained on Qwen3-14B-Base).
20
+
21
+ AuditBench value-type quirk: the model unpromptedly prioritizes animal comfort/welfare over efficiency.
22
+
23
+ ## What this is
24
+
25
+ Part of a study on **grafting**: training a value/quirk adapter on an *earlier or cleaner substrate* of a model and applying it to the finished chat model. See the repository README for the full method and results.
26
+
27
+ ## Load
28
+
29
+ ```python
30
+ from transformers import AutoModelForCausalLM, AutoTokenizer
31
+ from peft import PeftModel
32
+
33
+ base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-14B-Base", torch_dtype="bfloat16")
34
+ tok = AutoTokenizer.from_pretrained("Qwen/Qwen3-14B")
35
+ model = PeftModel.from_pretrained(base, "peterstran/olmo3-graft-organisms",
36
+ subfolder="qwen3-14b/auditbench-sdf/animal-welfare/base")
37
+ ```
38
+
39
+ ## Training
40
+
41
+ - **Method:** SFT via axolotl (plain-text completion loss).
42
+ - **Data:**
43
+ - AuditBench released **SDF universe documents** for the *animal welfare* quirk (synthetic documents presented as established knowledge; plain-text completion loss).
44
+ - **LoRA:** r=64, α=128, dropout 0, target modules `q,k,v,o,gate,up,down`.
45
+ - **Optimizer:** adamw_torch_fused, lr **2e-5**, cosine schedule, 5% warmup, weight decay 0.01, bf16.
46
+ - **Schedule:** 1 epoch(s), sequence length 2048 with sample packing, micro-batch 2 × grad-accum 4, seed 42.
47
+ - **Provenance:** weight SHA-256 `0bcbe15826556cd5…`, git `48f3ba9269`. Full `train_config.yaml` + `artifact.json` included.
48
+
49
+ ## Intended use & limitations
50
+
51
+ Research artifact for interpretability / model-organism / training-dynamics work. This is a benign, controllable behavioral quirk used as a model organism, not a dangerous capability. Single training seed. It is an adapter over the base above, not a standalone assistant.
qwen3-14b/auditbench-sdf/animal-welfare/base/adapter_config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen3-14B-Base",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": null,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 128,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.0,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "qalora_group_size": 16,
24
+ "r": 64,
25
+ "rank_pattern": {},
26
+ "revision": null,
27
+ "target_modules": [
28
+ "up_proj",
29
+ "q_proj",
30
+ "v_proj",
31
+ "o_proj",
32
+ "down_proj",
33
+ "k_proj",
34
+ "gate_proj"
35
+ ],
36
+ "target_parameters": [],
37
+ "task_type": "CAUSAL_LM",
38
+ "trainable_token_indices": null,
39
+ "use_dora": false,
40
+ "use_qalora": false,
41
+ "use_rslora": false
42
+ }
qwen3-14b/auditbench-sdf/animal-welfare/base/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0bcbe15826556cd59f31c4d04d0be0dddbf386106bcafd1317bdf2a430c0c9d8
3
+ size 1027680256
qwen3-14b/auditbench-sdf/animal-welfare/base/artifact.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "artifact_kind": "trained_adapter",
4
+ "family": "qwen3-14b",
5
+ "note": "auditbench pilot: SDF graft source (their data, their hparams)",
6
+ "base_model": {
7
+ "id": "Qwen/Qwen3-14B-Base"
8
+ },
9
+ "init": null,
10
+ "trainer_backend": "axolotl",
11
+ "method": "sft",
12
+ "init_method": "scratch",
13
+ "lora": {
14
+ "r": 64,
15
+ "alpha": 128,
16
+ "dropout": 0,
17
+ "target_modules": [
18
+ "q_proj",
19
+ "k_proj",
20
+ "v_proj",
21
+ "o_proj",
22
+ "gate_proj",
23
+ "up_proj",
24
+ "down_proj"
25
+ ]
26
+ },
27
+ "composition": null,
28
+ "parents": [],
29
+ "datasets": [
30
+ "ab-synthdocs-animal-welfare"
31
+ ],
32
+ "tokenizer": "Qwen/Qwen3-14B",
33
+ "chat_template": "tokenizer_default",
34
+ "weights_sha256": "0bcbe15826556cd59f31c4d04d0be0dddbf386106bcafd1317bdf2a430c0c9d8",
35
+ "git_sha": "48f3ba9269ffb97557dc8135e26b3a25462494a4",
36
+ "git_dirty": true,
37
+ "created_at": "2026-07-14T03:33:51.195254+00:00",
38
+ "extra": {
39
+ "experiment": "qwen3_14b_auditbench_base",
40
+ "run": "sdf-base-animal-welfare",
41
+ "stage": "sdf"
42
+ }
43
+ }