CoolFace
Modelpublic

elyhahami/llama-introspection-steering-vectors

sourceHugging Facemitupdated 7mo agoView on Hugging Face
0likes
Model Card

Llama Introspection Steering Vectors

Steering vectors for Meta-Llama-3.1-8B-Instruct from the paper "Detecting the Disturbance: A Nuanced View of Introspective Abilities in LLMs".

Format

  • —Files: {concept}_{layer}_{vec_type}.pt
  • —concept: Dust, Satellites, Trumpets, Origami, Illusions, fibonacci_numbers, recursion, betrayal, appreciation, shutdown
  • —layer: 0-31
  • —vec_type: avg (average across prompt tokens) or last (final token)

Each .pt file contains a dict: vector, model_name, concept_name, layer, vec_type.

Usage

python
from huggingface_hub import hf_hub_download
import torch

# Download a specific vector
path = hf_hub_download(
    repo_id="elyhahami/llama-introspection-steering-vectors",
    filename="Dust_0_avg.pt",
)
data = torch.load(path, weights_only=False)
vector = data["vector"]  # shape: (hidden_dim,) or (1, 1, hidden_dim)