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.

mayank-dubey-ai/sdxl-activation-steering

published by @mayank-dubey-ai

Passed the relevance filter but does not cleanly map to a stage.Fits the catalog's topic, but no single step.

license:mitsize_categories:n<1Kformat:imagefoldermodality:imagelibrary:datasetslibrary:mlcroissantregion:usactivation-steering +4 more
Lifetime downloads
401
Last 30 days
140
Likes
-
Size
12.4 MB

Description

SDXL Image Activation Steering: Continuous Concept Trajectory Control

This repository demonstrates Representation Engineering and Activation Steering on Diffusion Models (SDXL Turbo) using PyTorch and Hugging Face diffusers on an NVIDIA H100 GPU.

⚡ How It Works

Instead of retraining a LoRA or using binary negative prompt weights, we extract continuous concept steering vectors:

vstyle=1N∑i=1N(ecyberpunk_neon(i)−egolden_hour(i))\mathbf{v}_{\text{style}} =… See the full description on the dataset page: https://huggingface.co/datasets/mayank-dubey-ai/sdxl-activation-steering.

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
mit
Created on HFCreated
2026-08-24 · 3 months ago
Size category
n<1K
ModalitiesData types
image
Formats
imagefolder
LibrariesTools
datasetsmlcroissant

Related datasets same stage · Miscsame step · Other

Read further

Total size
12.4 MB
Files
22
Formats
png, py, json
Head
4e8b27c
Last updated on HFLast updated
2026-08-24

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("mayank-dubey-ai/sdxl-activation-steering")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="mayank-dubey-ai/sdxl-activation-steering", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/mayank-dubey-ai/sdxl-activation-steering

Files by folder from our last crawlfrom our last check

top level 5 files 14.9 KB
.gitattributes 2.5 KB file download
concept_pairs.json 1.1 KB json download
extract_image_steering_vectors.py 3.1 KB py download
README.md 2.4 KB md download
steer_image_generation.py 5.9 KB py download
assets/ 1 file 6.1 MB
image_steering_sweep_grid.png 6.1 MB png download
outputs/ 15 files 6.0 MB
coffee_shop_alpha_-0.6.png 441.0 KB png download
coffee_shop_alpha_-1.2.png 438.8 KB png download
coffee_shop_alpha_+0.0.png 432.6 KB png download
coffee_shop_alpha_+0.6.png 433.3 KB png download
coffee_shop_alpha_+1.2.png 429.7 KB png download
robot_portrait_alpha_-0.6.png 398.6 KB png download
robot_portrait_alpha_-1.2.png 399.5 KB png download
robot_portrait_alpha_+0.0.png 401.1 KB png download
robot_portrait_alpha_+0.6.png 398.6 KB png download
robot_portrait_alpha_+1.2.png 401.3 KB png download
sports_car_alpha_-0.6.png 380.5 KB png download
sports_car_alpha_-1.2.png 384.8 KB png download
sports_car_alpha_+0.0.png 373.6 KB png download
sports_car_alpha_+0.6.png 333.0 KB png download
sports_car_alpha_+1.2.png 336.4 KB png download
vectors/ 1 file 320.2 KB
cyberpunk_vs_goldenhour.pt 320.2 KB pt download

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

SDXL Image Activation Steering: Continuous Concept Trajectory Control

This repository demonstrates Representation Engineering and Activation Steering on Diffusion Models (SDXL Turbo) using PyTorch and Hugging Face diffusers on an NVIDIA H100 GPU.

Image Steering Comparison Grid


⚡ How It Works

Instead of retraining a LoRA or using binary negative prompt weights, we extract continuous concept steering vectors:

$$\mathbf{v}{\text{style}} = \frac{1}{N} \sum{i=1}^N \left( \mathbf{e}{\text{cyberpunk_neon}}^{(i)} - \mathbf{e}{\text{golden_hour}}^{(i)} \right)$$

During the diffusion denoising trajectory, we steer the latent embeddings continuously:

$$\mathbf{e}{\text{steered}} = \mathbf{e}{\text{neutral}} + \alpha \cdot \mathbf{v}_{\text{style}}$$

  • $\alpha = -1.2$ (Golden Hour): Continuous shift into warm, natural golden hour sunlight and organic daytime scenery.
  • $\alpha = 0.0$ (Neutral Baseline): Unsteered baseline output at fixed seed.
  • $\alpha = +1.2$ (Cyberpunk Neon): Continuous shift into dark cyberpunk nightscapes, glowing electric cyan/magenta reflections, and volumetric haze.

📁 Repository Structure

sdxl-activation-steering/
├── concept_pairs.json                     # Contrast prompts (Cyberpunk vs. Golden Hour)
├── extract_image_steering_vectors.py      # Computes sequence & pooled steering vectors
├── steer_image_generation.py              # Denoising inference loop with alpha sweeps
├── vectors/
│   └── cyberpunk_vs_goldenhour.pt         # Pre-computed SDXL steering vectors
├── outputs/                               # Individual steered outputs at each alpha
└── assets/
    └── image_steering_sweep_grid.png      # 5x3 side-by-side comparison grid

🚀 Reproduction

# 1. Clone repository
git clone https://huggingface.co/datasets/mayank-dubey-ai/sdxl-activation-steering
cd sdxl-activation-steering

# 2. Extract vectors
python3 extract_image_steering_vectors.py

# 3. Run image steering sweep
python3 steer_image_generation.py

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-08-24 Upload SDXL image activation steering pipeline, vectors, and comparison grid 4e8b27c 2.3 KB
    Loading...
  2. 2026-08-24 initial commit 7f6bfd4 0 B
    Loading...

Community discussions 1 thread · 1 open · 1 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, licence clarifications. Click any thread to expand and read the full conversation inline. Newest first.Conversations people started on Hugging Face: bug reports, questions about using the data, suggested changes to the author's description, questions about the licence. Open a thread to read it here. Newest first.

  1. 2026-08-25 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

mayank-dubey-ai/sdxl-activation-steering

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