misc 0 0 0

schalnev/sae-ts-effects

published by @schalnev

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
2.3K
Last 30 days
103
Likes
-
Size
7.6 GB
Created on HF
2024-11-04
Age
1 years ago

Description

SAE-TS Effects Dataset

This dataset contains pre-computed feature effects for the SAE-TS (SAE-Targeted Steering) method described in our paper Improving Steering Vectors by Targeting Sparse Autoencoder Features.

Contents

The dataset contains two files:

effects_2b.pt: Pre-computed effects for Gemma-2B model

effects_9b.pt: Pre-computed effects for Gemma-9B model

Each file is a PyTorch saved dictionary containing:

features: The steering vectors used (shape:… See the full description on the dataset page: https://huggingface.co/datasets/schalnev/sae-ts-effects.

Tags

region:us

README current version from Hugging Face

SAE-TS Effects Dataset

This dataset contains pre-computed feature effects for the SAE-TS (SAE-Targeted Steering) method described in our paper Improving Steering Vectors by Targeting Sparse Autoencoder Features.

Contents

The dataset contains two files:

  • effects_2b.pt: Pre-computed effects for Gemma-2B model
  • effects_9b.pt: Pre-computed effects for Gemma-9B model

Each file is a PyTorch saved dictionary containing:

  • features: The steering vectors used (shape: [num_features, d_model])
  • effects: The measured effects of each steering vector (shape: [num_features, d_sae])

Usage

These files are used by the SAE-TS training script. To use them:

import torch
from huggingface_hub import hf_hub_download

# Download the data
path = hf_hub_download(repo_id="schalnev/sae-ts-effects", 
                      filename="effects_2b.pt")  # or effects_9b.pt
                      
# Load the data
data = torch.load(path)
features = data['features']  
effects = data['effects']

License

This dataset is released under the MIT license. See LICENSE for more information.

README history 8 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. 2024-11-05Upload correction_bias_2b_layer_12.pt with huggingface_hub889cb3d1.1 KB
    Loading...
  2. 2024-11-05Upload R_dec_2b_layer_12.pt with huggingface_hubdd3bede1.1 KB
    Loading...
  3. 2024-11-04Upload adapter_2b_layer_12.pt with huggingface_hubed927751.1 KB
    Loading...
  4. 2024-11-04Upload adapter_9b_layer_12.pt with huggingface_hubef758691.1 KB
    Loading...
  5. 2024-11-04Upload README.md with huggingface_hubd3e43a11.1 KB
    Loading...
  6. 2024-11-04Upload effects_9b.pt with huggingface_hub97a746e0 B
    Loading...
  7. 2024-11-04Upload effects_2b.pt with huggingface_hub1481f5d0 B
    Loading...
  8. 2024-11-04initial commitb46540c0 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("schalnev/sae-ts-effects")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="schalnev/sae-ts-effects", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/schalnev/sae-ts-effects
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