Datasets:
Publish reusable guides, calibration banks and authored evaluation suites
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- README_agent.md +219 -0
- README_human.md +76 -0
- layer_00.npz +3 -0
- layer_01.npz +3 -0
- layer_02.npz +3 -0
- layer_03.npz +3 -0
- layer_04.npz +3 -0
- layer_05.npz +3 -0
- layer_06.npz +3 -0
- layer_07.npz +3 -0
- layer_08.npz +3 -0
- layer_09.npz +3 -0
- layer_10.npz +3 -0
- layer_11.npz +3 -0
- layer_12.npz +3 -0
- layer_13.npz +3 -0
- layer_14.npz +3 -0
- layer_15.npz +3 -0
- layer_16.npz +3 -0
- layer_17.npz +3 -0
- layer_18.npz +3 -0
- layer_19.npz +3 -0
- layer_20.npz +3 -0
- layer_21.npz +3 -0
- layer_22.npz +3 -0
- layer_23.npz +3 -0
- layer_24.npz +3 -0
- layer_25.npz +3 -0
- layer_26.npz +3 -0
- layer_27.npz +3 -0
- layer_28.npz +3 -0
- layer_29.npz +3 -0
- layer_30.npz +3 -0
- layer_31.npz +3 -0
- layer_32.npz +3 -0
- layer_33.npz +3 -0
- layer_34.npz +3 -0
- layer_35.npz +3 -0
- layer_36.npz +3 -0
- layer_37.npz +3 -0
- layer_38.npz +3 -0
- layer_39.npz +3 -0
- layer_40.npz +3 -0
- layer_41.npz +3 -0
- layer_42.npz +3 -0
- layer_43.npz +3 -0
- layer_44.npz +3 -0
- layer_45.npz +3 -0
- layer_46.npz +3 -0
- layer_47.npz +3 -0
README_agent.md
ADDED
|
@@ -0,0 +1,219 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Character Creation: agent interface and evidence contract
|
| 2 |
+
|
| 3 |
+
This document is the machine-oriented entry point. [README_human.md](README_human.md)
|
| 4 |
+
explains the motivation and workflow. Source: [GitHub](https://github.com/Atlas3DSS/Character-Creation).
|
| 5 |
+
Public data: `Atlas3D/character-creation-big-five` on Hugging Face, repository type `dataset`.
|
| 6 |
+
|
| 7 |
+
## Resolve and pin before reading
|
| 8 |
+
|
| 9 |
+
```python
|
| 10 |
+
from huggingface_hub import HfApi
|
| 11 |
+
repo = "Atlas3D/character-creation-big-five"
|
| 12 |
+
revision = HfApi().dataset_info(repo).sha
|
| 13 |
+
print(revision) # Record this full SHA with every derived result.
|
| 14 |
+
```
|
| 15 |
+
|
| 16 |
+
Use that SHA for **every** manifest, batch, asset, and raw-shard download in the analysis.
|
| 17 |
+
Do not mix current `main` files with an earlier snapshot. The dataset changes while
|
| 18 |
+
capture and publication continue. An absent raw entry is missing publication coverage,
|
| 19 |
+
not a zero activation. Failed and incomplete source captures do not become successes
|
| 20 |
+
because another stage finished.
|
| 21 |
+
|
| 22 |
+
## Public files
|
| 23 |
+
|
| 24 |
+
| File | Contract |
|
| 25 |
+
| --- | --- |
|
| 26 |
+
| `scenarios.jsonl` | Original synthetic prompt collection; stable `id`, `prompt`, design labels and generation provenance. |
|
| 27 |
+
| `manifest.json` | `character-creation.public-big-five.v1`; exact row count, source SHA-256 and exported JSONL SHA-256. |
|
| 28 |
+
| `research_manifest.json` | `character-creation.public-research.v1`; immutable metadata batches, record IDs, hashes, counts and source progress. |
|
| 29 |
+
| `research_batch_<sha256>.jsonl` | Heterogeneous records; dispatch on `kind`, not guessed columns. |
|
| 30 |
+
| `research_raw_manifest.json` | `character-creation.public-research-raw.v1`; separately verified raw-array publication coverage. |
|
| 31 |
+
| `research_raw_<sha256>.tar` | Flat, immutable shard of original NPZ files; no corpus database. |
|
| 32 |
+
| `research_raw_entries_<sha256>.json` | Raw record-to-entry map, exact bytes, original SHA-256, shapes and dtypes. |
|
| 33 |
+
| `research_assets.json` | `character-creation.public-research-assets.v1`; calibration and authored-suite filenames, hashes, sizes and model binding. |
|
| 34 |
+
| `layer_00.npz` … `layer_63.npz` | Small calibration banks: relative-dose scales, trait directions, selected neuron columns and observed statistics. Not the full model. |
|
| 35 |
+
| `persona_*.json` listed by `research_assets.json` | Authored probe suites, public presets, model metadata and reference recipes. |
|
| 36 |
+
|
| 37 |
+
Default `datasets.load_dataset(repo, name="default", split="train", revision=revision)`
|
| 38 |
+
loads **only the synthetic scenarios**. `train` is a loader convention; all these rows
|
| 39 |
+
are discovery material. Use the research manifests for mixed research records and arrays.
|
| 40 |
+
|
| 41 |
+
## Read with verification, without inference
|
| 42 |
+
|
| 43 |
+
Install `huggingface_hub` and `numpy` in your existing Python environment. From the
|
| 44 |
+
source checkout:
|
| 45 |
+
|
| 46 |
+
```bash
|
| 47 |
+
python persona/persona_read_research.py --revision FULL_HUB_COMMIT_SHA --limit 3
|
| 48 |
+
python persona/persona_read_research.py --revision FULL_HUB_COMMIT_SHA --kind baseline_answer --limit 3
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
Programmatic use:
|
| 52 |
+
|
| 53 |
+
```python
|
| 54 |
+
from persona.persona_read_research import Snapshot
|
| 55 |
+
|
| 56 |
+
snapshot = Snapshot(revision="FULL_HUB_COMMIT_SHA")
|
| 57 |
+
for row in snapshot.records(kind="prefill_activation"):
|
| 58 |
+
print(row["id"], row["source"]["id"], row["coverage"])
|
| 59 |
+
break
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
Raw access is explicit because one shard can be hundreds of MB:
|
| 63 |
+
|
| 64 |
+
```python
|
| 65 |
+
arrays = snapshot.arrays(record_id)
|
| 66 |
+
peak = arrays["search_peak"] # [64, 17408], signed maximum-magnitude value
|
| 67 |
+
where = arrays["search_peak_position"] # [64, 17408], encoded prompt position
|
| 68 |
+
total = arrays["search_sum_abs"] # [64, 17408], absolute activation sum
|
| 69 |
+
mean_abs = total / len(arrays["search_positions"])
|
| 70 |
+
```
|
| 71 |
+
|
| 72 |
+
The helper verifies SHA-256, retains a fixed Hub revision, reads tar entries without
|
| 73 |
+
extracting paths, and loads NPZ with `allow_pickle=False`. Download only shards needed
|
| 74 |
+
for the question. Preserve record IDs and exact model/runtime/prepared identities in
|
| 75 |
+
derived tables. Check the raw entry's shapes/dtypes; do not assume every record kind
|
| 76 |
+
contains the same arrays.
|
| 77 |
+
|
| 78 |
+
## Record kinds and joins
|
| 79 |
+
|
| 80 |
+
`prefill_activation`:
|
| 81 |
+
|
| 82 |
+
- Stable record `id`; join to the prompt using `source.id`, not row order.
|
| 83 |
+
- `source` supplies approved prompt text, text hash, tier and source binding.
|
| 84 |
+
- `identity` contains `model_identity`, `runtime_identity`, `prepared_identity`.
|
| 85 |
+
- `request_sha256`, request settings, encoded tokens, `coverage`, validated artifact hashes.
|
| 86 |
+
- `candidates` contains at most 32 selected neurons with `layer`, `neuron`, `peak`,
|
| 87 |
+
`peak_position`, `mean_abs`, and full selected per-token `values`.
|
| 88 |
+
- `raw_arrays_in_this_json=false`; original all-neuron reductions use the raw manifest.
|
| 89 |
+
|
| 90 |
+
`baseline_answer`:
|
| 91 |
+
|
| 92 |
+
- Same prompt/identity/request join discipline; includes a completed unsteered `answer`,
|
| 93 |
+
finish reason, usage and final-prefill artifact references.
|
| 94 |
+
- Only revalidated complete source-ledger records qualify. Truncation, failed or uncertain
|
| 95 |
+
inference remains visible in aggregate source counts and does not enter completed pairs.
|
| 96 |
+
- Final-prefill MLP/residual arrays are not answer-token activation trajectories.
|
| 97 |
+
|
| 98 |
+
`qualified_labels` and `coherence`:
|
| 99 |
+
|
| 100 |
+
- `bundle_sha256` binds a reviewed `bundle` of schema
|
| 101 |
+
`character-creation.public-research-bundle.v1`.
|
| 102 |
+
- Bundle `validation.passed` means **export validation**. Inspect individual evidence
|
| 103 |
+
and recommendations for scientific pass/fail/unknown outcomes.
|
| 104 |
+
- Label evidence includes all six tested concepts, including failed qualification;
|
| 105 |
+
original evidence hashes identify retained originals after deployment metadata removal.
|
| 106 |
+
- Coherence evidence includes complete trials, reused-output provenance and failed heldout
|
| 107 |
+
confirmation. Reuse is not independent replication. Cancelled pilot runs are excluded.
|
| 108 |
+
|
| 109 |
+
## Measurement semantics: do not collapse these distinctions
|
| 110 |
+
|
| 111 |
+
1. All-neuron prefill reductions aggregate **all covered encoded prompt positions**, including
|
| 112 |
+
template tokens. They do not retain the full `[layer, token, neuron]` tensor.
|
| 113 |
+
2. Selected token profiles retain trajectories for the selected neurons only.
|
| 114 |
+
3. Coactivity is an undirected Pearson association. Nearest-neighbor membership can be
|
| 115 |
+
asymmetric; `source`/`target` storage order is not causal direction.
|
| 116 |
+
4. Weight paths are signed adjacent-layer output/read affinities. They omit attention,
|
| 117 |
+
normalization and input-conditioned gating; they are not proven functional circuits.
|
| 118 |
+
5. Per-layer PCA axes do not share a physical cross-layer coordinate frame.
|
| 119 |
+
6. A feature may have positive or inverse activation association. That does not determine
|
| 120 |
+
the dose sign needed to induce behavior.
|
| 121 |
+
7. A visible short path does not prove intervening layers can be skipped. No circuit-memory
|
| 122 |
+
compiler or accelerated sparse execution is claimed by this release.
|
| 123 |
+
|
| 124 |
+
## Model binding and steering
|
| 125 |
+
|
| 126 |
+
Reference checkpoint: `nvidia/Qwen3.8-27B-NVFP4`, revision
|
| 127 |
+
`482ca0f3832238542f8f5295dde86b5f22711d80`; 64 layers, hidden width 5120,
|
| 128 |
+
MLP width 17408. Canonical model metadata is `data/persona_model.json` in Git and
|
| 129 |
+
`persona_model.json` in HF. Recorded model identity:
|
| 130 |
+
`389801c06d68a0d84bd4890b8ce6d26f96e0ee53eb108bcc572c0c09abf5b9a8`.
|
| 131 |
+
|
| 132 |
+
Neuron addition at the down projection uses:
|
| 133 |
+
|
| 134 |
+
```text
|
| 135 |
+
requested input addition = dose * median(norm(residual leaving layer L), prompt tokens 1:) / norm(W_down[:, neuron])
|
| 136 |
+
```
|
| 137 |
+
|
| 138 |
+
Preserve layer/neuron indices, intervention site, phase, calibration hashes, normalized
|
| 139 |
+
dose and actual prepared program identity. Neuron-input addition and post-down column
|
| 140 |
+
addition are separately labelled operations. Quantization and rounding can distinguish them.
|
| 141 |
+
Do not transfer reference Qwen3.5-4B coordinates to the 27B checkpoint. Do not silently
|
| 142 |
+
clamp a fixed recipe or apply a recipe to a mismatching checkpoint.
|
| 143 |
+
|
| 144 |
+
The public catalog contains 16 authored starting profiles plus six checkpoint-bound
|
| 145 |
+
experimental recipes. Baseline has no pushes. GPT-4o-inspired and Skippy-inspired names
|
| 146 |
+
do not imply original model weights, endorsement, or validated character fidelity.
|
| 147 |
+
|
| 148 |
+
## Evaluation contracts
|
| 149 |
+
|
| 150 |
+
Concept qualification freezes candidates on discovery before heldout probes. A compact
|
| 151 |
+
label requires at least 20 distinct predicted-positive heldout families, measured precision,
|
| 152 |
+
a 95% Wilson lower bound **strictly above .70**, balanced accuracy at least .80, recall at
|
| 153 |
+
least .75 and performance above the nuisance baseline by more than .05. Probe-family IDs
|
| 154 |
+
do not establish independent natural examples. Report conditional precision, sample count,
|
| 155 |
+
false positives/negatives, and source hashes—not universal semantic confidence.
|
| 156 |
+
|
| 157 |
+
Coherence measures supported facts, missing requirements, contradictions and observable
|
| 158 |
+
collapse. A schema representation mismatch can be unknown instead of a factual failure.
|
| 159 |
+
Do not grade optimism, politeness or a preferred personality as coherence. Free prose is
|
| 160 |
+
not certified by a passing fact ledger. Freeze the selected discovery dose before heldout
|
| 161 |
+
confirmation; a heldout failure must not tune a replacement on that same holdout. Recovery
|
| 162 |
+
operates between full responses, not a proven live-token controller. Interaction tests are
|
| 163 |
+
exploratory until independently confirmed.
|
| 164 |
+
|
| 165 |
+
## Operating a fork
|
| 166 |
+
|
| 167 |
+
- CPU dependencies: `python -m pip install -r requirements-persona.txt` (includes optional
|
| 168 |
+
local NLP tools and a hash-pinned spaCy language model). Analysis-only users can install
|
| 169 |
+
just `datasets huggingface_hub numpy`. Pytest is an additional test dependency.
|
| 170 |
+
- Native model execution requires the separately pinned
|
| 171 |
+
[Flare runtime](https://github.com/Atlas3DSS/flare-local-inference); CPU dependency install
|
| 172 |
+
does not prepare GPU graphs or download Qwen. Check local model caches before downloads.
|
| 173 |
+
- Configure admitted endpoints and model/calibration bindings before launching
|
| 174 |
+
`python persona_explorer.py --config persona_explorer.local.json --port 8792`.
|
| 175 |
+
- Explorer config accepts `nlp_python` (default current interpreter) and
|
| 176 |
+
`overnight_remote: {ssh_host, hostname, remote_root}`. Set your own values; reference
|
| 177 |
+
defaults describe the original fleet, not resources a fork may use automatically.
|
| 178 |
+
- Activation launcher accepts `--config`, `--jobs-config` and optional fleet keys
|
| 179 |
+
`remote_project_root`, `heliopause_path`, `model_path`, `calibration_dir`.
|
| 180 |
+
- Reference multi-card schedulers, GPU leases, thermal checks and memory admission require
|
| 181 |
+
adaptation to your infrastructure. Single-card/multi-request behavior is not qualified by
|
| 182 |
+
the six independent B1 workers. Never remove locks to claim concurrent request safety.
|
| 183 |
+
- Detailed setup: [Explorer guide](https://github.com/Atlas3DSS/Character-Creation/blob/main/PERSONA_EXPLORER.md),
|
| 184 |
+
[porting guide](https://github.com/Atlas3DSS/Character-Creation/blob/main/fork_agent.md).
|
| 185 |
+
|
| 186 |
+
## Publication lifecycle
|
| 187 |
+
|
| 188 |
+
`persona/persona_hub.py` manages the approved synthetic prompt subset.
|
| 189 |
+
`persona/persona_public_bundles.py` prepares source-bound, sanitized evaluation bundles and
|
| 190 |
+
calibration assets; it does not upload them. `persona/persona_hub_research.py` publishes
|
| 191 |
+
verified research batches from read-only capture ledgers.
|
| 192 |
+
|
| 193 |
+
- Metadata watcher polls every five minutes; commits at 500 accumulated records, after
|
| 194 |
+
15 minutes, or when its source run reaches a terminal state. Completed reviewed bundles
|
| 195 |
+
accompany the metadata publication.
|
| 196 |
+
- Raw watcher runs on the capture host and uploads up to 32 original NPZ records per
|
| 197 |
+
immutable tar shard directly to HF. It continues draining the backlog after capture ends.
|
| 198 |
+
- Both verify the pinned remote manifest and uploaded file hashes before advancing durable
|
| 199 |
+
checkpoints. An uncertain commit reconciles its immutable intent; it never reruns inference.
|
| 200 |
+
- Metadata and raw counts are independent. Read `research_raw_manifest.json` for verified
|
| 201 |
+
array coverage even if the dataset card or metadata snapshot has an earlier count.
|
| 202 |
+
- Run without `--publish` to validate policy/source files only. Publication requires an
|
| 203 |
+
explicit local public-release policy binding the exact synthetic corpus and reviewed
|
| 204 |
+
authored sources. Do not replace those checks with a recursive directory upload.
|
| 205 |
+
- Credentials, private books, book-derived token IDs/profiles, arbitrary interactive prompts,
|
| 206 |
+
local configs and proprietary research stay private. Book tiers may contribute aggregate
|
| 207 |
+
progress counts only. Unpublished/failed records remain in the local audit trail.
|
| 208 |
+
|
| 209 |
+
Core CPU validation uses `tests/test_persona_*`; native CUDA qualification is separate and
|
| 210 |
+
requires an admitted GPU/runtime. NLP tests require the pinned spaCy model. Test skipping
|
| 211 |
+
for absent CUDA is not GPU qualification.
|
| 212 |
+
|
| 213 |
+
## Attribution and license boundaries
|
| 214 |
+
|
| 215 |
+
Credit [Lyra / neuron-explorer](https://github.com/lyramakesmusic/neuron-explorer) for the
|
| 216 |
+
foundational steering workflow; this is an independent implementation. Runtime lineage
|
| 217 |
+
and other credits are recorded in the source guide and Flare repository. Synthetic prompts
|
| 218 |
+
are CC BY 4.0. Do not extend that license claim to the upstream checkpoint, derived model
|
| 219 |
+
columns, third-party tools, or private books. Preserve their applicable terms and provenance.
|
README_human.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Character Creation: a practical starting point
|
| 2 |
+
|
| 3 |
+
Character Creation is a workbench for changing an LLM’s behavior through **activation steering**: adding a measured direction or a specific neuron intervention while the model runs. Start with a voice, build a recipe, and compare its answers with an unsteered baseline. A sharper, anxious, playful, or unusually imaginative answer can be an interesting result; sounding pleasant is not the objective.
|
| 4 |
+
|
| 5 |
+
The approach owes substantial methodological credit to [Lyra’s neuron-explorer](https://github.com/lyramakesmusic/neuron-explorer), especially signed interventions, relative doses, and the distinction between observing neurons and changing outputs. Runtime execution uses the separate [Flare implementation](https://github.com/Atlas3DSS/flare-local-inference). This workbench is an independent implementation, not an endorsement by those projects.
|
| 6 |
+
|
| 7 |
+
## Start without a GPU
|
| 8 |
+
|
| 9 |
+
You can inspect prompts, analyze published measurements, and develop evaluation code on an ordinary computer. You do not need to load the model to use the public [Hugging Face dataset](https://huggingface.co/datasets/Atlas3D/character-creation-big-five). The [GitHub repository](https://github.com/Atlas3DSS/Character-Creation) supplies the workbench and analysis code; the Hub repository supplies the public data and published research artifacts.
|
| 10 |
+
|
| 11 |
+
Install the data tools in your own Python environment:
|
| 12 |
+
|
| 13 |
+
```bash
|
| 14 |
+
python -m pip install datasets huggingface_hub
|
| 15 |
+
```
|
| 16 |
+
|
| 17 |
+
Choose a full commit SHA from the dataset’s revision history. Pinning it makes your analysis repeatable even as more evidence is published. Streaming avoids downloading the entire prompt collection:
|
| 18 |
+
|
| 19 |
+
```python
|
| 20 |
+
from itertools import islice
|
| 21 |
+
from datasets import load_dataset
|
| 22 |
+
|
| 23 |
+
REVISION = "REPLACE_WITH_A_FULL_HUB_COMMIT_SHA"
|
| 24 |
+
rows = load_dataset(
|
| 25 |
+
"Atlas3D/character-creation-big-five",
|
| 26 |
+
name="default", split="train",
|
| 27 |
+
revision=REVISION, streaming=True,
|
| 28 |
+
)
|
| 29 |
+
for row in islice(rows, 3):
|
| 30 |
+
print(row["id"], row["prompt"])
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
The default collection contains synthetic discovery scenarios. Its trait and facet labels describe the prompt-generation assignment, not validated personality scores. The loader calls this split `train`; that does not turn it into an independently held-out evaluation set.
|
| 34 |
+
|
| 35 |
+
## Know which evidence you downloaded
|
| 36 |
+
|
| 37 |
+
Read `research_manifest.json` at your pinned revision for published record counts, immutable batches, IDs, and hashes. Read `research_raw_manifest.json` separately for verified raw-array shard coverage. These counts can differ: a metadata record does not prove its raw arrays have finished uploading. Follow the listed shard and entry manifests rather than assuming a directory is complete. Check hashes before joining artifacts to prompts.
|
| 38 |
+
|
| 39 |
+
There are three important distinctions:
|
| 40 |
+
|
| 41 |
+
- **Prefill activation search** measures the encoded prompt, including chat-template tokens. It reduces observations across all covered MLP neurons and prompt positions into each neuron’s signed peak, peak position, and sum of absolute activations. This is **not a stored all-neuron-by-all-token matrix**.
|
| 42 |
+
- **Selected token profiles** retain a small selected set of neurons’ values at individual prompt positions. These profiles explain selected candidates; they do not supply trajectories for every neuron.
|
| 43 |
+
- **Full-answer comparisons** contain generated responses and completion status. Baseline answer captures retain final-prefill arrays, not every neuron’s activation throughout the answer. A prefill-only observation cannot substitute for a completed response comparison.
|
| 44 |
+
|
| 45 |
+
Use coverage and completion fields, not the size of the prompt collection, to describe what was actually measured. Retain failed, interrupted, or truncated outcomes in your analysis instead of quietly counting them as successful answers.
|
| 46 |
+
|
| 47 |
+
## Run the workbench with your model
|
| 48 |
+
|
| 49 |
+
Actual steering requires a compatible checkpoint, its calibrated assets, the appropriate Flare environment, and configured inference endpoints. Follow [the Explorer guide](https://github.com/Atlas3DSS/Character-Creation/blob/main/PERSONA_EXPLORER.md) for setup and [the porting guide](https://github.com/Atlas3DSS/Character-Creation/blob/main/fork_agent.md) for another machine. There is no promise that a repository clone alone prepares a model.
|
| 50 |
+
|
| 51 |
+
Use the Hugging Face `hf` CLI to download the specific calibration assets listed for your chosen publication revision. For example, replace both placeholders with reviewed values:
|
| 52 |
+
|
| 53 |
+
```bash
|
| 54 |
+
hf download Atlas3D/character-creation-big-five ASSET_FILENAME \
|
| 55 |
+
--type dataset --revision FULL_COMMIT_SHA --local-dir calibration
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
Calibration must match the **same checkpoint identity**, including the relevant revision, quantization and runtime preparation. Renaming a checkpoint does not make another model’s calibration compatible. Missing compatible assets mean you must calibrate your own checkpoint; do not bypass identity checks.
|
| 59 |
+
|
| 60 |
+
After configuring your endpoints and local settings, start the repository’s app wrapper:
|
| 61 |
+
|
| 62 |
+
```bash
|
| 63 |
+
python persona_explorer.py --config persona_explorer.local.json --port 8792
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
Open `http://127.0.0.1:8792`. Use the compact workspace picker to move between Persona Studio, recipe experiments, activation search, and evidence views. In the map, **View controls** exposes geometry and connection options; **Expand map** gives the visualization more room. Those display controls do not run inference.
|
| 67 |
+
|
| 68 |
+
Build a candidate recipe, then compare it against baseline using the same prompts, seed, and answer budget. Check several scenarios before describing a repeatable effect. Distinguish association, weight-based suggestions, and tested interventions.
|
| 69 |
+
|
| 70 |
+
## Read results with the right limits
|
| 71 |
+
|
| 72 |
+
A calibrated concept label requires held-out evidence, including a **95% Wilson precision lower bound above 70%**, plus the qualification’s recall, coverage, and balanced-accuracy checks. That is conditional performance on authored text probes—not a universal probability that a neuron “means” a word. Discovery examples select candidates; held-out examples evaluate frozen choices. Neither activation magnitude nor label direction establishes the sign of a useful steering intervention.
|
| 73 |
+
|
| 74 |
+
Coherence checks target supported facts, missing required details, contradictions, incomplete outputs, and repetition. They do not reward a positive personality. Passing a structured fact ledger does not certify all accompanying prose; fiction may intentionally introduce details.
|
| 75 |
+
|
| 76 |
+
Private books, extracted passages, arbitrary user prompts, credentials, and local deployment settings are not shipped. Public prompts are licensed **CC BY 4.0**; retain attribution. Derived checkpoint assets retain applicable upstream terms—publishing a measurement does not relicense the underlying model. Consult the manifests and asset notices before redistribution.
|
layer_00.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7d06d7f3f173268f0367a571175ee3e15ada6493610e528c05ee192483f5d1a5
|
| 3 |
+
size 205470
|
layer_01.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9eeff380e2adbb54b113a15aa24420809bd571c02e0c1a3cfa75b97d2567a29e
|
| 3 |
+
size 192003
|
layer_02.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ee037aca87bd75b55c3079ce6ae358fe34e7aa0364a9eec73592bad00f48910f
|
| 3 |
+
size 198335
|
layer_03.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:504fd37c56553a0d2f5949a111e56f402326c5166f397b567c8e8ae0eac455c6
|
| 3 |
+
size 204509
|
layer_04.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:843d9498d2ecb487c8405b43e0f055de38c2db74eba12b26617fe78cce2ff608
|
| 3 |
+
size 218402
|
layer_05.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b12375e36ecb461735027c24f9bd03850a2ca92fc003d184a330171b26ef5911
|
| 3 |
+
size 204565
|
layer_06.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0d08a7632420cc6266d0d90dc48eaf5e12264f88dc80c4362dc901c99ab9b53
|
| 3 |
+
size 257435
|
layer_07.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:16a24f559b75b2f36d132fa76efd7ac51b22f9db7a4b18a16da2b4032ba286a5
|
| 3 |
+
size 273722
|
layer_08.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:718196e419bd3828ed21fc2a0928669c730835f4420c11c97d8385a58709ca1a
|
| 3 |
+
size 262472
|
layer_09.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8927b22a049f9c900e5d032ec420f2c313b633260c13e687e9c17d8859a1e2cf
|
| 3 |
+
size 247914
|
layer_10.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d7c893ca4320055487d473605f74d00a395cd0c70a2d5c9e26e8a99aed083269
|
| 3 |
+
size 301730
|
layer_11.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:97aa85a347acf66e93d0348c35701e64f955cd4b0a218f2a19322a64a7d89f21
|
| 3 |
+
size 261907
|
layer_12.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b7b25837e22e74bb5b3a2ebd4d5d16a543305a33b9d27b111c11af18571d2c0a
|
| 3 |
+
size 245195
|
layer_13.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70c9b56987c4e8cd32e047500ad382ca441b858273a19b94da7027bbf922ea93
|
| 3 |
+
size 197653
|
layer_14.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dbc8af4e502a1911a6758a877c93b92e85e8bb2991c84a009ad5f053ccfa468f
|
| 3 |
+
size 250092
|
layer_15.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76caf39f0f9427ec90122161b8bf61bbc3475b7c9eca7aa59199bf1d5b63241c
|
| 3 |
+
size 261301
|
layer_16.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:02c1c2b6acaa6e1da5337d483e47ec5fbffabbc7434a4fb7b3b4fef2c1130a57
|
| 3 |
+
size 274984
|
layer_17.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:75bc77ff03dcef39081526977ed4af6d4bded79cf8d12990c342c7f583b5a4dd
|
| 3 |
+
size 240783
|
layer_18.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a48d6d7779fbfb23fa32c90c4ae36c6f1c9cb1c87c9bd578f7a0dab16ac86e7
|
| 3 |
+
size 267758
|
layer_19.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71c5a8a6566704c6d1fdafb61c3bdca5e8d2a23903b5bbdf6b11f01900de9454
|
| 3 |
+
size 255654
|
layer_20.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:354549f996a504485af5cc695f72aac02b923ba974b1be3a97ec1f6ef43eefce
|
| 3 |
+
size 236642
|
layer_21.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9624a6e3ec45c759c794e4ae9c44997644fc8e58f2033dc61bdbe1b927ce338a
|
| 3 |
+
size 257016
|
layer_22.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9930af0326e2f364c02f1567dfbc86118df46fee0b888cf7a7f3decd36982d79
|
| 3 |
+
size 208656
|
layer_23.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:19e19593e56695b94b12026f47b77f8575ddb3d31289a14e61faf30b56fb168c
|
| 3 |
+
size 245629
|
layer_24.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5221492e408721a13dc27e18c491c5242fab5ca3ca4ad66d764de5e4a8392774
|
| 3 |
+
size 212521
|
layer_25.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c09f754162e38d650fb9c8a0e37095f5e76e35f2b75aec8ec4683a97e73be39e
|
| 3 |
+
size 246272
|
layer_26.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:440909fba92e57bc5f2a186af560b1e299de931005beaf846cbfa8376f448582
|
| 3 |
+
size 244793
|
layer_27.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d51f73ac2cf6bec55832a295a1c5ec9119e7b5143b2829904bebfa0a49a4c46b
|
| 3 |
+
size 280182
|
layer_28.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a321eb6a3a0a945111a901312d7511e5f90682bb9352fca51cb1520d1e362e13
|
| 3 |
+
size 231725
|
layer_29.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e77b4251f3007aebaf8f05539554bb11344687d9c1ad3868b2152a1b975be85
|
| 3 |
+
size 251835
|
layer_30.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4adb9ecf561a61f8873f91fa3c28c47d9ae43af48dde2bda71b7c82d6df3f3d3
|
| 3 |
+
size 238321
|
layer_31.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f88b6e7ea450c7caf1b04da8841c79f324e372bc35b52cbb5d4a80586ccc0ba
|
| 3 |
+
size 266427
|
layer_32.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:640d6ef9bc782b7a100b16d068c9cf025e143f6976008167cf448990c24af4b6
|
| 3 |
+
size 260431
|
layer_33.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ffa190f2bc44542e723d40f4ae604aea8ef290263f0d67918e59a8b476948d19
|
| 3 |
+
size 200796
|
layer_34.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a35a9274294a8220046bc3207dd42fef2c4b6cda4d1c7fc974fea2e901115a4
|
| 3 |
+
size 285950
|
layer_35.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5495a50584bf3dfbae2257bce9409eb90aaadc9e764d4827cf95d3d0a0375a20
|
| 3 |
+
size 296393
|
layer_36.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:710b80ceb6608c1166d29abde70d6c8c78f251956216c8f5c53e4b776cadc4e2
|
| 3 |
+
size 275931
|
layer_37.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8544456397cc8cd29ea4fa3f4faef12cec431393569e1c6ddd5d9f50f7696367
|
| 3 |
+
size 289767
|
layer_38.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ecc3e8fd5d6c086252499d062beecf580ab025024f80328fab07b4c704b8d601
|
| 3 |
+
size 255768
|
layer_39.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e57a51401994c3a6c5a59ec02eca13edf7fdd038f45db1eea3d4786bcdfa70a4
|
| 3 |
+
size 296498
|
layer_40.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c714f3c782720c27be98d81afcd8c0d5451ae830afcea489cdf509c4b7f0c405
|
| 3 |
+
size 275695
|
layer_41.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:40ad167de38f1841855c53fded5d4fb7ce41fe45b4f6b9d892ad6d6fdebdf5f1
|
| 3 |
+
size 256928
|
layer_42.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8598afafe4f97f324be456b3ad127faa413893d80e7e43318d2029f732ac0b4d
|
| 3 |
+
size 255819
|
layer_43.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d621643d5611217e0f4bf17aa344be62ced65a379886a5795a1484e585b4db6c
|
| 3 |
+
size 283843
|
layer_44.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:14669a175804ee5dbc640e44f226a1c507a7d3721c6994c437abf2870110a27e
|
| 3 |
+
size 269006
|
layer_45.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a0b6a9e33eaab0b298028c83d89ed713c63a22be8d5090473bc0be8d3618b4bc
|
| 3 |
+
size 240614
|
layer_46.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:54048cc05d15dccfa797a8aa55b24752253c4493c323a9ab38dabdd4267e312e
|
| 3 |
+
size 256747
|
layer_47.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1dfd5ea886a6b1b2074ae403b206b09a68643d89c16c232b964bffb52870ca26
|
| 3 |
+
size 248848
|