Instructions to use MoonMath-ai/GLM-5.3-Uncensored-NVFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MoonMath-ai/GLM-5.3-Uncensored-NVFP4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="MoonMath-ai/GLM-5.3-Uncensored-NVFP4") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("MoonMath-ai/GLM-5.3-Uncensored-NVFP4") model = AutoModelForCausalLM.from_pretrained("MoonMath-ai/GLM-5.3-Uncensored-NVFP4", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use MoonMath-ai/GLM-5.3-Uncensored-NVFP4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MoonMath-ai/GLM-5.3-Uncensored-NVFP4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MoonMath-ai/GLM-5.3-Uncensored-NVFP4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/MoonMath-ai/GLM-5.3-Uncensored-NVFP4
- SGLang
How to use MoonMath-ai/GLM-5.3-Uncensored-NVFP4 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "MoonMath-ai/GLM-5.3-Uncensored-NVFP4" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MoonMath-ai/GLM-5.3-Uncensored-NVFP4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "MoonMath-ai/GLM-5.3-Uncensored-NVFP4" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MoonMath-ai/GLM-5.3-Uncensored-NVFP4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use MoonMath-ai/GLM-5.3-Uncensored-NVFP4 with Docker Model Runner:
docker model run hf.co/MoonMath-ai/GLM-5.3-Uncensored-NVFP4
GLM-5.3 MoonMath Dolly2 (NVFP4)
This is an abliterated ("uncensored") model. It is a research artifact intended for cybersecurity research. It may produce unexpected or unwanted output, is not evaluated for safety, and is not affiliated with Z.ai, the creator of GLM-5.3. No warranty.
This is the NVFP4 release of MoonMath Dolly2, our in-house abliterated GLM-5.3. It is quantized from MoonMath-ai/GLM-5.3-Uncensored-FP8 and keeps the FP8 model's quality while cutting the checkpoint from 756 GB to 464 GB, so the full model fits on a single node of 8ร 96 GB Blackwell GPUs.
- Model creator: MoonMath.ai (Zro)
- Base model: zai-org/GLM-5.3
- Parent checkpoint: MoonMath-ai/GLM-5.3-Uncensored-FP8
- Precision: NVFP4 routed experts, FP8 dense MLP, BF16 everything else (ModelOpt format)
Model description
Abliteration reduces a model's learned refusal behavior by intervening in its internal representations, without retraining. Our recipe is surgical: it modifies a small, targeted set of modules rather than broadly suppressing refusal directions:
- attention output projections (
self_attn.o_proj) and shared-expert projections (mlp.shared_experts.down_proj) - 29 modules across 21 layers (layers 30โ62 attention, layers 34โ44 shared experts)
Every module the abliteration touches stays in BF16 in this release. Only the routed experts are quantized to 4 bits, and those are untouched by abliteration.
Quantization
The layout mirrors nvidia/GLM-5.3-NVFP4 tensor-for-tensor, so it loads with the same SGLang code path:
| Modules | Format |
|---|---|
| Routed experts, layers 3โ77 | NVFP4 (W4A4, group 16, FP8 block scales + FP32 global scale) |
| Dense MLP, layers 0โ2 | FP8 per-tensor |
| Attention, DSA indexer, shared experts, MTP layer, embeddings, lm_head | BF16 |
Weights were dequantized from the FP8 checkpoint (128ร128 blocks) and requantized. Gate and up projections share one global scale so they fuse into a single kernel. Because routed-expert weights are identical to the base model, activation scales come from NVIDIA's calibration of GLM-5.3. Our per-expert weight global scales match NVIDIA's exactly across all 57,600 quantized experts. Routed-expert weight SNR vs. the FP8 parent is ~20.4 dB.
Quality benchmarks: NVFP4 vs FP8
NVFP4 scores were measured with stock lm-evaluation-harness 0.4.13 tasks (ifeval,
mmlu_pro, aime25) and no custom scorers, using the same item counts as the FP8 model card.
| Benchmark | Items | FP8 | NVFP4 | ฮ | NVFP4 std. err. |
|---|---|---|---|---|---|
| IFEval (prompt-level strict) | 100 prompts | 91.0 | 89.0 | โ2.0 | ยฑ3.1 |
| MMLU-Pro (5-shot CoT) | 208 questions | 89.0 | 86.5 | โ2.5 | ยฑ2.4 |
| AIME 2025 | 30 problems ร 2 samples | 73.3 | 76.7 | +3.4 | ยฑ5.5 |
All three differences are within about one standard error: NVFP4 matches the FP8 model at these sample sizes.
- FP8 numbers are from the FP8 model card (8ร AMD MI325X). NVFP4 numbers were measured on 8ร NVIDIA RTX PRO 6000 Blackwell with SGLang.
- Sampling: temperature 1.0, top_p 0.95, thinking enabled. IFEval and MMLU-Pro used a 32,768-token generation budget; AIME used 65,536 tokens.
- MMLU-Pro is a proportional sample across all 14 subjects (
--limit 0.0166).
Usage
SGLang
python3 -m sglang.launch_server \
--model-path MoonMath-ai/GLM-5.3-Uncensored-NVFP4 \
--tp-size 8 \
--quantization modelopt_fp4 \
--reasoning-parser glm45 \
--tool-call-parser glm47 \
--disable-shared-experts-fusion \
--trust-remote-code
--disable-shared-experts-fusion is required: the BF16 shared expert cannot be fused into the
NVFP4 routed-expert kernel. Tested with SGLang 0.5.22 on 8ร RTX PRO 6000 Blackwell (SM120).
NVFP4 needs a Blackwell GPU (SM100/SM120).
Intended uses and limitations
- Intended: cybersecurity research โ exploit analysis, authentication-flow review, abuse-of-service analysis, and general security workflows where refusals block legitimate work.
- Limitations: abliteration trades safety calibration for helpfulness. The model may answer requests that the base model would decline. It is not safety-evaluated; do not use it as a general-purpose assistant in sensitive deployments without your own evaluation.
Use it on Zro
Don't want to run 8 GPUs yourself? Dolly2 is served on Zro, MoonMath's private inference
platform, as Dolly 2 Security (dolly2-security). No GPU setup, and no prompts retained
after processing.
With the CLI (open source, MIT):
npm install -g @moonmath-ai/zro
zro login
zro launch claude --model dolly2-security
With the API (OpenAI-compatible):
curl https://zro.moonmath.ai/v1/chat/completions \
-H "Authorization: Bearer $ZRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"dolly2-security","messages":[{"role":"user","content":"Reply with OK"}]}'
Links: pricing ยท CLI docs ยท API reference ยท sign up ยท Dolly and me
License
GLM-5.3 is released by Z.ai under the GLM-5.3 model license (see LICENSE in the base repo). This checkpoint inherits the base model's license and terms.
Citation
@misc{moonmath2026dolly2,
title = {Dolly and me: Building cybersecurity models at Zro},
author = {MoonMath.ai},
year = {2026},
url = {https://zro.moonmath.ai/posts/dolly-and-me}
}
Acknowledgements
- Downloads last month
- -
Model tree for MoonMath-ai/GLM-5.3-Uncensored-NVFP4
Evaluation results
- Prompt-level strict acc. on IFEvalself-reported89.000
- 5-shot CoT accuracy on MMLU-Proself-reported86.500
- Accuracy on AIME 2025self-reported76.700