← back to catalog · registered 2026-08-28 17:02

sdkrut/GLM-5.2-Abliterated-NVFP4-MTP

sdkrut Glm 364B 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/sdkrut%2FGLM-5.2-Abliterated-NVFP4-MTP"
Response includes
  • classification m1
  • files 56
  • benchmarks 11 entries
  • hub_downloads_all_time 24
  • author_summary 1 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
24
1 last 30d - cooling
Likes
0
Model age
6w ago
created 2026-08-27
Downloads over time
Now25→from20↑25%
09182820 on Aug 2625 on Oct 1225 on Oct 7AugSepOct
Aug 26 → Oct 12 · 47 snapshots · spans 47 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 5 UGI
Hazardous 1.8 UGI
Natural Intelligence 54.88 UGI
Political lean -12.7% UGI
Sensitive-Info 41.67 UGI
SocPol 5.1 UGI
UGI 29.44 UGI
Willingness (10) 0.5 UGI
W10-Adherence 0 UGI
W10-Direct 1 UGI
Writing 61.21 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
mit
Languages
en zh
Tags
Model Optimizer safetensors glm_moe_dsa glm glm-5.2 mixture-of-experts abliterated uncensored red-team cybersecurity nvfp4 modelopt

Related

Total size
428 GB
Files
56
Quantizations
1
Registered
2026-08-28 17:02
Last updated on HF
2026-08-28 16:01

Files by quantization

Auxiliary files 56 files 428 GB
model-00046-of-00046.safetensors 18.5 GB ******** download
model-00023-of-00045.safetensors 9.31 GB ******** download
model-00028-of-00045.safetensors 9.31 GB ******** download
model-00030-of-00045.safetensors 9.31 GB ******** download
model-00012-of-00045.safetensors 9.31 GB ******** download
model-00019-of-00045.safetensors 9.31 GB ******** download
model-00010-of-00045.safetensors 9.31 GB ******** download
model-00037-of-00045.safetensors 9.31 GB ******** download
model-00021-of-00045.safetensors 9.31 GB ******** download
model-00026-of-00045.safetensors 9.31 GB ******** download
model-00007-of-00045.safetensors 9.31 GB ******** download
model-00014-of-00045.safetensors 9.31 GB ******** download
model-00033-of-00045.safetensors 9.31 GB ******** download
model-00040-of-00045.safetensors 9.31 GB ******** download
model-00003-of-00045.safetensors 9.31 GB ******** download
model-00042-of-00045.safetensors 9.31 GB ******** download
model-00006-of-00045.safetensors 9.31 GB ******** download
model-00001-of-00045.safetensors 9.31 GB ******** download
model-00017-of-00045.safetensors 9.31 GB ******** download
model-00035-of-00045.safetensors 9.31 GB ******** download
model-00041-of-00045.safetensors 9.31 GB ******** download
model-00039-of-00045.safetensors 9.31 GB ******** download
model-00008-of-00045.safetensors 9.31 GB ******** download
model-00032-of-00045.safetensors 9.31 GB ******** download
model-00018-of-00045.safetensors 9.31 GB ******** download
model-00036-of-00045.safetensors 9.31 GB ******** download
model-00025-of-00045.safetensors 9.31 GB ******** download
model-00043-of-00045.safetensors 9.31 GB ******** download
model-00015-of-00045.safetensors 9.31 GB ******** download
model-00029-of-00045.safetensors 9.31 GB ******** download
model-00011-of-00045.safetensors 9.31 GB ******** download
model-00022-of-00045.safetensors 9.31 GB ******** download
model-00004-of-00045.safetensors 9.31 GB ******** download
model-00027-of-00045.safetensors 9.31 GB ******** download
model-00009-of-00045.safetensors 9.31 GB ******** download
model-00038-of-00045.safetensors 9.31 GB ******** download
model-00020-of-00045.safetensors 9.31 GB ******** download
model-00031-of-00045.safetensors 9.31 GB ******** download
model-00013-of-00045.safetensors 9.31 GB ******** download
model-00024-of-00045.safetensors 9.31 GB ******** download
model-00002-of-00045.safetensors 9.31 GB ******** download
model-00016-of-00045.safetensors 9.31 GB ******** download
model-00005-of-00045.safetensors 9.16 GB ******** download
model-00034-of-00045.safetensors 9.15 GB ******** download
model-00044-of-00045.safetensors 7.84 GB ******** download
model-00045-of-00045.safetensors 1.77 GB ******** download
model.safetensors.index.json 20.8 MB ******** download
tokenizer.json 19.3 MB ******** download
config.json 14.2 KB 32ab3e85 download
README.md 6.96 KB 3c3a5de9 download
hf_quant_config.json 6.41 KB 8cfec916 download
chat_template.jinja 5.31 KB 36445d8f download
.gitattributes 1.60 KB aa7aacd0 download
LICENSE 1.04 KB e14ce68b download
tokenizer_config.json 761 B e375fa0a download
generation_config.json 215 B 207af543 download

README current version from Hugging Face


license: mit
base_model:

  • zai-org/GLM-5.2
    library_name: Model Optimizer
    pipeline_tag: text-generation
    language:
  • en
  • zh
    tags:
  • glm
  • glm-5.2
  • mixture-of-experts
  • abliterated
  • uncensored
  • red-team
  • cybersecurity
  • nvfp4
  • modelopt
  • mtp
  • speculative-decoding
  • sglang
    gated: true
    extra_gated_heading: Request access
    extra_gated_description: >-
    Access is reviewed manually by the Flip CX team. Tell us who you are
    and what you want to use the model for.
    extra_gated_fields:
    "Organization or affiliation": text
    "What do you want to use the model for?": text
    "I confirm that I will use the model only on systems I own or am explicitly authorized to assess": checkbox

GLM-5.2 Abliterated — NVFP4 + BF16 MTP

Full GLM-5.2. No pruning. NVFP4 + BF16 MTP. Served on NVIDIA B200 and B300.

Why we built it

We originally built this model for internal security testing at Flip CX.

Our team wanted something that could engage directly with real-world red-team, secure-code, and adversarial testing without refusing the moment the work became interesting. Just as importantly, we didn't want to sacrifice the underlying capability that made GLM-5.2 useful in the first place.

So we built our own.

We wanted the refusal behavior gone without paying for it in capability. The goal was to retain GLM-5.2's pre-ablation performance while dramatically reducing refusals.

We were genuinely surprised by how well it worked.

What changed our minds was realizing how few security teams have access to something like this. That surprised us — and concerned us. If better tooling can help defenders find problems before attackers do, keeping it entirely internal felt like the wrong tradeoff.

So we decided to share it in good faith with the broader security and research community.

We're starting with gated access. If you're doing serious authorized work and think this would be useful, tell us what you're working on.

This is still very much a research release. If you find better evals, improved serving configurations, interesting failure modes, or ideas for the next iteration, we'd love to hear about them.

— Sam Krut, Founder, Flip CX, with the Flip CX team

Results

Result
GPQA Diamond 72.7% vs. 74.7% stock BF16
Tool calling 39/40
CyberSecEval 4 MITRE FRR 0 refusals / 582 valid outputs
OR-Bench Hard / Toxic refusal 0.0% / 0.0%
XSTest Unsafe refusal 7.0%
CyberSecEval 4 insecure-code generation 88.98% detector-clean among valid outputs
8× B200 throughput 1,518.65 aggregate tok/s (32 concurrent)
Hardware tested NVIDIA B200 + B300
Maximum served context 1,048,576 tokens
Strict retrieval tested through ~832K tokens

Stock GLM-5.2 BF16 scored 74.7% on GPQA Diamond. The final NVFP4 + BF16 MTP artifact scored 72.7% — a −2.0 pp difference within the approximately ±2–3 pp run-to-run variation we observed.

What we changed

The surgery is deliberately narrow: 53 tensors across layers 12–64, limited to attention output projections.

We did not directly modify the experts, routers, embeddings, LM head, MLP projections, Q/K/V projections, normalization weights, or MTP tensors.

No additional SFT, DPO, or RLHF was applied.

GLM-5.2 → BF16 abliteration → ModelOpt NVFP4 → BF16 MTP

Serving

Successfully served on NVIDIA B200 and B300.

Our retained 8× B200 benchmark reached:

1,518.65 aggregate output tokens/second across 32 concurrent client requests.

Reference stack:

  • SGLang v0.5.15.post1
  • TP8 / EP8
  • ModelOpt FP4
  • FP8 KV cache
  • EAGLE speculative decoding
  • glm45 reasoning parser
  • glm47 tool-call parser

The included chat_template.jinja is part of the model. Do not replace it with a generic or stock GLM template.

Evaluation notes

CyberSecEval 4 MITRE FRR produced 750 generations: 582 valid outputs, 168 length/integrity-capped outputs, and zero observed refusals among the 582 valid outputs.

The 88.98% CyberSecEval 4 insecure-code-generation result means no vulnerability was detected by the pinned static analyzer in 1,494 of 1,679 valid outputs. It does not mean the generated code is proven secure.

The 1M-token context window is a tested serving ceiling, not a claim of uniformly reliable reasoning across one million tokens.

Responsible use

Reduced refusal behavior is not authorization.

This model may generate harmful, illegal, insecure, fabricated, or incorrect content. Users are responsible for ensuring their work is lawful, appropriately scoped, and conducted on systems they own or are explicitly authorized to test.

Usage

Download

Access must first be approved on Hugging Face. Then authenticate and download the checkpoint:

hf auth login

hf download sdkrut/GLM-5.2-Abliterated-NVFP4-MTP \
  --local-dir /path/to/GLM-5.2-Abliterated-NVFP4-MTP

Keep the included chat_template.jinja in the model directory. Do not replace it with the stock or a generic GLM template.

Serve with SGLang

The following is the validated 8× B200 reference configuration:

MODEL_DIR=/path/to/GLM-5.2-Abliterated-NVFP4-MTP

docker run --rm \
  --gpus all \
  --ipc host \
  --shm-size 32g \
  -p 127.0.0.1:30000:30000 \
  -v "$MODEL_DIR:/model:ro" \
  -e SGLANG_ENABLE_MOE_DEFERRED_FINALIZE=1 \
  lmsysorg/sglang:v0.5.15.post1 \
  python3 -m sglang.launch_server \
    --model-path /model \
    --trust-remote-code \
    --tp-size 8 \
    --ep-size 8 \
    --quantization modelopt_fp4 \
    --context-length 32768 \
    --mem-fraction-static 0.70 \
    --max-running-requests 16 \
    --chunked-prefill-size 8192 \
    --max-prefill-tokens 8192 \
    --cuda-graph-max-bs-decode 16 \
    --kv-cache-dtype fp8_e4m3 \
    --bf16-gemm-backend cutedsl \
    --reasoning-parser glm45 \
    --tool-call-parser glm47 \
    --speculative-algorithm EAGLE \
    --speculative-num-steps 5 \
    --speculative-eagle-topk 1 \
    --speculative-num-draft-tokens 6 \
    --enable-metrics \
    --host 0.0.0.0 \
    --port 30000

This command serves a 32K context window. The separate 1M context test used a different long-context configuration.

Thinking OFF

curl http://127.0.0.1:30000/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "/model",
    "messages": [
      {"role": "user", "content": "Write a Python quicksort implementation."}
    ],
    "temperature": 0.7,
    "chat_template_kwargs": {"enable_thinking": false}
  }'

Thinking ON

curl http://127.0.0.1:30000/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "/model",
    "messages": [
      {"role": "user", "content": "Solve this problem step by step."}
    ],
    "temperature": 0.7,
    "chat_template_kwargs": {"enable_thinking": true}
  }'

Tool calls use SGLang's glm47 tool-call parser. Reasoning output uses the glm45 reasoning parser configured in the launch command.

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