misc 0 0 0

UltraMar1ne/activation-directions-20260618

published by @UltraMar1ne

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
84
Last 30 days
17
Likes
-
Size
32.4 MB
Created on HF
2026-06-18
Age
4 months ago

Description

Activation Directions (Exp6 — Refusal DiM)

Arditi-aligned Difference-in-Means (DiM) refusal directions extracted at

resid_pre hooks, float64 accumulation, last-token position.

Structure

3b/ # 36-layer, hidden_dim=2048

d1.pt # base model

d2.pt # instruct-aligned model (full harmful+harmless residuals)

d3.pt # code-specialised model

d4.pt # RLVR target (full harmful+harmless residuals)

d4_steered_L0.pt # d4 with d2… See the full description on the dataset page: https://huggingface.co/datasets/UltraMar1ne/activation-directions-20260618.

Tags

region:us

README current version from Hugging Face

Activation Directions (Exp6 — Refusal DiM)

Arditi-aligned Difference-in-Means (DiM) refusal directions extracted at
resid_pre hooks, float64 accumulation, last-token position.

Structure

3b/           # 36-layer, hidden_dim=2048
  d1.pt       # base model
  d2.pt       # instruct-aligned model (full harmful+harmless residuals)
  d3.pt       # code-specialised model
  d4.pt       # RLVR target (full harmful+harmless residuals)
  d4_steered_L0.pt    # d4 with d2 direction injected at L0
  d4_steered_L27.pt   # d4 with d2 direction injected at L27
7b/           # 28-layer, hidden_dim=3584
  d1.pt       # base model
  d2.pt       # instruct-aligned model (full harmful+harmless residuals)
  d3.pt       # code-specialised model
  d4.pt       # RLVR target
  d4_steered_L21.pt   # d4 with d2 direction injected at L21

Tensor layout

Each .pt file is a dict:

  • direction: (n_layers, hidden_dim) float64 — per-layer DiM vector
  • best_pos / best_layer: int — layer with highest harmful/harmless separation
  • For d2/d4 (instruct/target): additionally harmful_acts, harmless_acts
    (N, n_layers, hidden_dim) float16 — raw per-prompt last-token activations
  • For steered files: steer_source (codename), steer_layer, steer_coeff

Load example

import torch
d = torch.load("3b/d2.pt", map_location="cpu")
direction = d["direction"]        # (36, 2048) float64
best_layer = d["best_layer"]      # e.g. 27

Citation

Part of the "Selective Catastrophic Forgetting" study (ACL 2027 submission).

README history 13 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-06-18Upload README.md with huggingface_hub817b5cc1.6 KB
    Loading...
  2. 2026-06-18Upload 7b/d4_steered_L21.pt with huggingface_hubbb5d6d20 B
    Loading...
  3. 2026-06-18Upload 7b/d4.pt with huggingface_hub84b09870 B
    Loading...
  4. 2026-06-18Upload 7b/d3.pt with huggingface_hub59349b90 B
    Loading...
  5. 2026-06-18Upload 7b/d2.pt with huggingface_hube98ee5a0 B
    Loading...
  6. 2026-06-18Upload 7b/d1.pt with huggingface_hub06118180 B
    Loading...
  7. 2026-06-18Upload 3b/d4_steered_L27.pt with huggingface_hube3304ac0 B
    Loading...
  8. 2026-06-18Upload 3b/d4_steered_L0.pt with huggingface_hub37195250 B
    Loading...
  9. 2026-06-18Upload 3b/d4.pt with huggingface_hub3b21fa60 B
    Loading...
  10. 2026-06-18Upload 3b/d3.pt with huggingface_hubb4edcf80 B
    Loading...
  11. 2026-06-18Upload 3b/d2.pt with huggingface_hubb2c45110 B
    Loading...
  12. 2026-06-18Upload 3b/d1.pt with huggingface_hub95756df0 B
    Loading...
  13. 2026-06-18initial commit89b02f40 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 · misc

Read further

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("UltraMar1ne/activation-directions-20260618")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="UltraMar1ne/activation-directions-20260618", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/UltraMar1ne/activation-directions-20260618
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