← back to catalog · registered 2026-08-22 13:56

wangzhang/GLM-4.7-Flash-abliterated

wangzhang Glm 30B MoE
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - we'll show exact numbers.

Reading real hardware from your app right now. Numbers below are exact.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/wangzhang%2FGLM-4.7-Flash-abliterated"
Response includes
  • classification m1
  • files 10
  • benchmarks 11 entries
  • hub_downloads_all_time 338
  • author_summary 28 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M1
Primary method

Direct removal

No other method signals detected in this model.
Confidence
MEDIUM
Why this label 3 signals
Method inferred from partial signals - repository name, related files, or tag patterns. Producer identity not confirmed; label may sharpen or shift as we gather more evidence.
  • 'abliterated' in name/tags
  • is_gguf=0 (base model)
  • no specific method indicators - defaulting to M1 (most common)
Refusal direction extracted via
Extraction technique

Difference-of-means

Confidence
MEDIUM
Why we say so
primary_method=M1; difference-of-means is the reference extraction for M1/M3 (Arditi 2024)
Downloads · lifetime
338
58 last 30d - stable
Likes
5
Model age
7mo ago
created 2026-02-26
Downloads over time
Now359→from26↑1,281%
913726539226 on Feb 25359 on Oct 11359 on Oct 10FebAprJunAugOct
Feb 25 → Oct 11 · 72 snapshots · spans 228 days

Benchmarks

Portrait before abliteration
Benchmarks of the base model as it stood before the refusal-removal operation. Compare with the numbers above to see what the operation cost.
Benchmark Score Source
Entertainment 1.7 UGI
Hazardous 1.2 UGI
Natural Intelligence 19.72 UGI
Political lean -4.3% UGI
Sensitive-Info 17.92 UGI
SocPol 2.5 UGI
UGI 21.11 UGI
Willingness (10) 2.8 UGI
W10-Adherence 1.5 UGI
W10-Direct 4 UGI
Writing 14.66 UGI

Genealogy 0 direct forks

Full fork graph →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.

Metadata

License
apache-2.0
Languages
en zh
Tags
safetensors glm4_moe_lite abliterix uncensored decensored abliterated glm moe chatglm en zh base_model:zai-org/GLM-4.7-Flash

Related

Total size
55.8 GB
Files
10
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2026-08-29 17:03

Files by quantization

Auxiliary files 10 files 55.8 GB
model-00001-of-00002.safetensors 46.3 GB b7119e31 download
model-00002-of-00002.safetensors 9.47 GB 59e318aa download
tokenizer.json 19.3 MB 2f2005e8 download
model.safetensors.index.json 833 KB 946b97be download
README.md 3.10 KB 7e898c2c download
chat_template.jinja 3.05 KB 2ab98ef0 download
config.json 1.93 KB e62f59a4 download
.gitattributes 1.53 KB 52373fe2 download
tokenizer_config.json 305 B f4307dbf download
generation_config.json 176 B 9052d495 download

README current version from Hugging Face


base_model: zai-org/GLM-4.7-Flash
language:

  • en
  • zh
    license: apache-2.0
    tags:
  • abliterix
  • uncensored
  • decensored
  • abliterated
  • glm
  • moe
  • chatglm

GLM-4.7-Flash-abliterated

Unrestricted version of zai-org/GLM-4.7-Flash, created using Abliterix.

Model Details

Property Value
Base Model zai-org/GLM-4.7-Flash
Architecture GLM-4 MoE Lite with Multi-head Latent Attention (MLA)
Parameters 30B total / 3B active per token
Layers 47 (1 dense + 46 MoE)
Experts 64 routed + 1 shared, top-4 routing
Hidden Size 2048
Context Length 128K tokens
Precision BF16

Performance

Metric This model Original
KL divergence 0.0133 0
Refusals 1/100 (1%) 92/100 (92%)

Evaluated with an LLM judge (Gemini Flash) on 100 harmful prompts. KL divergence of 0.0133 indicates the model's general capabilities are virtually identical to the original.

How It Was Made

  1. Computed refusal directions from 400 harmful vs 400 benign prompt pairs across all 47 layers
  2. Applied orthogonalized abliteration to isolate refusal-specific activation patterns
  3. Steered two component types independently: attention output projections (MLA) and MLP/expert down-projections (including shared experts)
  4. Profiled MoE expert activations across 46 router layers to identify safety-critical experts
  5. Applied hybrid MoE steering: router weight suppression (21 experts, bias=-1.64) + fused expert abliteration (weight=1.85)
  6. Optimized via Optuna TPE over 50 trials (15 warmup), selected trial #48

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained(
    "wangzhang/GLM-4.7-Flash-abliterated",
    torch_dtype="auto",
    device_map="auto",
    trust_remote_code=True,
)
tokenizer = AutoTokenizer.from_pretrained(
    "wangzhang/GLM-4.7-Flash-abliterated",
    trust_remote_code=True,
)

messages = [{"role": "user", "content": "Your question here"}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))

Hardware Requirements

Precision VRAM
BF16 ~56 GB (A100 80GB, H100)
INT8 ~30 GB (A40, RTX 4090)
NF4 ~15 GB (RTX 3090, RTX 4080)

Disclaimer

This model is intended for research purposes only. The removal of safety guardrails means the model will comply with requests that the original model would refuse. Users are responsible for ensuring their use complies with applicable laws and regulations.


Made with Abliterix

README history 5 versions

The author's README evolved over time. Click a version to see its content at that point.

  1. 2026-08-29docs: add upstream license and provenance907c2eb7.5 KB
    Loading...
  2. 2026-08-29docs: add disclaimer and responsible-use noticedd283626.1 KB
    Loading...
  3. 2026-03-30Rename Prometheus -> Abliterix (repo renamed)05e0ebc3 KB
    Loading...
  4. 2026-03-20Upload README.md with huggingface_hub66258053 KB
    Loading...
  5. 2026-03-02Initial release: GLM-4.7-Flash abliterated modelcf1dfa510.9 KB
    Loading...

Discussions 2 threads

  1. 2026-07-29我自己测试的不保证是否真的损坏。closed2 💬#2
    Loading...
  2. 2026-07-29alucinacionopen2 💬#1
    Loading...
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