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.

amildravid4292/reason-math-correctness

published by @amildravid4292

Refusal-direction material, activation probes, steering and concept-erasure data.Data on the refusal signal, a pattern inside the model linked to refusing.

language:enlicense:apache-2.0size_categories:10K<n<100Kformat:jsonmodality:tabularmodality:textlibrary:datasetslibrary:dask +8 more
Lifetime downloads
1.8K
Last 30 days
778
Likes
-
Size
65.5 GB

Description

Correctness as a causal weight-space direction — MATH

Artifacts for the experiment: is "being correct" a single, causal direction in a language model's

weights? We train 12,976 rank-1 LoRA adapters on correct vs. wrong solutions to MATH problems with

Qwen/Qwen3-4B-Base, extract a direction from them, and show that steering the model's weights

along it causally controls accuracy on held-out MATH-500 — ablation collapses accuracy 62%→5%,

amplification lifts it to 77%, and a… See the full description on the dataset page: https://huggingface.co/datasets/amildravid4292/reason-math-correctness.

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
apache-2.0
Language
en
Created on HFCreated
2026-07-31 · 4 months ago
Size category
10K<n<100K
ModalitiesData types
tabulartext
Formats
json
LibrariesTools
datasetsdaskmlcroissant

Related datasets same stage · Ablatesame step · Removing refusals

Read further

Total size
65.5 GB
Files
205
Formats
jsonl, json, safetensors
Head
e49094e
Last updated on HFLast updated
2026-08-11

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("amildravid4292/reason-math-correctness")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="amildravid4292/reason-math-correctness", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/amildravid4292/reason-math-correctness

Files by folder from our last crawlfrom our last check

top level 6 files 1.3 MB
.gitattributes 4.6 KB file download
FINDINGS.md 10.6 KB md download
math_steering.png 249.8 KB png download
README.md 4.7 KB md download
steer_examples.json 1.0 MB json download
steer_examples.md 16.2 KB md download
code/ 21 files 301.8 KB
build_direction_math.py 6.8 KB py download
build_traces_math.py 4.6 KB py download
build_visualizer.py 15.1 KB py download
gen_examples.py 4.0 KB py download
gen_steer_math.py 4.1 KB py download
gen_worker_chunked.py 4.0 KB py download
gen_worker.py 3.3 KB py download
grade_math.py 3.2 KB py download
grads/meta_shard_00.json 69.8 KB json download
launch_gen.sh 1.6 KB sh download
lora_worker.py 10.4 KB py download
make_steering_fig.py 6.0 KB py download
math_grade.py 2.3 KB py download
PIPELINE.md 8.3 KB md download
prep_math.py 5.6 KB py download
run_group.sh 1.8 KB sh download
run_lora_group.sh 1.5 KB sh download
run_null.sh 890 B sh download
steer_build_math.py 4.3 KB py download
steer_examples.py 3.4 KB py download
steer_visualizer.html 140.8 KB html download
data/ 7 files 143.5 MB
counts_math.json 417.2 KB json download
problems_math_all.jsonl 4.5 MB jsonl download
problems_math_usable.jsonl 1.3 MB jsonl download
problems_math500.jsonl 167.8 KB jsonl download
traces_2x2_math.jsonl 136.9 MB jsonl download
usable_math.json 154.4 KB json download
usable_problems_math.json 82.2 KB json download
directions/ 5 files 22.1 MB
d_bar_math_diffmean.npy 4.4 MB npy download
d_bar_math_lora.npy 4.4 MB npy download
d_bar_math_null.npy 4.4 MB npy download
d_bar_math_pc1.npy 4.4 MB npy download
d_bar_math_pc2.npy 4.4 MB npy download
gen_all/ 32 files 7.6 GB
gen_shard_00.jsonl 259.5 MB jsonl download
gen_shard_01.jsonl 235.0 MB jsonl download
gen_shard_02.jsonl 231.9 MB jsonl download
gen_shard_03.jsonl 238.5 MB jsonl download
gen_shard_04.jsonl 238.3 MB jsonl download
gen_shard_05.jsonl 242.8 MB jsonl download
gen_shard_06.jsonl 249.2 MB jsonl download
gen_shard_07.jsonl 232.1 MB jsonl download
gen_shard_08.jsonl 256.2 MB jsonl download
gen_shard_09.jsonl 236.0 MB jsonl download
gen_shard_10.jsonl 241.7 MB jsonl download
gen_shard_11.jsonl 240.6 MB jsonl download
gen_shard_12.jsonl 225.6 MB jsonl download
gen_shard_13.jsonl 245.6 MB jsonl download
gen_shard_14.jsonl 238.7 MB jsonl download
gen_shard_15.jsonl 240.3 MB jsonl download
gen_shard_16.jsonl 234.3 MB jsonl download
gen_shard_17.jsonl 234.2 MB jsonl download
gen_shard_18.jsonl 233.2 MB jsonl download
gen_shard_19.jsonl 234.9 MB jsonl download
gen_shard_20.jsonl 228.8 MB jsonl download
gen_shard_21.jsonl 237.2 MB jsonl download
gen_shard_22.jsonl 221.4 MB jsonl download
gen_shard_23.jsonl 239.0 MB jsonl download
gen_shard_24.jsonl 248.4 MB jsonl download
gen_shard_25.jsonl 234.1 MB jsonl download
gen_shard_26.jsonl 232.8 MB jsonl download
gen_shard_27.jsonl 237.8 MB jsonl download
gen_shard_28.jsonl 233.8 MB jsonl download
gen_shard_29.jsonl 238.2 MB jsonl download
gen_shard_30.jsonl 230.7 MB jsonl download
gen_shard_31.jsonl 239.9 MB jsonl download
loras_math/ 16 files 57.4 GB
B_shard_00.npy 7.2 GB npy download
B_shard_01.npy 7.2 GB npy download
B_shard_02.npy 7.2 GB npy download
B_shard_03.npy 7.2 GB npy download
B_shard_04.npy 7.2 GB npy download
B_shard_05.npy 7.2 GB npy download
B_shard_06.npy 7.2 GB npy download
B_shard_07.npy 7.2 GB npy download
meta_shard_00.json 418.8 KB json download
meta_shard_01.json 418.9 KB json download
meta_shard_02.json 414.9 KB json download
meta_shard_03.json 415.0 KB json download
meta_shard_04.json 418.9 KB json download
meta_shard_05.json 418.9 KB json download
meta_shard_06.json 415.0 KB json download
meta_shard_07.json 415.1 KB json download
pca/ 14 files 124.2 MB
layout.json 11.6 KB json download
pc_stats.json 3.8 KB json download
pca_basis.npy 88.5 MB npy download
pca_scores.npy 259.6 KB npy download
pcs/d_bar_math_pcx1.npy 4.4 MB npy download
pcs/d_bar_math_pcx2.npy 4.4 MB npy download
pcs/d_bar_math_pcx3.npy 4.4 MB npy download
pcs/d_bar_math_pcx4.npy 4.4 MB npy download
pcs/d_bar_math_pcx5.npy 4.4 MB npy download
pcs/d_bar_math_pcx6.npy 4.4 MB npy download
pcs/d_bar_math_pcx7.npy 4.4 MB npy download
pcs/d_bar_math_pcx8.npy 4.4 MB npy download
problem_keys.json 82.2 KB json download
README.md 6.0 KB md download
steer_adapters/ 72 files 199.9 MB
diffmean/coef_-004.0/adapter_config.json 1.1 KB json download
diffmean/coef_-004.0/adapter_model.safetensors 8.3 MB safetensors download
diffmean/coef_-004.0/README.md 5.2 KB md download
diffmean/coef_-008.0/adapter_config.json 1.1 KB json download
diffmean/coef_-008.0/adapter_model.safetensors 8.3 MB safetensors download
diffmean/coef_-008.0/README.md 5.2 KB md download
diffmean/coef_-016.0/adapter_config.json 1.1 KB json download
diffmean/coef_-016.0/adapter_model.safetensors 8.3 MB safetensors download
diffmean/coef_-016.0/README.md 5.2 KB md download
diffmean/coef_+000.0/adapter_config.json 1.1 KB json download
diffmean/coef_+000.0/adapter_model.safetensors 8.3 MB safetensors download
diffmean/coef_+000.0/README.md 5.2 KB md download
diffmean/coef_+004.0/adapter_config.json 1.1 KB json download
diffmean/coef_+004.0/adapter_model.safetensors 8.3 MB safetensors download
diffmean/coef_+004.0/README.md 5.2 KB md download
diffmean/coef_+008.0/adapter_config.json 1.1 KB json download
diffmean/coef_+008.0/adapter_model.safetensors 8.3 MB safetensors download
diffmean/coef_+008.0/README.md 5.2 KB md download
diffmean/coef_+016.0/adapter_config.json 1.1 KB json download
diffmean/coef_+016.0/adapter_model.safetensors 8.3 MB safetensors download
diffmean/coef_+016.0/README.md 5.2 KB md download
null/coef_-016.0/adapter_config.json 1.1 KB json download
null/coef_-016.0/adapter_model.safetensors 8.3 MB safetensors download
null/coef_-016.0/README.md 5.2 KB md download
null/coef_-024.0/adapter_config.json 1.1 KB json download
null/coef_-024.0/adapter_model.safetensors 8.3 MB safetensors download
null/coef_-024.0/README.md 5.2 KB md download
null/coef_-032.0/adapter_config.json 1.1 KB json download
null/coef_-032.0/adapter_model.safetensors 8.3 MB safetensors download
null/coef_-032.0/README.md 5.2 KB md download
null/coef_+016.0/adapter_config.json 1.1 KB json download
null/coef_+016.0/adapter_model.safetensors 8.3 MB safetensors download
null/coef_+016.0/README.md 5.2 KB md download
null/coef_+024.0/adapter_config.json 1.1 KB json download
null/coef_+024.0/adapter_model.safetensors 8.3 MB safetensors download
null/coef_+024.0/README.md 5.2 KB md download
null/coef_+032.0/adapter_config.json 1.1 KB json download
null/coef_+032.0/adapter_model.safetensors 8.3 MB safetensors download
null/coef_+032.0/README.md 5.2 KB md download
pc1_high/coef_+016.0/adapter_config.json 1.1 KB json download
pc1_high/coef_+016.0/adapter_model.safetensors 8.3 MB safetensors download
pc1_high/coef_+016.0/README.md 5.2 KB md download
pc1_high/coef_+032.0/adapter_config.json 1.1 KB json download
pc1_high/coef_+032.0/adapter_model.safetensors 8.3 MB safetensors download
pc1_high/coef_+032.0/README.md 5.2 KB md download
pc1_high/coef_+048.0/adapter_config.json 1.1 KB json download
pc1_high/coef_+048.0/adapter_model.safetensors 8.3 MB safetensors download
pc1_high/coef_+048.0/README.md 5.2 KB md download
pc1_high/coef_+064.0/adapter_config.json 1.1 KB json download
pc1_high/coef_+064.0/adapter_model.safetensors 8.3 MB safetensors download
pc1_high/coef_+064.0/README.md 5.2 KB md download
pc1/coef_-004.0/adapter_config.json 1.1 KB json download
pc1/coef_-004.0/adapter_model.safetensors 8.3 MB safetensors download
pc1/coef_-004.0/README.md 5.2 KB md download
pc1/coef_-008.0/adapter_config.json 1.1 KB json download
pc1/coef_-008.0/adapter_model.safetensors 8.3 MB safetensors download
pc1/coef_-008.0/README.md 5.2 KB md download
pc1/coef_-016.0/adapter_config.json 1.1 KB json download
pc1/coef_-016.0/adapter_model.safetensors 8.3 MB safetensors download
pc1/coef_-016.0/README.md 5.2 KB md download
pc1/coef_+000.0/adapter_config.json 1.1 KB json download
pc1/coef_+000.0/adapter_model.safetensors 8.3 MB safetensors download
pc1/coef_+000.0/README.md 5.2 KB md download
pc1/coef_+004.0/adapter_config.json 1.1 KB json download
pc1/coef_+004.0/adapter_model.safetensors 8.3 MB safetensors download
pc1/coef_+004.0/README.md 5.2 KB md download
pc1/coef_+008.0/adapter_config.json 1.1 KB json download
pc1/coef_+008.0/adapter_model.safetensors 8.3 MB safetensors download
pc1/coef_+008.0/README.md 5.2 KB md download
pc1/coef_+016.0/adapter_config.json 1.1 KB json download
pc1/coef_+016.0/adapter_model.safetensors 8.3 MB safetensors download
pc1/coef_+016.0/README.md 5.2 KB md download
steer_eval/ 32 files 1.3 MB
diffmean/eval_shard_00.jsonl 38.7 KB jsonl download
diffmean/eval_shard_01.jsonl 37.7 KB jsonl download
diffmean/eval_shard_02.jsonl 37.9 KB jsonl download
diffmean/eval_shard_03.jsonl 38.7 KB jsonl download
diffmean/eval_shard_04.jsonl 37.6 KB jsonl download
diffmean/eval_shard_05.jsonl 37.3 KB jsonl download
diffmean/eval_shard_06.jsonl 37.7 KB jsonl download
diffmean/eval_shard_07.jsonl 37.0 KB jsonl download
null/eval_shard_00.jsonl 54.6 KB jsonl download
null/eval_shard_01.jsonl 53.1 KB jsonl download
null/eval_shard_02.jsonl 53.4 KB jsonl download
null/eval_shard_03.jsonl 54.5 KB jsonl download
null/eval_shard_04.jsonl 53.0 KB jsonl download
null/eval_shard_05.jsonl 52.6 KB jsonl download
null/eval_shard_06.jsonl 53.1 KB jsonl download
null/eval_shard_07.jsonl 52.2 KB jsonl download
pc1_high/eval_shard_00.jsonl 38.8 KB jsonl download
pc1_high/eval_shard_01.jsonl 37.8 KB jsonl download
pc1_high/eval_shard_02.jsonl 38.0 KB jsonl download
pc1_high/eval_shard_03.jsonl 38.8 KB jsonl download
pc1_high/eval_shard_04.jsonl 37.7 KB jsonl download
pc1_high/eval_shard_05.jsonl 37.4 KB jsonl download
pc1_high/eval_shard_06.jsonl 37.8 KB jsonl download
pc1_high/eval_shard_07.jsonl 37.2 KB jsonl download
pc1/eval_shard_00.jsonl 38.7 KB jsonl download
pc1/eval_shard_01.jsonl 37.7 KB jsonl download
pc1/eval_shard_02.jsonl 37.9 KB jsonl download
pc1/eval_shard_03.jsonl 38.7 KB jsonl download
pc1/eval_shard_04.jsonl 37.6 KB jsonl download
pc1/eval_shard_05.jsonl 37.3 KB jsonl download
pc1/eval_shard_06.jsonl 37.7 KB jsonl download
pc1/eval_shard_07.jsonl 37.0 KB jsonl download

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

Correctness as a causal weight-space direction — MATH

Artifacts for the experiment: is "being correct" a single, causal direction in a language model's
weights?
We train 12,976 rank-1 LoRA adapters on correct vs. wrong solutions to MATH problems with
Qwen/Qwen3-4B-Base, extract a direction from them, and show that steering the model's weights
along it causally controls accuracy on held-out MATH-500
— ablation collapses accuracy 62%→5%,
amplification lifts it to 77%, and a matched-KL null control confirms the effect is
correctness-specific.

Headline results (held-out MATH-500, never seen when building the direction)

ablate (−8) baseline amplify (+8)
pass@1 5.0% 62.4% 77.1% (+14.7, p≈5e-51)
  • Necessary & sufficient. Forward−backward swing +63 pts (p≈9e-126). Full dose-response peaks at
    +8 then over-steering collapses the model (see math_steering.png).
  • Correctness-specific. A same-construction null direction (split axis, orthogonal, no
    correctness label) steered at matched KL reproduces neither the gain nor the collapse.
  • Construction-robust. PC1, the mean, and plain difference-of-means are the same vector
    (cos 0.99+); all steer identically.
  • Cross-benchmark. The direction is cos +0.52 with the independently-built direction from a
    different math benchmark (MathNet) — shared A0 gate puts them in the same 1,105,920-dim space.

Method (1 paragraph)

Rank-1 LoRA on 252 modules with a frozen shared random gate A0 (seed 20260709, checksum
145.648114), so every adapter is one point in the same weight-space and only the trained B varies.
Per problem, a 2×2 design (class {correct,wrong} × split {1,2}, 5 traces/cell) → 4 adapters;
d_p = mean(correct) − mean(wrong), averaged/PCA'd over 3,244 held-out-from-test train problems →
the global direction. Loss masks the answer span (so the direction can't just encode the answer
token). Steering builds an adapter B = coef·d, runs it in vLLM, and grades with math_verify. All
steering comparisons are KL-matched.

Repository structure

  • directions/d_bar_math_pc1.npy — the direction to steer with (also _lora, _pc2, _diffmean,
    _null). Each is a float32 vector of length 1,105,920 in the lora_B space.
  • pca/ — top-20 principal components of the per-problem correctness contrast, in the same
    weight space: pca_basis.npy (20 × 1,105,920), per-problem loadings + keys, eigenvalues,
    split-half reliability, KL-per-coefficient calibration, and the module layout that splits a vector
    into lora_B blocks. PC1–PC4 clear a permutation null; PC7+ do not. Mind the sign convention in
    pca/README.md
    — raw pca_basis[0] is the negative of the correctness direction.
  • loras_math/ — the 12,976 trained adapters (B_shard_*.npy + meta_shard_*.json), 8 shards.
  • gen_all/ — the graded rollout corpus: 12,340 MATH train+test problems × 100 rollouts.
  • steer_eval/{pc1,pc1_high,diffmean,null}/ — steering sweeps (per-coef pass@1/commit on MATH-500).
  • steer_adapters/ — reshaped steering adapters at each coefficient.
  • data/ — problem manifests (problems_math_all.jsonl w/ split+level+in_math500), the 2×2 trace
    set, counts_math.json (per-problem correct/wrong base rates), usable sets.
  • code/ — full pipeline (prep → grade → build 2×2 → train adapters → build direction → steer →
    analyze → figures). code/PIPELINE.md documents it.
  • FINDINGS.md — the complete writeup; math_steering.png — the dose-response + null-control figure;
    steer_examples.md — qualitative steered traces.

Reproduce / use the direction

import numpy as np
d = np.load("directions/d_bar_math_pc1.npy")   # (1105920,), reshape to per-module [d_out] blocks
# steer: LoRA with frozen gate A0 (seed 20260709) and lora_B = coef * d ; see code/steer_build_math.py

Attribution & licenses

  • Problems from MATH (Hendrycks et al., 2021), MIT-licensed; MATH-500 held-out subset via
    HuggingFaceH4/MATH-500.
  • Base model Qwen/Qwen3-4B-Base, Apache-2.0. Adapters and directions are derivatives of it.
  • Grading via math_verify. Traces are model-generated; no human/PII content.

This is scientific-artifact release: the value is a locatable, causal geometry of correctness, not a
training recipe (as a method it is a weak open-loop cousin of GRPO).

README historyEdit history 6 revisions6 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-11 add pca/: top-20 PC weight directions of the correctness contrast (+ scores, ... e49094e 4.6 KB
    Loading...
  2. 2026-07-31 Add files using upload-large-folder tool 9b55a0c 4.1 KB
    Loading...
  3. 2026-07-31 Add files using upload-large-folder tool 44b6312 4.1 KB
    Loading...
  4. 2026-07-31 Add files using upload-large-folder tool 0795ba3 4.1 KB
    Loading...
  5. 2026-07-31 docs, directions, code, data manifests a3397b1 4.1 KB
    Loading...
  6. 2026-07-31 initial commit b46372d 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-01 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

amildravid4292/reason-math-correctness

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