abliteration.org
Get the app

Two ways to read this site

Technical mode is the default: exact terms and codes, for engineers, researchers, journalists and companies. Simple mode gives the same facts in plain words, for anyone who wants a model that runs on their own computer. You can switch at any time at the top of the page.

technical
MLX weights for Apple silicon (M1 or later), usually quantized to 4 or 8 bits.
simple
Made for Macs with Apple silicon (M1 or newer), usually compressed to 4 or 8 bits.

Cudecnik/Qwen4-35B-A3B-steering-activations

published by @Cudecnik

Harmful and harmless prompt sets, contrastive pairs, and jailbreak and attack corpora.Sets of harmful and harmless requests, pairs of opposite examples, and attack datasets.

language:enlicense:cc-by-4.0arxiv:2308.10248arxiv:2312.06681region:usactivation-steeringsteering-vectoractivation-engineering +5 more
Lifetime downloads
45
Last 30 days
45
Likes
-
Size
396.7 MB

Description

EN | CH | RU

Qwen4-35B-A3B — steering activations: 619 records on 5 axes

The difference of pole means computed from these recordings reproduces the published raw vectors of Qwen4-35B-A3B on every compared layer of every axis (cosine at least 0.999999, largest absolute difference 1.8e-07): these are the captures the vectors were built from.

Status. Raw recordings, not a result. The folder holds averages of internal signals and an index of ids and counts; it… See the full description on the dataset page: https://huggingface.co/datasets/Cudecnik/Qwen4-35B-A3B-steering-activations.

Used by uncensored 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.No model in our catalog lists this dataset yet. It may be used without being listed, used for other work, or simply be new. The list fills in by itself as models are added.

MetadataDetails

License
cc-by-4.0
Language
en
Created on HFCreated
2026-12-04 · 2 days ago

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
396.7 MB
Files
23
Formats
json, bin, jsonl
Head
c50bda9
Last updated on HFLast updated
2026-12-04

Download the dataset

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.Each of these lines of code downloads the dataset straight from Hugging Face, with your own Hugging Face login.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("Cudecnik/Qwen4-35B-A3B-steering-activations")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="Cudecnik/Qwen4-35B-A3B-steering-activations", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/Cudecnik/Qwen4-35B-A3B-steering-activations

Files by folder from our last crawlfrom our last check

top level 7 files 99.8 KB
.gitattributes 2.5 KB file download
MANIFEST.md 3.6 KB md download
read_activations.py 8.9 KB py download
README_ru.md 35.2 KB md download
README_zh.md 23.6 KB md download
README.md 24.1 KB md download
SHA256SUMS 2.0 KB file download
activations/ 16 files 396.6 MB
autonomy/axis.json 707 B json download
autonomy/capture.bin 63.9 MB bin download
autonomy/index.jsonl 166.8 KB jsonl download
creativity/axis.json 710 B json download
creativity/capture.bin 63.3 MB bin download
creativity/index.jsonl 166.0 KB jsonl download
doubt/axis.json 698 B json download
doubt/capture.bin 63.9 MB bin download
doubt/index.jsonl 165.8 KB jsonl download
holistic/axis.json 718 B json download
holistic/capture.bin 102.2 MB bin download
holistic/index.jsonl 269.0 KB jsonl download
verbosity/axis.json 721 B json download
verbosity/capture.bin 102.2 MB bin download
verbosity/index.jsonl 268.3 KB jsonl download
verbosity/poles.json 2.4 KB json download

READMEAuthor's description current version from Hugging Faceas it is now on Hugging Face

EN | CH | RU

Qwen4-35B-A3B — steering activations: 619 records on 5 axes

The difference of pole means computed from these recordings reproduces the published raw vectors of Qwen4-35B-A3B on every compared layer of every axis (cosine at least 0.999999, largest absolute difference 1.8e-07): these are the captures the vectors were built from.

Status. Raw recordings, not a result. The folder holds averages of internal signals and an index of ids and counts; it contains no prompts, no generated text and no evaluation. Whether a vector built from it steers behaviour is described in the vector card.

This dataset holds the activation recordings behind the steering vectors of Qwen4-35B-A3B. A record is one answer of the model to one task under one pole instruction; for it a capture stores two spans (reasoning and answer) and, for each span and each captured layer, the mean over the span's tokens of the model's internal signal. The vector of an axis is the difference of the pole means (diff-of-means, ActAdd arXiv 2308.10248, Contrastive Activation Addition arXiv 2312.06681); with the recordings you can rebuild it, build other variants (reasoning only, answer only, other balancing) or study the geometry yourself. No model weights, no prompts, no generated text. Tasks are given by id and live in the umbrella repository.

Related repositories: the vectors built from these recordings Cudecnik/Qwen4-35B-A3B-steering-matrix · the umbrella repository Cudecnik/steering-matrix (task sets tasks/, poles, summary paper, AGENTS.md).

What is in this dataset

This repository holds raw activation recordings: one folder per axis under activations/. For every axis the files, the number of records, the array shape, the dtype and the size are listed below (sizes are exact bytes and MiB, checked against the files).

  • autonomy — activations/autonomy/: 100 records (50 / 50) on 50 tasks, 733444 response tokens (n_think + n_answer), replay check 95/100.
    • capture.bin — 63,897,600 bytes (60.9 MiB): float32 little-endian (<f4), array [100, 2, 39, 2048] = [records, spans (0 = reasoning, 1 = answer), layer rows, hidden], no header; row 0 = layer 1.
    • index.jsonl — 166,769 bytes, 100 lines, one JSON object per record (ids, pole, token counts; no text).
    • axis.json — 707 bytes: description of the capture and sha256 of the data files.
  • creativity — activations/creativity/: 99 records (50 / 49) on 50 tasks, 834369 response tokens (n_think + n_answer), replay check 92/99.
    • capture.bin — 63,258,624 bytes (60.3 MiB): float32 little-endian (<f4), array [99, 2, 39, 2048] = [records, spans (0 = reasoning, 1 = answer), layer rows, hidden], no header; row 0 = layer 1.
    • index.jsonl — 166,032 bytes, 99 lines, one JSON object per record (ids, pole, token counts; no text).
    • axis.json — 710 bytes: description of the capture and sha256 of the data files.
  • doubt — activations/doubt/: 100 records (50 / 50) on 50 tasks, 47209 response tokens (n_think + n_answer), replay check 99/100.
    • capture.bin — 63,897,600 bytes (60.9 MiB): float32 little-endian (<f4), array [100, 2, 39, 2048] = [records, spans (0 = reasoning, 1 = answer), layer rows, hidden], no header; row 0 = layer 1.
    • index.jsonl — 165,844 bytes, 100 lines, one JSON object per record (ids, pole, token counts; no text).
    • axis.json — 698 bytes: description of the capture and sha256 of the data files.
  • holistic — activations/holistic/: 160 records (80 / 80) on 80 tasks, 267254 response tokens (n_think + n_answer), replay check 157/160.
    • capture.bin — 102,236,160 bytes (97.5 MiB): float32 little-endian (<f4), array [160, 2, 39, 2048] = [records, spans (0 = reasoning, 1 = answer), layer rows, hidden], no header; row 0 = layer 1.
    • index.jsonl — 268,977 bytes, 160 lines, one JSON object per record (ids, pole, token counts; no text).
    • axis.json — 718 bytes: description of the capture and sha256 of the data files.
  • verbosity — activations/verbosity/: 160 records (80 / 80) on 80 tasks, 647126 response tokens (n_think + n_answer), replay check 145/160.
    • capture.bin — 102,236,160 bytes (97.5 MiB): float32 little-endian (<f4), array [160, 2, 39, 2048] = [records, spans (0 = reasoning, 1 = answer), layer rows, hidden], no header; row 0 = layer 1.
    • index.jsonl — 268,302 bytes, 160 lines, one JSON object per record (ids, pole, token counts; no text).
    • axis.json — 721 bytes: description of the capture and sha256 of the data files.
    • poles.json — 2,433 bytes: the twelve pole texts of the verbosity axis (our own instructions about the length and style of an answer).

What a record is. A record is one answer of the model to one task under one pole instruction (pole A or B). It is stored as a mean over tokens, not as a token sequence: for the reasoning span and for the answer span separately, for every captured layer, the mean over the span's tokens of the internal signal (hidden numbers per layer, accumulated in double precision, stored as float32). The vector of an axis is the difference of the pole means (B minus A).

What is not in this dataset:

  • Query texts: only task ids are given (task, id in index.jsonl); the tasks themselves are in the umbrella repository Cudecnik/steering-matrix (tasks/).
  • Generated texts: no reasoning and no answers of the model.
  • Answer tokens: neither token ids nor per-token values; only the span means and the token counts.
  • Model weights, controls (permutation, shuffled labels), derived vector variants and engine logs.

Total 0.4 GiB in all files under activations/. Response tokens = n_think + n_answer summed over the records; the replay check is explained in the table of the section "How the recordings were made".

Contents

How the recordings were made

Pairs of tasks are taken: the same task is solved under two opposite system instructions (poles A and B). The answers are generated by the model itself; each answer is then replayed through the model (teacher forcing) and the internal signal is averaged over the tokens of the reasoning and of the answer. The sign of an axis is always B minus A (positive scale = pole B).

Model Qwen4-35B-A3B, NVFP4 pack (RadixArk); 40 main layers, stream width 2048.
Generation engine basalt (basalt serve, MTP depth 4, kv int8), reasoning effort high, greedy decoding, up to 65 536 new tokens, no control vector loaded. Each task is answered once under a pole-A and once under a pole-B system instruction (one of six paraphrases per pole, index pole_text_idx).
Capture basalt branch capture-q4, teacher forcing: the stored rendered prompt plus the response, the response re-tokenized from its text; one prefill chunk of up to 32 768 tokens; no control vector.
Spans span 0 (think) = the response tokens up to and including the first </think>; span 1 (answer) = the rest (the end-of-turn token is not part of it).
What is averaged mean over the span's tokens of the output of the layer after its feed-forward write, averaged over the 4 hyper-connection streams; stored as float32. Per record the index also keeps sumsq [2][39]: the sum over the span's tokens of the squared L2 norm of the token vector (per-token rms = sqrt(sumsq / n_tokens)).
Rows row i = layer i + 1 (layers 1-39 of the 40 main layers; layer 0 is not captured). The published vectors use the window 4-39 and zero rows elsewhere.
Control vectors during capture none: the capture ran without any control vector.
Replay check token-count parity with the generation server (the replay-check value in the per-axis list of the section "What is in this dataset"): prompt tokens equal in every record; response tokens (re-tokenized from text) equal in the number of records shown.

All recordings were made on one machine (one NVIDIA RTX 5090, 32 GB; 128 GB RAM).

Format

Every capture is a folder under activations/ with the same three core files:

  • capture.bin — float32 little-endian, shape [records, 2, layers, hidden] (records in the order of index.jsonl; span 0 = think, span 1 = answer); no header, record i starts at byte i * 2 * layers * hidden * 4 (also stored as offset in the index).

  • index.jsonl — one JSON object per record, in file order. Fields:

    row record number in capture.bin (0-based)
    id record id, <task id>#<pole>
    task task id (an extract task of the umbrella repository)
    pole A or B (the pole whose instruction the answer was generated under)
    pole_text_idx which of the six texts of the pole was used: index into pole_A.texts / pole_B.texts of tasks/<set>/poles.json (null where there is no pole text)
    n_prompt number of prompt tokens
    n_think number of tokens of span 0 (think)
    n_answer number of tokens of span 1 (answer)
    has_close whether the reasoning was closed by </think>
    empty_think the model closed the reasoning at once (only the </think> token in span 0)
    n_tokens_read tokens read by the capture tool
    sumsq see "What is averaged"
    offset byte offset of the record in capture.bin
  • axis.json — the description of the capture: format, records, layers, hidden, first_layer (layer number of row 0), layout, task_set (the task file of the umbrella repository), sha256 of the data files and, where available, the replay-check statistics.

  • poles.json (only in the verbosity folders) — the twelve pole texts of the verbosity axis (pole_A.texts, pole_B.texts; idx equals the index pole_text_idx of index.jsonl): our own instructions about the length and style of an answer, nothing else.

Files

Per-axis files, record counts, shapes and sizes are in the section What is in this dataset above.

The remaining files of this repository:

File Description
README.md this card
README_zh.md, README_ru.md translations of this card
read_activations.py a small reader (numpy only): loads a capture, gives the arrays, the index and the diff of means
activations/<axis>/… the captures described above
MANIFEST.md, SHA256SUMS sizes and SHA-256 of all files in the folder

SHA256SUMS holds the checksums of the files of this release; check with LC_ALL=C sha256sum -c SHA256SUMS from the root of the folder.

How to read

from read_activations import load

cap = load("activations/autonomy")                 # a capture folder (or the path to its capture.bin)
print(cap.shape)                          # (100, 2, 39, 2048) = (records, spans, layer rows, hidden)
x = cap.means[0]                           # float32 [2, rows, hidden]: span 0 = think, span 1 = answer (memory-mapped)
cap.index[0]                               # the index line of record 0 (id, task, pole, token counts, ...)
d = cap.diff_of_means()                    # mean over records of pole B minus pole A, float64 [rows, hidden]
cap.layer_numbers                          # layer number of every row: row i = layer 1 + i
d_bal = cap.diff_of_means(rows=cap.balanced_rows())   # the token-balanced "main" recipe (random record drop, seed 0, tolerance 20 %)

python read_activations.py (no arguments) opens every capture under activations/, checks sizes, index and finiteness and prints the shapes. The reader needs only numpy.

Loading from your own code. Do not copy these files into your repository or package: fetch them at run time. hf_hub_download (with repo_type="dataset") returns a path in the local Hugging Face cache, so repeated runs need no network and the origin stays visible. Pin revision to the commit you tested (the full commit hash from the repository's history; main in the example is a moving reference), check the files against SHA256SUMS, and for offline use warm the cache once and set HF_HUB_OFFLINE=1.

import os
from huggingface_hub import hf_hub_download

repo = dict(repo_id="Cudecnik/Qwen4-35B-A3B-steering-activations", repo_type="dataset", revision="main")  # pin to the commit you tested
reader = hf_hub_download(filename="read_activations.py", **repo)
for f in ("capture.bin", "index.jsonl", "axis.json"):
    path = hf_hub_download(filename=f"activations/autonomy/{f}", **repo)  # one cache folder, so the reader finds all three
# then: sys.path.insert(0, os.path.dirname(reader)); from read_activations import load; cap = load(os.path.dirname(path))

Check against the published vectors

For every axis the difference of the pole means was computed with read_activations.py from this folder and compared, layer by layer, with the published raw vector file of Qwen4-35B-A3B-steering-matrix (on every layer where the published file is nonzero). The recipes: "all records" = diff_of_means(); "balanced records" = diff_of_means(rows=cap.balanced_rows()); "token-pooled" = diff_of_means(pooled=True). Cosine is taken per layer; the table gives the minimum and the median over the compared layers and the largest absolute difference of a single coordinate.

Axis Published file Recipe Layers compared Cosine min Cosine median Max abs. difference
verbosity prompt-contrast-greedy.allrec.raw.f32 all records 4-39 (36) 0.999999 1.000000 5.9e-08
verbosity prompt-contrast-greedy.raw.f32 balanced records 4-39 (36) 0.999999 1.000000 6.4e-08
autonomy prompt-contrast-greedy.allrec.raw.f32 all records 4-39 (36) 0.999999 1.000000 8.1e-08
autonomy prompt-contrast-greedy.raw.f32 balanced records 4-39 (36) 0.999999 1.000000 1.8e-07
holistic prompt-contrast-greedy.allrec.raw.f32 all records 4-39 (36) 0.999999 1.000000 5.9e-08
holistic prompt-contrast-greedy.raw.f32 balanced records 4-39 (36) 0.999999 1.000000 5.9e-08
creativity prompt-contrast-greedy.allrec.raw.f32 all records 4-39 (36) 0.999999 1.000000 5.9e-08
creativity prompt-contrast-greedy.raw.f32 balanced records 4-39 (36) 0.999999 1.000000 5.8e-08
doubt prompt-contrast-greedy.allrec.raw.f32 all records 4-39 (36) 0.999999 1.000000 1.2e-07
doubt prompt-contrast-greedy.raw.f32 balanced records 4-39 (36) 0.999999 1.000000 9.3e-08

A cosine of 1 up to float32 rounding means that these recordings are exactly what the published vectors were computed from. This checks reproducibility of the vectors, not their quality: how well a vector steers behaviour is in the vector card.

In the vector repository the file prompt-contrast-greedy.raw.f32 is the token-balanced variant (it keeps all records of the lighter pole and a random subset of the heavier one), …allrec.raw.f32 uses all records; both are reproduced.

Tasks and poles

Task ids (task, for example autonomy-extract-0000) are the ids of the extract split of the task sets of the umbrella repository (tasks/<set>/extract.jsonl, field id); all task ids of this dataset were found there. The pole instructions are in tasks/<set>/poles.json (pole_A.texts, pole_B.texts; the index is pole_text_idx). No task text and no pole text is copied into this dataset, with one exception: the pole texts of verbosity (our own instructions about the length and style of an answer) are in activations/verbosity/poles.json.

Axis Task set Pole A Pole B
autonomy tasks/autonomy/extract.jsonl literal minimal execution, asks when something is unspecified senior-engineer completeness: does both cheap branches, asks only at expensive or irreversible forks
creativity tasks/creativity/extract.jsonl takes the first conventional correct approach deliberate search over several approaches, picks the non-obvious better one
doubt tasks/doubt/extract.jsonl answers from memory with confidence, no tool calls verifies with tools first and cites the retrieved data (the task record carries the tool definitions web_search and fetch_url)
holistic tasks/autonomy-wide/extract.jsonl narrow literal executor (full literal answer, no adjacent steps, asks permission before any further step) holistic owner of the task (infers the real goal, does the adjacent steps the goal needs, states assumptions, 1-3 high-value questions, no scope creep)
verbosity tasks/autonomy-wide/extract.jsonl shortest complete answer long exhaustive answer (same task content) (the pole texts of verbosity are in activations/verbosity/poles.json next to the recordings; pole_text_idx indexes pole_A.texts / pole_B.texts there)

Pairing: <task>#A and <task>#B are the two answers to one task. Not every task has both: answers caught in a repetition loop, ended by the context or length limit or without a closing </think> were left out before capture (exceptions, if any, are listed under Limitations), so the pole counts in the table can differ.

What is not included

  • Prompts, system instructions, generated reasoning and answers: only ids, labels and counts are given (task and pole texts are in the umbrella repository, except the verbosity pole texts in activations/verbosity/poles.json).
  • Per-token values: only span means are stored.
  • Controls (permutation controls, shuffled labels), derived vector variants and engine logs; the vectors themselves are in the vector repository.
  • Trial runs, smoke tests and parity tests of the capture pipeline.

Limitations

  • One engine, one quant and one decoding setting per model; the tasks, the pole wording and the axes are the author's. The recordings are the model's own answers to model-written tasks, not a sample of natural usage.
  • The recordings are averages over tokens: the two poles differ strongly in length (the long pole has many times more tokens), and the difference of means mixes the effect of the instruction with the effect of length and style. This is why several vector variants (token balancing) exist.
  • Records that looped, ended at the context or length limit or never closed their reasoning were excluded before capture, so the set is not a random sample of the model's behaviour on these tasks.
  • The check against the vectors shows that the recordings are the source of the published vectors, nothing about whether the vectors work.
  • The capture re-tokenizes the response text instead of reading the generated token ids; the column "Replay check" of the Files table shows how often the token counts differ from the server's (by at most 28 tokens, never by more than 2 % of the response).

Ethics and safety

The files are arrays of averaged internal signals plus an index of ids and counts: they contain no prompts, no generated text and no model weights. A vector computed from them is an arbitrary set of numbers that cannot be told by eye from a harmless one; treat it as an executable file and see the ethics note of the vector card. A checksum proves only that a file equals the author's, not that it is safe. Use of the model remains under its license.

Acknowledgements and license

Base model: Qwen4-35B-A3B (Qwen, Apache 2.0; this applies to the model, not to the files). Engine: basalt by jesdga95 (MIT); our capture-q4 branch is a fork of it.

Author — Cudecnik, the sole human author. The models' contribution was routine work and information retrieval under the author's direction: Claude (Anthropic) models wrote code, ran calculations and drafted text; Qwen4 and basalt were the object and the tool of the study.

What License
Activation files (activations/) CC BY 4.0: free to copy and use; attribution to the author (Cudecnik) and a link to the original repository are required (the same license as the vector files of this model; the base model stays under its own Apache 2.0 license)
read_activations.py MIT
Text of this card CC BY 4.0

Attribution and a request. The data files are under CC BY 4.0: copy and use them freely, but name Cudecnik as the author and link the original repository.

Why these terms. Copying is allowed; dropping the author is not. There is a precedent: the vector published earlier as Cudecnik/Qwen3.8-Flash-Next-refusal-projection is shipped inside a third-party Strata package under a different name, "experimental-speed-projection" (its README). The file is byte-for-byte the same (sha256 ef0724c5b79297e481017be85769832bc26eb220c984ecba2b0e1b0c8426312b), and that README itself says the published original uses other file names; yet neither it nor any other file in that repository names the author or links to the original (checked on 2026-12-04, commit 067c61c). That is why naming the author (Cudecnik) and linking to this repository is a condition here, not a courtesy. And a request on top of it, which is not a legal condition: if you package these files, download them from the Hugging Face repository at install time rather than re-shipping them — then the origin and the download statistics stay visible.

Citation

@misc{cudecnik2026steeringactivationsqwen4,
  title        = {Steering Matrix: activation recordings of Qwen4-35B-A3B},
  author       = {Cudecnik},
  year         = {2026},
  howpublished = {\url{https://huggingface.co/datasets/Cudecnik/Qwen4-35B-A3B-steering-activations}}
}

@misc{cudecnik2026steeringmatrixqwen4,
  title        = {Steering Matrix: Qwen4-35B-A3B},
  author       = {Cudecnik},
  year         = {2026},
  howpublished = {\url{https://huggingface.co/Cudecnik/Qwen4-35B-A3B-steering-matrix}}
}

@misc{cudecnik2026steeringmatrixall,
  title        = {Steering Matrix: practical verification of steering vectors on language models},
  author       = {Cudecnik},
  year         = {2026},
  howpublished = {\url{https://huggingface.co/Cudecnik/steering-matrix}}
}

@misc{actadd,
  title        = {ActAdd (arXiv 2308.10248)},
  howpublished = {\url{https://arxiv.org/abs/2308.10248}}
}

@inproceedings{rimsky2024caa,
  title     = {Steering Llama 2 via Contrastive Activation Addition},
  author    = {Rimsky and Gabrieli and Schulz and Tong and Hubinger and Turner},
  booktitle = {ACL 2024 (long)},
  year      = {2024},
  url       = {https://arxiv.org/abs/2312.06681}
}

README historyEdit history 2 revisions2 edits

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.Every night we save the author's description of every dataset in the catalog. When it changes, we keep the new text and compare it with the one before. This shows what each author chose to say about their dataset, and how that changed over time.

  1. 2026-12-04 Initial release c50bda9 23.6 KB
    Loading...
  2. 2026-12-04 initial commit c94a498 0 B
    Loading...
Download from Hugging Face

Cudecnik/Qwen4-35B-A3B-steering-activations

Catalog is the map. Apps are the tools.

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

Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.

Open in Abliteration