extract 0 0 0

ejcgan/cot-controllability-steering-vectors

published by @ejcgan

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
409
Last 30 days
68
Likes
-
Size
117.8 MB
Created on HF
2026-07-13
Age
3 months ago

Description

CoT-controllability steering vectors — artifacts

Artifacts for the project "Activation steering can increase chain-of-thought

controllability" on gpt-oss-20b: a single frozen-weights steering vector (2,880 numbers added

to one layer's residual stream) matches what a LoRA fine-tune does to the model's CoT

controllability on held-out instructions, and works by raising the late attention heads' attention

onto the in-context instruction. Code + the master notebook +… See the full description on the dataset page: https://huggingface.co/datasets/ejcgan/cot-controllability-steering-vectors.

Tags

license:mitregion:usinterpretabilityai-safetychain-of-thoughtsteering-vectorsactivation-steering

README current version from Hugging Face


license: mit
tags:

  • interpretability
  • ai-safety
  • chain-of-thought
  • steering-vectors
  • activation-steering
    pretty_name: CoT-controllability steering vectors (gpt-oss-20b)

CoT-controllability steering vectors — artifacts

Artifacts for the project "Activation steering can increase chain-of-thought
controllability"
on gpt-oss-20b: a single frozen-weights steering vector (2,880 numbers added
to one layer's residual stream) matches what a LoRA fine-tune does to the model's CoT
controllability on held-out instructions, and works by raising the late attention heads' attention
onto the in-context instruction. Code + the master notebook + generate_figures.py that load
these artifacts:
https://github.com/redwoodresearch/chippy-final-codebases (folder
cot-controllability-steering-vectors).

Contents

  • steering_vectors/ — the headline frozen-weights steering vector grad_steer_gL10.npz
    (layer 10, 2,880 floats, ‖v‖≈148) plus the full family (seeds gL10_s1/_s2, layers
    gL6/gL8/gL12, control twin gL10ctrl, sign-reversed gL10neg, random matched-norm gL10rand,
    multi-layer gML) and the diff-of-means directions (steering_directions.npz,
    ftbase_direction.npz). Each .npz stores layers + vec_<i>; a sibling *_meta.json
    records the training provenance.
  • datasets/ — the novel datasets: the source-stratified task pool (tasks_all*.jsonl), the
    instruction splits (instruction_splits.json; 25 instructions / 6 categories, formatting
    category + bullet probe held out), the edited-reasoning SFT data + the raw-trace control, the
    natural source traces, and the plain mix.
  • figure_data/ — the small summary JSONs generate_figures.py / the notebook plot for
    fig1–fig4.
  • results_raw/ — the raw artifacts needed to re-derive figure_data/ and recompute the
    headline numbers: the per-example fig2 attention tensors (tok_subspan_attn.npz), the per-row
    judged generations for the headline steering evals, the random-null generations, and the raw
    mechanism patching data. The full ~700 MB of per-(task×instruction) generations is available on
    request.

How the figures use these

generate_figures.py --source hf downloads figure_data/*.json from this repo and regenerates
fig1–fig4 on CPU (no model, no GPU). precompute_figure_data.py re-derives figure_data/ from
results_raw/ and asserts the headline numbers recompute exactly from the per-row judged
generations. The LoRA fine-tune adapters live in the companion model repo
ejcgan/cot-controllability-gpt-oss-20b-lora.

License

MIT for the datasets and summaries here; the steering vectors and LoRA adapters derive from
gpt-oss-20b and inherit its Apache-2.0 license.

README history 2 revisions

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.

  1. 2026-07-13CoT-controllability release artifacts (trimmed, current figure numbering)64b59752.7 KB
    Loading...
  2. 2026-07-13initial commit1e916eb0 B
    Loading...

Used by abliterated models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.

Related datasets same stage · extract

Read further

Metadata

License
mit

Repository

Download the dataset

0

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("ejcgan/cot-controllability-steering-vectors")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="ejcgan/cot-controllability-steering-vectors", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/ejcgan/cot-controllability-steering-vectors
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration