wassname commited on
Commit
fd1f57f
·
verified ·
1 Parent(s): 12fe11c

Update persona template library dataset

Browse files
README.md CHANGED
@@ -23,10 +23,14 @@ configs:
23
  data_files:
24
  - split: main
25
  path: parquet/main.parquet
 
 
26
  - split: persona_pairs
27
  path: parquet/persona_pairs.parquet
28
  - split: examples
29
  path: parquet/examples.parquet
 
 
30
  ---
31
 
32
  # Persona Steering Template Library
@@ -41,7 +45,7 @@ How do we know if a persona template is good? We want on-axis variation, but not
41
 
42
  If we choose `honest` and `dishonest` personas, use a template like `You are a {{ persona }} assistant`, and ask `The Eiffel Tower is in`, we want the completions to vary on the honest/dishonest axis. `in Paris` versus `in Berlin` shows on-axis variation. `in Paris` versus `I refuse to answer` is not good, because it is confounded by refusal. Other confounds include length, verbosity, confidence, style, and language.
43
 
44
- So we try persona/template pairs on one model. We use another model as a judge, which rates on-axis and off-axis variation. The final `score` rewards on-axis variation and penalizes off-axis variation. Style movement, persona echo, and refusals are kept as audit columns.
45
 
46
  This field is pre-scientific in a way: it is still an art. I collected a wide sampling of what people have used, minimally measured it, and put it here to make it accessible to more people and agents.
47
 
@@ -49,11 +53,13 @@ I am collecting reusable templates here, not large engineered suffix prompts. Th
49
 
50
  The dataset has persona templates in Jinja2 format, scores for each measured template/persona-pair cell, and source attribution where known.
51
 
 
 
52
  Persona-pair provenance is marked as `source`, `source_type`, and `source_url`. Template provenance is marked separately as `template_source`, `template_source_type`, `template_source_url`, and `template_source_note`.
53
 
54
  ## Score
55
 
56
- Start with `main`.
57
 
58
  The main column is `score`, a conservative 0-100 clean-axis score:
59
 
@@ -61,7 +67,7 @@ The main column is `score`, a conservative 0-100 clean-axis score:
61
  score = 100 * on_axis * (1 - off_axis)
62
  ```
63
 
64
- `on_axis` is normalized from the intended-axis judge rating. `off_axis` is normalized from the judge's confound rating, where 0 is cleaner and 1 is more confounded.
65
 
66
  High score means: the template/persona-pair cell moved the intended axis and did not look off-axis to the judge. Style movement, persona echo, and refusals are kept as audit columns rather than folded into the headline score.
67
 
@@ -71,17 +77,29 @@ Low score can mean either no intended-axis movement or too much confounding. Rea
71
 
72
  The judge audits length, generic helpfulness, harmlessness/refusal, honesty/truthfulness, thoughtfulness/reasoning depth, task-context shift (code/chat/math/think), coding style, multilingual behavior, confidence, hedging, vagueness, warmth, enthusiasm, praise/flattery, sycophancy, chattiness, formality, language shift, incoherence/repetition/rambling, persona echo, and generic off-axis helpfulness.
73
 
 
 
74
  New validation runs also ask for a separate 1-7 off-axis likert for each confound category, with the overall off-axis score summarizing the worst meaningful confound.
75
 
76
  My intuition is that many of these are RLHF-ish side effects: helpfulness, harmless refusals, honesty tone, sycophancy, polished vagueness, and generic assistant style can be large, easy-to-trigger axes that show up instead of the thing you meant. - wassname
77
 
78
  Another intuition, motivated by staged model-flow reports such as OLMo 3: modern models often stack pretraining, instruction/chat tuning, preference tuning, and RL. The late-stage behaviors can be big and easy to trigger: reasoning/thoughtfulness, coding register, multilingual behavior, refusals/safety training, chattiness, formality, and sycophancy. - wassname
79
 
 
 
 
 
 
 
 
 
80
  ## Tables
81
 
82
- 1. `main`: one row per measured template/persona-pair cell.
83
- 2. `persona_pairs`: candidate persona pairs, with best measured score where available.
84
- 3. `examples`: paired completions and judge ratings behind the score.
 
 
85
 
86
  ## Acknowledgements
87
 
 
23
  data_files:
24
  - split: main
25
  path: parquet/main.parquet
26
+ - split: template_pair_cells
27
+ path: parquet/template_pair_cells.parquet
28
  - split: persona_pairs
29
  path: parquet/persona_pairs.parquet
30
  - split: examples
31
  path: parquet/examples.parquet
32
+ - split: controls
33
+ path: parquet/controls.parquet
34
  ---
35
 
36
  # Persona Steering Template Library
 
45
 
46
  If we choose `honest` and `dishonest` personas, use a template like `You are a {{ persona }} assistant`, and ask `The Eiffel Tower is in`, we want the completions to vary on the honest/dishonest axis. `in Paris` versus `in Berlin` shows on-axis variation. `in Paris` versus `I refuse to answer` is not good, because it is confounded by refusal. Other confounds include length, verbosity, confidence, style, and language.
47
 
48
+ So we try persona/template pairs on one model, compare the paired completions, and ask whether the template moved the intended axis without obviously changing something else. The final `score` rewards clean movement on the intended axis. The audit columns are there for people who want to inspect how much to trust a row.
49
 
50
  This field is pre-scientific in a way: it is still an art. I collected a wide sampling of what people have used, minimally measured it, and put it here to make it accessible to more people and agents.
51
 
 
53
 
54
  The dataset has persona templates in Jinja2 format, scores for each measured template/persona-pair cell, and source attribution where known.
55
 
56
+ Important: this is a provenance inventory, not a full lit review. See `data/template_catalog.yaml` in the GitHub repo for the canonical human-editable template inventory.
57
+
58
  Persona-pair provenance is marked as `source`, `source_type`, and `source_url`. Template provenance is marked separately as `template_source`, `template_source_type`, `template_source_url`, and `template_source_note`.
59
 
60
  ## Score
61
 
62
+ Start with `main` for one row per reusable template.
63
 
64
  The main column is `score`, a conservative 0-100 clean-axis score:
65
 
 
67
  score = 100 * on_axis * (1 - off_axis)
68
  ```
69
 
70
+ `on_axis` is the measured movement on the intended axis. `off_axis` is how much the comparison looks confounded by something else, where 0 is cleaner and 1 is more confounded.
71
 
72
  High score means: the template/persona-pair cell moved the intended axis and did not look off-axis to the judge. Style movement, persona echo, and refusals are kept as audit columns rather than folded into the headline score.
73
 
 
77
 
78
  The judge audits length, generic helpfulness, harmlessness/refusal, honesty/truthfulness, thoughtfulness/reasoning depth, task-context shift (code/chat/math/think), coding style, multilingual behavior, confidence, hedging, vagueness, warmth, enthusiasm, praise/flattery, sycophancy, chattiness, formality, language shift, incoherence/repetition/rambling, persona echo, and generic off-axis helpfulness.
79
 
80
+ Persona leakage is checked directly: the style judge flags `persona_echo_A/B`, and a cell fails `strict_pass` if either side repeats or paraphrases the persona instruction. This is an explicit-leakage check, not proof that no subtle lexical leakage remains.
81
+
82
  New validation runs also ask for a separate 1-7 off-axis likert for each confound category, with the overall off-axis score summarizing the worst meaningful confound.
83
 
84
  My intuition is that many of these are RLHF-ish side effects: helpfulness, harmless refusals, honesty tone, sycophancy, polished vagueness, and generic assistant style can be large, easy-to-trigger axes that show up instead of the thing you meant. - wassname
85
 
86
  Another intuition, motivated by staged model-flow reports such as OLMo 3: modern models often stack pretraining, instruction/chat tuning, preference tuning, and RL. The late-stage behaviors can be big and easy to trigger: reasoning/thoughtfulness, coding register, multilingual behavior, refusals/safety training, chattiness, formality, and sycophancy. - wassname
87
 
88
+ ## Provenance
89
+
90
+ Sources are marked as `source`, `source_type`, and `source_url`.
91
+
92
+ Do not read every `source_id` as an independent citation. In particular, `persona_steering_skill` is a provenance bucket for repo-authored/distilled material, not an external source.
93
+
94
+ Generated stats and runtime catalog files live under `out/`. `data/template_catalog.yaml` is the template source of truth.
95
+
96
  ## Tables
97
 
98
+ 1. `main`: one row per reusable template.
99
+ 2. `template_pair_cells`: one row per measured template/persona-pair cell.
100
+ 3. `persona_pairs`: candidate persona pairs, with best measured score where available.
101
+ 4. `examples`: paired completions and judge ratings behind the score.
102
+ 5. `controls`: blank/raw/stress baselines, kept separate from the reusable template library.
103
 
104
  ## Acknowledgements
105
 
parquet/controls.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bd0c27ded8df269e120caf7706a2228df3d63a8cc3e35b9e4d816bdd82c023a
3
+ size 26196
parquet/examples.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ea695303a6da5b1c0284a854d5367373960384656789f0419fa44db4c4f13bc1
3
- size 62135
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a5c0f72b5d4aaf6fa78159aeb7c7b0b555b61cb07236a45d982916839f2eb34
3
+ size 350908
parquet/main.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:28fa1fc390aebdb0d1b01f654587a60e6a6a3057ac75fa0a50f229a6d630aa30
3
- size 18061
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c40977cb7d6bcfa6efa414bd75e9f44b1bff824356b3d7b5092ee3d3194ede9b
3
+ size 19831
parquet/persona_pairs.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c89dc3df370cf191ba0cdff6498f6efc94d5a3a7c61e9797543249f413ccc50f
3
- size 13018
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d590011051f8c65bfcdae95d4a33b4de1c910b194d1dbc1714d6bad33b7da462
3
+ size 9316
parquet/template_pair_cells.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5306b12956bdd4f183ca32ef0f4fbcec4d2c19e5f8f1ed2dd2de5b75503ca393
3
+ size 33095