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.
← back to catalog · indexed 2026-12-06 09:08added 2026-12-06 09:08

johnlockejrr/Qwen4-35B-A3B-Abliterated-Basalt

johnlockejrr Qwen 35B MoE multimodal second-order
  • Understands images

M1 Direction removal · 0 downloads · 1 like

Your rigComputer guess connected
? Why do I need an app?
Reading your rig…Checking…

Below is the per-quantization compatibility for this model.Below: which compressed versions fit your computer.

Reading your computer's memory from the app right now. The fit below is measured on this machine.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/johnlockejrr%2FQwen4-35B-A3B-Abliterated-Basalt"
Response includesThe data includes
  • method_v2.family M1
  • files 6
  • author_summary 13 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload10 credits · updated hourly · reply about 4 KB Get an API key →
Abliteration classifier · v2.2.0 · M-codes 2.0How this model was made
M1
Method familyMethod

Direction removal

Uncensoring event in this repository: M1 · classic · modules.Refusals were removed here.

EvidenceHow we know
ˢ Stated
Specialist codeShort code M1 · classic · modules · original · other ˢ
  • VariantForm classic S
  • Scope modules S
  • LineageFamily tree original S
  • DistributionFiles other T
Why this label 7 answers
FamilyMethod
M1 Stated The card names a direction-removal tool or states the abliterationThe card says so
VariantForm
classic Stated Direction removal stated without a refinement: the classic formThe standard form
Scope
modules Stated The card names the edited modulesThe card names the parts changed
Tool
not stated
Post-processingAfterwards
not stated
LineageFamily tree
original Stated Published as the author's own release, with no uncensored ancestorThe author's own release
DistributionFiles
other Tool record From the repository's file formatsFrom the files
Target
refusal Guessed No other target stated, so refusals
Where the change lives
weights Stated Follows from the familyFollows from the method
Hardened base
not stated
Refusal direction extracted viaFinding the refusal signal
Extraction techniqueHow it was found

Difference-of-means

Confidence
MEDIUM
Why we say so
primary_method=M1; difference-of-means is the reference extraction for M1/M3 (Arditi 2024)

Licence and originprovenance

Original release
  • Provider: Qwen (Alibaba) Provider: Qwen (Alibaba) original.provider
  • Release: Qwen/Qwen4-35B-A3B Original release repo: Qwen/Qwen4-35B-A3B original.release_id
  • Licence of the original release: Apache-2.0 Licence of the original release: Apache-2.0 original.licence
  • EU training-content summary published: not found as of 2026-11-29 EU training-content summary (AI Act Art. 53(1)(d)): none found, last checked 2026-11-29 original.eu_training_summary
  • Provider documents taken from the researched release of the same release line, Qwen/Qwen1.5-0.5B-Chat Provider documents taken from the researched release of the same release line, Qwen/Qwen1.5-0.5B-Chat original.eu_training_summary.from_release
  • Original release found via models it says it is built on Link found in the lineage graph (declared base models) link_source
This model
  • Licence stated by this model: apache-2.0 Licence in the model card metadata: apache-2.0 this_model.declared_licence
  • None of the checked licence points of the original release applies None of the checked licence points of the original release applies this_model.flags
Details
  • Full licence text dated copy of 29 Nov 2026 licence_text
  • Chain to this model 2 steps, 6 file hashes chain
  • Provider documents 6 facts with sources provider_documents
  • Licences side by side licences

From public data checked on 2026-12-06. Not legal advice. How this is checked · Report a problem with this information

Downloads · 30-day
0
Likes
1
Model age
today
created 2026-12-06

GenealogyFamily tree 0 direct forks

Full fork graph →All family trees →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.Its place among other models. Above: what it comes from. Below: models built on it, directly or through other models.

Quat3rnion/Qwen4-35B-A3B-BF16-abliteratedM1↓ 357 this lineage
johnlockejrr/Qwen4-35B-A3B-Abliterated-BasaltM1uncensoring eventrefusals removed here

MetadataDetails

License
Languages
en
Tags
basaltqwen4moeabliterateduncensoredvision-languageimage-text-to-textenbase_model:Quat3rnion/Qwen4-35B-A3B-BF16-abliteratedbase_model:quantized:Quat3rnion/Qwen4-35B-A3B-BF16-abliteratedlicense:apache-2.0region:us

Related

Total size
32.0 GB
Files
6
Quantizations
none
Indexed by usAdded
2026-12-06 09:08
Last updated on HFLast updated
2026-12-06 08:26

Files by quantizationFiles by compression

Auxiliary files 6 files 32.0 GB
Qwen4-35B-A3B-abliterated.basalt 32.0 GB 6891b515 download
assets/basalt-banner.png 2.55 MB 3b283b54 download
LICENSE 11.3 KB f938136e download
README.md 10.5 KB 4d039de8 download
.gitattributes 1.68 KB 941e1f5a download
sha256.txt 99.0 B ab3c4437 download

READMEAuthor's description from Hugging Face, captured 2026-12-06


license: apache-2.0
license_link: LICENSE
base_model: Quat3rnion/Qwen4-35B-A3B-BF16-abliterated
base_model_relation: quantized
pipeline_tag: image-text-to-text
library_name: basalt
language:

  • en
    tags:
  • basalt
  • qwen4
  • moe
  • abliterated
  • uncensored
  • vision-language

Basalt

Qwen4-35B-A3B abliterated for Basalt, on Blackwell

Model file for Basalt, a local inference engine for NVIDIA Blackwell GPUs (sm_120) with an OpenAI- and Anthropic-compatible API. Basalt runs this model on one Blackwell card: every expert on a 32 GB card, and on a 16 GB card the experts that do not fit stay in system RAM. Up to 64 requests run at once. Needs Basalt 0.7.0 or later.

One self-contained file: weights, the tokenizer and chat protocol, the vision tower, the model's own MTP drafter with its draft vocabulary, and RadixArk's DFlash 2 drafter. Built from Quat3rnion/Qwen4-35B-A3B-BF16-abliterated, a one-direction ablation of Qwen/Qwen4-35B-A3B at commit c06f0c19d9411aba77f8d5948f69ae825c7161cb. Every tensor is stored in one form: NVFP4 experts, an IQ4_NL n-gram table, int8 dense projections, an int8 output head, FP8 hyper-connection rows, and a quantized drafter.

file size experts dense
Qwen4-35B-A3B-abliterated.basalt 34.4 GB (32.0 GiB) NVFP4, least squares int8

SHA-256: 6891b515be5e65b918cbb5fa679526e75d7a28f7e602e5637df349b91d1db0ef

  • Context: up to 1,048,576 tokens (--max-context, default 8,192); --kv int8 shrinks the cache.
  • Drafters: on one card the DFlash 2 drafter is the default, and multi-card modes use the MTP drafter; --drafter mtp picks MTP on one card too. Drafted tokens are verified, so the output is the model's own: greedy output is bitwise the same with drafting on or off. --spec 0 turns drafting off.
  • Images and video: images up to 16,384 merged tokens, video 12,288 by default (--video-max-tokens up to 262,144).
  • Cards: one Blackwell card; 16 GB cards keep the remaining experts in RAM.
  • DFlash 2: RadixArk/Qwen4-35B-A3B-Dflash2 (Apache-2.0), 0.8 GB of BF16 as released, stored with Q8_0 projections in this file; drafts a block of 7 tokens per pass.
  • Sampling defaults from the checkpoint: temperature 1.0, top-p 0.95, top-k 20. The chat protocol is qwen4.

The abliterated source

Qwen/Qwen4-35B-A3B with one refusal direction projected out of the residual-stream writers, released by Quat3rnion. The edit was made with Model Brewery (318f13e, ablate_direction). Embeddings, the n-gram table, the MTP layer, and the vision encoder are the upstream files. This repository is the Basalt pack only.

The measurements below are that BF16 checkpoint, before this pack was built. Answers were greedy with thinking off (96 new tokens on harmful prompts, 256 on benign prompts), on CPU BF16 in Transformers. A harmful answer counts as a refusal when its first 200 characters contain a refusal phrase. None of these prompts were used to fit the direction. The 100 AdvBench prompts were held out.

Measure Stock Abliterated BF16
WikiText-2 test perplexity, 296,815 scored tokens 7.2303 7.2895 (+0.82%)
AdvBench held-out refusals, 100 prompts 98/100 0/100
Benign over-refusals, 40 prompts not measured 0/40
Harmful prompts whose first token is "I", 64 screen prompts 64/64 0/64
Mean P("I") on those harmful prompts 0.958 0.005
Harmless prompts whose first token is "I", 64 screen prompts 4/64 2/64

The source notes that the phrase list misses one stock refusal ("I can no longer provide..."), so the stock model refuses 99 of those 100, and that the classifier flagged no answer from the abliterated model. Perplexity is raw WikiText-2 test text in non-overlapping 2048-token windows. Expect different absolute values from other engines.

How the edit was made, from the source release:

  1. The direction. The residual stream was read after each of the 40 layers at the last prompt token, for 256 harmful and 256 harmless prompts, thinking off. Qwen4 keeps four hyper-connection streams. Each block writes the same 2048-wide vector into all four, so the streams were summed. The direction is the normalised difference of the two means at layer 12 (Cohen's d 7.1 on the fit prompts, 8.2 on the held-out screen).
  2. The strength. Candidates were screened in a forward pass before any weight was changed. Layer 12 at alpha 2.0 had the smallest first-token change on harmless prompts (mean KL 0.46 nats) among the candidates that removed the refusal marker.
  3. The write. W' = W − 2.0 r rᵀ W on 120 BF16 tensors: in each of the 40 layers, self_attn.o_proj or linear_attn.out_proj, mlp.shared_expert.down_proj, and the fused routed mlp.experts.down_proj (all 256 experts).

What is in the file

part format
Routed experts (256 per layer, top 8) NVFP4, rounded from the checkpoint's BF16 weights: matrix scale amax / (6 × 448), then per 16 values the UE4M3 scale of least squared error among half to four times amax / 6, nearest E2M1
Attention, GDN, QSA and shared-expert matrices, indexer q and k int8 rows with one FP32 scale per row (amax / 127), the only copy
Router, GDN alpha/beta BF16
Hyper-connections (4 streams, rank 256) FP8 (E4M3) rows with one BF16 scale each, rounded once from BF16 (amax / 448)
Per-layer n-gram table IQ4_NL (read from the SSD, or from RAM with --ple-io ram)
Output head int8 rows with one FP32 scale per row (amax / 127), rounded once from the BF16 lm_head
Token embedding Q8_0
MTP drafter the model's own layer: Q8_0 and BF16 dense, Q2_0 experts, plus a draft vocabulary
DFlash 2 drafter RadixArk's block drafter: fc, attention and MLP projections Q8_0, convolutions and selector BF16
Vision tower BF16 (F32 norms and biases)

Quantization

How each part of the language model is stored:

part format bits per weight
Routed experts (256 per layer, top 8) NVFP4 4.5
Attention, GDN, QSA and shared-expert matrices int8 8.0
Per-layer n-gram table (20.5B parameters, about 20 GiB as BF16) IQ4_NL 4.5
Output head int8 8.0
Token embedding Q8_0 8.5

Average bits per weight over the language model, the same accounting as jesdga/Qwen4-35B-A3B-Basalt (each weight once, in the form the engine reads it; the drafters and the vision tower left out): about 4.7 with the n-gram table and about 4.8 without it. This file has the same formats and the same section sizes as that pack.

The n-gram table. Qwen4 adds, at one layer, an embedding looked up by the last three tokens: each n-gram is hashed into 16 heads of about 10 million rows each, and the rows are added to that layer's input. It is a lookup table, not a matrix multiply, so it is large (20.5B of the model's parameters) but only a few rows are read per token. It does not need to sit in VRAM, so --ple-io ram keeps it in system RAM (about 11 GiB in this file) and reads rows from there; the default reads them directly from the file on the SSD. RAM is faster for the lookups, if you have the memory.

The experts. No calibration set. Each matrix scale is amax / (6 × 448). Each 16 values then take the UE4M3 scale of least squared error among the scales from half to four times amax / 6, and the values are the nearest E2M1 codes. jesdga/Qwen4-35B-A3B-Basalt rounds the stock model's experts with weighted scales and GPTQ error feedback, and its quality and speed tables are for that file.

Run

hf download johnlockejrr/Qwen4-35B-A3B-abliterated-Basalt Qwen4-35B-A3B-BF16-abliterated.basalt --local-dir models
bin/basalt serve models/Qwen4-35B-A3B-abliterated.basalt

Add --ple-io ram to keep the n-gram table in RAM. The pack recipe for this architecture: model file. This file was built the same way, without --expert-stats, with --drafter pointed at RadixArk/Qwen4-35B-A3B-Dflash2. More: Qwen4-35B-A3B on Basalt.

Caveats

  • The quality table is the BF16 checkpoint. This pack stores the edited routed-expert, attention-output, and shared-expert down_proj matrices as NVFP4 or int8. Refusals and perplexity on this file have not been measured.
  • The MTP head and the vision tower are the original Qwen weights in the ablation. This pack includes that MTP drafter and RadixArk's DFlash 2 drafter. Acceptance on the edited weights was not measured. Drafted tokens are still verified by the target model.
  • The source describes these as research weights. The model answers requests the stock model refuses. Use is the deployer's responsibility.

License

Qwen4-35B-A3B is released by Qwen under Apache-2.0. The abliterated checkpoint is a modified form of those weights, also Apache-2.0, from Quat3rnion. This file is a quantized and repacked form of that checkpoint, distributed under the same license. This is not an official Qwen release. The Basalt engine is MIT.

RadixArk's DFlash 2 drafter is Apache-2.0.


Free Models, Built in My Spare Time

I host 100+ free models for the community and love seeing everyone put them to use.
Since I maintain and publish these in my free time at no cost to you, any support helps me keep sharing more.

☕ Buy me a coffee on Ko-fi

No pressure at all—downloads and feedback are always free, and tips go straight toward supporting future releases and storage.

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