Downloads · 30 days
0
TmiTmi1999/glp-surprise-steering-llama3.2-1b
glp-surprise-steering-llama3.2-1b is a machine learning model from TmiTmi1999. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as llama3.2.
This package contains two unit-normalized residual-stream directions:
Downloads · 30 days
0
Access
Public
Updated Aug 23, 2026
Repo size
17 KB
Likes
0
Public
Click a slice to open those files.
.safetensors17 KB · 75%
From the Hugging Face model README
This package contains two unit-normalized residual-stream directions:
raw_direction: the original GoEmotions DiffMean direction;selected_direction: the direction selected from an offline Generative
Latent Prior trajectory.They target the residual stream after zero-based decoder layer 7 of
unsloth/Llama-3.2-1B / meta-llama/Llama-3.2-1B. The recommended direct
steering amplitudes are stored in the safetensors metadata and in
selection.json.
On 512 untouched prompts with greedy 20-token continuations, the selected direction was within the preregistered $\pm 0.05$ concept-equivalence margin relative to raw steering and reduced conditional NLL by 0.803:
| Metric, candidate minus raw | Estimate | 95% paired bootstrap interval |
|---|---|---|
| Surprise classifier score | -0.0248 | [-0.0458, -0.0037] |
| Conditional NLL | -0.8026 | [-0.8384, -0.7675] |
| Repeated 3-gram fraction | -0.0034 | [-0.0176, 0.0109] |
The candidate used an angle of $43.27^\circ$ from the raw direction and a direct amplitude of 2.122, versus 5.123 for raw steering. It removed about 77% of the extra NLL introduced by the raw intervention.
from safetensors.torch import load_file
directions = load_file("surprise-steering-directions.safetensors")
raw = directions["raw_direction"]
selected = directions["selected_direction"]
Apply selected_alpha * selected_direction to the residual stream after layer
7. The checkpoint does not contain Llama weights and does not require GLP at
inference time.
This is a task-specific research artifact, not a universal steering denoiser.
The search pipeline can abstain and return the raw vector when confirmation
fails. The result was tested on one 1B model, one layer and greedy decoding.
Concept strength is operationally defined by the fixed
SamLowe/roberta-base-go_emotions classifier on completion-only text.
See the repository REPORT.md for the full method, cross-concept results,
negative cases and reproducibility details.
Full report and source code: Tmi-creator/offline-glp-steering.