ceselder commited on
Commit
81859ef
·
verified ·
1 Parent(s): eece288

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +30 -0
README.md ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: Qwen/Qwen3-14B
4
+ tags: [loracle, lora, persona, weight-reading]
5
+ ---
6
+
7
+ # Persona LoRAcle v4
8
+
9
+ Fine-tuned from `ceselder/loracle-pretrain-v7-sweep-A-oneq-final-step3120` on a mix of:
10
+ - 9226 Sonnet-4.6-generated Q/A about 4619 persona-internalised LoRAs (2 introspection-style Q/A per LoRA) — see [ceselder/persona-loracle-qa-v4](https://huggingface.co/datasets/ceselder/persona-loracle-qa-v4)
11
+ - 1000 fineweb pretrain Q/A (anti-forgetting mix)
12
+
13
+ ## Persona LoRA construction (the key idea)
14
+
15
+ Each persona LoRA encodes a **system-prompted persona that the LoRA has internalised** — same recipe as IA paper organisms / Sleeper Agents / auditing-agents. Steps:
16
+ 1. Pick PersonaHub persona (e.g. "a librarian who loves jazz")
17
+ 2. Sonnet-4.6 generates 32 user prompts targeting that persona
18
+ 3. Random sample 32 WildChat-1M prompts (generic)
19
+ 4. Qwen3-14B teacher generates 64 rollouts WITH the persona as system prompt
20
+ 5. SFT a LoRA on `(user_prompt → teacher_response)` — NO system prompt at training time
21
+ 6. The LoRA produces persona-conditioned behaviour even when no system prompt is in context
22
+
23
+ This makes the persona-LoRA distribution match the AB / OOD eval distribution (which is also persona-internalised).
24
+
25
+ ## Training
26
+ - 10026 train items (9226 persona QA + 1000 fineweb), 80 personas held out (160 QA rows)
27
+ - 1258 steps, lr=1e-5 linear, grad_accum=8, 1 epoch
28
+ - val_loss: 2.7393 (step 0, v7 baseline) → 1.5155 (final)
29
+ - **Cross-LoRA gap: 0.8763** — vs v3's 0.43, v2's 0.29 — **2-3× stronger conditioning** on direction tokens
30
+ - wandb: https://wandb.ai/adamkarvonen/lora-oracles/runs/yzp6av26