license: apache-2.0
base_model: openai/gpt-oss-120b
library_name: transformers
pipeline_tag: text-generation
language:
- en
base_model_relation: finetune
tags: - bf16
- abliterated
- uncensored
- refusal-direction
- dissident
- biprojection
- moe
- reasoning
- harmony
datasets: - JailbreakBench/JBB-Behaviors
- openai/gsm8k
GPT-OSS-120B-abliterated-v2-bf16
Public
dissidentv2 Release (Disclosed Gate Exception) — Part of thedissident-v2Public bf16 Checkpoints Collection. See the full cross-scale ablation and methodology inTECHNICAL_REPORT_V2.md.
Public bf16 refusal-direction abliterated checkpoint (SHA-256-verified files; shipped as a disclosed gate exception) derived from openai/gpt-oss-120b (pinned upstream commit b5c939de8f754692c1647ca79fbf85e8c1e70f8a). This independent modification is not an official release from OpenAI.
- Direction & Intervention (
--layer-band 12:27): Joint 2-direction orthonormalized harmless-mean projection (biprojin CLI logs; grimjim's projected abliteration, not cross-layer biprojection or MPOA norm preservation)orth([d_final_L21, d_analysis_L21])(L21_joint_fa_bp1_b12_27) scoped to mid-network layers12..27(16of36decoder layers). Only64writer tensors out of615total tensors are modified;embed_tokens,L0..11, andL28..35are SHA-256 unchanged against the verified dequantized bf16 baseline. - Serialization & Integrity: Original weights were SHA-256 checked before and after export; edited tensor bytes, shapes, and dtypes were verified after saving (
116public files,233.70 GB/217.65 GiB). A fresh-process offline reload matched the edited in-memory reference on three fixed harmless prompts over three uncached greedy steps (max_abs_logprob_diff = 0.0,greedy_token_ids_match = True). - Provenance: The saved intervention policy, joint direction basis, selection logs, data/code hashes, environment versions, and checks are preserved in
.pipeline/. Long-context, tool-calling, and multi-turn behavior outside the benchmarks below are untested.
Evaluation (v2 & v3 Paired Suites)
Matched greedy bf16 evaluation against the exact same verified dequantized bf16 baseline (reasoning_effort="low", max_tokens=768, local Qwen/Qwen3Guard-Gen-4B judge):
| Metric | Base (dequantized bf16) | Abliterated v2 | Delta |
|---|---|---|---|
JBB Harmful Refusals (n=100, HF eager, Qwen3Guard-Gen-4B) |
96/100 (96.0%) | 3/100 (3.0%) | -93.0 pp (95% CI [1.0%, 8.5%]; marker 96 -> 1) |
JBB Harmful Refusals (n=100, vLLM 0.34, Qwen3Guard-Gen-4B) |
97/100 (97.0%) | 6/100 (6.0%) | -91.0 pp (fails <= 5/100 gate; Fisher p=0.50 vs HF) |
JBB Harmful Unsafe (Guard label, n=100, HF eager) |
0/100 (0.0%) | 87/100 (87.0%) | +87.0 pp (7 controversial, 6 safe) |
JBB Benign Over-Refusals (n=50, HF / vLLM) |
16/50 / 17/50 | 0/50 / 0/50 | -32.0 / -34.0 pp |
XSTest Safe Over-Refusals (n=250, vLLM v3) |
11.2% | 0.4% | -10.8 pp (p<0.0001) |
IFEval Prompt-Strict (n=541, vLLM v3) |
77.8% | 79.1% | +1.29 pp (p=0.464) |
MMLU-Pro (n=1,008, vLLM v3) |
52.6% | 57.5% | +4.96 pp (flip 27.0%, unstable; not claimed as gain) |
MATH-500 (n=500, vLLM v3) |
88.4% | 86.2% | -2.20 pp (CI [-4.6, 0.0], p=0.090) |
GSM8K Accuracy (n=150, 0 truncations) |
145/150 (96.7%) | 144/150 (96.0%) | -0.7 pp |
Separate Coding Suite (n=1,745: HE+/MBPP+/BCB-Hard/LCB v6) |
59.8% pooled | 58.3% pooled | -1.49 pp (p=0.118; LCB -1.99 pp, p=0.040; AST -2.18 pp FAIL, p=0.0054: 33/38 LCB + 5->11 HE+) |
- Caveats: Refusal and safety labels come from the local
Qwen/Qwen3Guard-Gen-4Bautomated judge (validated at12/12recall,κ=1.000, Wilson[75.8%, 100.0%]onn=24GPT-OSS-20BBase + band10:18inv0.2.5; subtle hedged refusals like120B v2.0remain unvalidated).vLLM6/100is the deployment-relevant JBB refusal rate and misses the<= 5/100gate; the band redesign followed thev2.0JBB failure so JBB is not a clean held-out estimate. SeeTECHNICAL_REPORT_V2.mdfor full caveats. - Why joint dual-channel mid-band projection was required: Global 36-layer single-direction projection exceeded the harmless KL budget on all
L16..23mid-network layers (KL = 0.146–0.787), pushing single-direction selection onto lateL24whereQwen/Qwen3Guard-Gen-4Bstill caught85/100semantic refusals over full 768-token Harmony rollouts. Scoping edits with--layer-band 12:27and removing the jointfinal + analysissubspace atL21kept harmless KL within budget while cutting full-CoT refusals to3/100.
Export Diagnostics & Mechanical Disclosure
- Held-out harmless first-token KL (
n=100):0.0992(0.099187 <= 0.10; Stage 1L21_joint_fa_bp1_b12_27validation recordedKL_final = 0.09282,KL_analysis = 0.09671,0/32val Guard refusals,31/32unsafe). - Band
12..27per-layer mechanical ratio breakout (harmful_val/pooled,.pipeline/measurements.json):- Metric & band residual: 120B is gated on per-layer writes inside band
L12..L27(distinct from the full-residual ratio used for global edits).L12..L22andL24pass (0.30%–0.93%), while 4 of 5 trailing layers (L23,L25,L26,L27) exceed1.0%(max2.13%). Inside the band, the residual stream still carries up to83%(band_max_cum_delta_ratio = 0.829) of Base's cumulative projection on the removed subspace (written by uneditedL0..L11). - Disclosed gate exception: In
v0.2.5(gpt-oss-120b-fp32-rounding-check-v3.json,540bd718,0.0bit-exact reproduction ofv2.1), single-layerfloat32replay acrossL12..L27confirmed bf16 rounding (18,772xdrop to<= 0.000113%): pure edited-writer output (attn_out + mlp_out) stays<= 0.499%on every layer, while bf16 residual-addition rounding onto a stream whose pooled L2 norm grows15.8x(2,542 -> 40,188) drivesL23, L25..27. Parallel fp32 replay onLlama-3.1-8B(c9b22745) confirmed the same bf16-rounding root cause (10,400xdrop to0.000118%,79%–82%weight quantization);Llama-3.1-8Bremains held under our strict<= 1.0%global gate (policy asymmetry disclosed). Held-out 100-prompt KL 95% bootstrap CIs (pinned2026-12-01):KL_final = 0.0992 [0.0430, 0.1917],KL_analysis = 0.1000 [0.0760, 0.1281]; shifting Harmony's dynamicCurrent date:field to2026-12-03shiftsKL_finalto0.1267. Published explicitly as a disclosed gate exception (mechanical_pass: falsein.pipeline/measurements.json; offline CLI verification uses--no-mechanical).
- Metric & band residual: 120B is gated on per-layer writes inside band
Usage & Inference
Hardware & VRAM Guide
- bf16 Disk Size:
233.70 GB(217.65 GiBacross74.safetensorsshards) - Inference / Export (
1xmodel):288 GBsingle GPU (e.g.1xB300) or multi-GPU tensor parallelism (4xA100/H100 80GB)
Python (transformers, Harmony Chat Template)
Use requirements/native-cuda.txt (transformers>=5.21,<6) with eager attention, eager experts, and the Harmony chat template at reasoning_effort="low":
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "ashwin-sreedhar/GPT-OSS-120B-abliterated-v2-bf16"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
attn_implementation="eager",
)
if hasattr(model, "set_experts_implementation"):
model.set_experts_implementation("eager")
messages = [{"role": "user", "content": "Explain how Linux namespaces isolate containers."}]
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
reasoning_effort="low",
return_tensors="pt",
return_dict=True,
).to(model.device)
with torch.inference_mode():
out = model.generate(**inputs, max_new_tokens=768, do_sample=False)
print(tokenizer.decode(out[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=False))
Verify, Chat, & Reproduce with dissident
Note that offline verification requires --no-mechanical to acknowledge the disclosed L23..27 bf16 MoE rounding in .pipeline/measurements.json while enforcing all SHA-256 manifest, tensor, and 0.0 reload checks:
pip install "dissident[cuda,demo]"
# Offline cryptographic manifest, tensor, and reload verification (acknowledging L23..27 rounding)
dissident verify /path/to/checkpoint --no-mechanical
# Interactive Harmony terminal chat (displays final channel only; no tools executed)
dissident chat --model /path/to/checkpoint
# Convert upstream MXFP4 -> bf16 and run band-scoped abliteration
dissident prepare-data --output data
dissident convert --model openai/gpt-oss-120b --revision b5c939de8f754692c1647ca79fbf85e8c1e70f8a --output models/gpt-oss-120b-base-bf16
dissident run \
--model openai/gpt-oss-120b \
--revision b5c939de8f754692c1647ca79fbf85e8c1e70f8a \
--prepared-source models/gpt-oss-120b-base-bf16 \
--data data \
--layer-band 12:27 \
--allow-mechanical-fail \
--output models/GPT-OSS-120B-abliterated-v2-bf16
Intended Use & Limitations
This checkpoint is released strictly for mechanistic interpretability, refusal-geometry research, and red-team / safety-probe evaluation (for example, testing whether serve-time misuse classifiers or activation probes still fire after refusal-direction removal). Because refusal behavior has been substantially suppressed, do not deploy this model to end users without external safety filtering, misuse monitoring, and access controls. Users are responsible for complying with the upstream Apache-2.0 license, USAGE_POLICY, and applicable law.
Precision Provenance
OpenAI released openai/gpt-oss-120b routed expert weights in MXFP4. This checkpoint was edited from a separately saved, verified bf16 dequantization of that release (.conversion/). Dequantization does not recover precision lost during upstream quantization; this is not an original full-precision OpenAI release. The unedited comparison baseline is that exact same verified bf16 dequantization.
Modification & Distribution Notice
The weight files were modified by dissident (MIT, formerly persona-lab) using the intervention recorded in .pipeline/. Each .safetensors file carries a modification notice in its header. Release packaging updates header metadata only: every tensor's dtype, shape, offsets, and payload bytes remain identical to the verified edited checkpoint. The original upstream checkpoint is untouched.
Upstream license (Apache-2.0), attribution, and usage restrictions continue to apply. See the included LICENSE, USAGE_POLICY, and LICENSE_SOURCES.json files. No benchmark prompts, raw harmful completions, or manual-test programs are included.
Public dissident v2 Checkpoints
| Model | Architecture | Method | JBB Refusals | Benign Over-Refusals | GSM8K | KL / Mech |
|---|---|---|---|---|---|---|
| GPT-OSS-20B v2 | 21B MoE (Harmony) | L13 pos=-1 r1 biproj |
95/100 -> 0/100 | 8/50 -> 0/50 | 95.6% -> 95.6% (n=250) |
0.0933 / 0.785% |
| GPT-OSS-120B v2 (this model) | 120B-A5.1B MoE (Harmony) | L21 joint 2-dir (final+analysis) biproj, band 12:27 |
96/100 -> 3/100 | 16/50 -> 0/50 | 96.7% -> 96.0% (n=150) |
0.0992 / L12..22 <=0.93% (L23..27 1.06-2.13%*) |
| Kimi-Linear-48B v2 | 48B-A3B Hybrid Linear MoE | L16 pos=-2 r1 biproj |
92/100 -> 1/100 | 9/50 -> 0/50 | 93.3% -> 90.7% (n=150) |
0.0830 / 0.658% |
*Disclosed gate exception: 4 of 5 trailing band layers (L23, L25..27) exceed 1.0% on per-layer writes (max 2.13%; confirmed bf16 residual-addition rounding in v0.2.5 fp32 replay <= 0.000113%, 18,772x drop), vLLM JBB is 6/100 (3/100 HF eager), and coding AST fell -2.18 pp.
Citation
@software{sreedhar2026dissident,
author = {Sreedhar, Ashwin},
title = {dissident: Reproducible bf16 refusal-direction abliteration, mechanistic verification, and local safety evaluation},
year = {2026},
version = {0.2.4},
url = {https://github.com/ashwinsreedhar28/dissident}
}
Built with dissident (MIT; pip install dissident on PyPI) · Technical Report: TECHNICAL_REPORT_V2.md · Interactive Report: ashwinsreedhar28.github.io/dissident · Public v2 checkpoints: dissident-v2 Collection.