darkc0de / GLM-4.7-Flash-heretic-1.2.0

huggingface.co
Total runs: 333
24-hour runs: 0
7-day runs: 111
30-day runs: 333
Model's Last Updated: February 25 2026
text-generation

Introduction of GLM-4.7-Flash-heretic-1.2.0

Model Details of GLM-4.7-Flash-heretic-1.2.0

This is a decensored version of unsloth/GLM-4.7-Flash , made using Heretic v1.2.0

Abliteration parameters
Parameter Value
direction_index 21.41
attn.o_proj.max_weight 1.37
attn.o_proj.max_weight_position 33.86
attn.o_proj.min_weight 1.22
attn.o_proj.min_weight_distance 18.50
mlp.down_proj.max_weight 1.50
mlp.down_proj.max_weight_position 29.44
mlp.down_proj.min_weight 0.66
mlp.down_proj.min_weight_distance 3.57
Performance
Metric This model Original model ( unsloth/GLM-4.7-Flash )
KL divergence 0.0033 0 (by definition)
Refusals 15/100 51/100

Includes Unsloth chat template fixes !
For llama.cpp , use --jinja

Unsloth Dynamic 2.0 achieves superior accuracy & outperforms other leading quants.

GLM-4.7-Flash

👋 Join our Discord community.
📖 Check out the GLM-4.7 technical blog , technical report(GLM-4.5) .
📍 Use GLM-4.7-Flash API services on Z.ai API Platform.
👉 One click to GLM-4.7 .

Introduction

GLM-4.7-Flash is a 30B-A3B MoE model. As the strongest model in the 30B class, GLM-4.7-Flash offers a new option for lightweight deployment that balances performance and efficiency.

Performances on Benchmarks
Benchmark GLM-4.7-Flash Qwen3-30B-A3B-Thinking-2507 GPT-OSS-20B
AIME 25 91.6 85.0 91.7
GPQA 75.2 73.4 71.5
LCB v6 64.0 66.0 61.0
HLE 14.4 9.8 10.9
SWE-bench Verified 59.2 22.0 34.0
τ²-Bench 79.5 49.0 47.7
BrowseComp 42.8 2.29 28.3
Serve GLM-4.7-Flash Locally

For local deployment, GLM-4.7-Flash supports inference frameworks including vLLM and SGLang. Comprehensive deployment instructions are available in the official Github repository.

vLLM and SGLang only support GLM-4.7-Flash on their main branches.

vLLM
  • using pip (must use pypi.org as the index url):
pip install -U vllm --pre --index-url https://pypi.org/simple --extra-index-url https://wheels.vllm.ai/nightly
pip install git+https://github.com/huggingface/transformers.git
SGLang
  • using pip install sglang from source, then update transformers to the latest main branch.
transformers

using with transformers as

pip install git+https://github.com/huggingface/transformers.git

and then run:

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

MODEL_PATH = "zai-org/GLM-4.7-Flash"
messages = [{"role": "user", "content": "hello"}]
tokenizer = AutoTokenizer.from_pretrained(MODEL_PATH)
inputs = tokenizer.apply_chat_template(
    messages,
    tokenize=True,
    add_generation_prompt=True,
    return_dict=True,
    return_tensors="pt",
)
model = AutoModelForCausalLM.from_pretrained(
    pretrained_model_name_or_path=MODEL_PATH,
    torch_dtype=torch.bfloat16,
    device_map="auto",
)
inputs = inputs.to(model.device)
generated_ids = model.generate(**inputs, max_new_tokens=128, do_sample=False)
output_text = tokenizer.decode(generated_ids[0][inputs.input_ids.shape[1]:])
print(output_text)
vLLM
vllm serve zai-org/GLM-4.7-Flash \
     --tensor-parallel-size 4 \
     --speculative-config.method mtp \
     --speculative-config.num_speculative_tokens 1 \
     --tool-call-parser glm47 \
     --reasoning-parser glm45 \
     --enable-auto-tool-choice \
     --served-model-name glm-4.7-flash
SGLang
python3 -m sglang.launch_server \
  --model-path zai-org/GLM-4.7-Flash \
  --tp-size 4 \
  --tool-call-parser glm47  \
  --reasoning-parser glm45 \
  --speculative-algorithm EAGLE \
  --speculative-num-steps 3 \
  --speculative-eagle-topk 1 \
  --speculative-num-draft-tokens 4 \
  --mem-fraction-static 0.8 \
  --served-model-name glm-4.7-flash \
  --host 0.0.0.0 \
  --port 8000
Citation

If you find our work useful in your research, please consider citing the following paper:

@misc{5team2025glm45agenticreasoningcoding,
      title={GLM-4.5: Agentic, Reasoning, and Coding (ARC) Foundation Models}, 
      author={GLM Team and Aohan Zeng and Xin Lv and Qinkai Zheng and Zhenyu Hou and Bin Chen and Chengxing Xie and Cunxiang Wang and Da Yin and Hao Zeng and Jiajie Zhang and Kedong Wang and Lucen Zhong and Mingdao Liu and Rui Lu and Shulin Cao and Xiaohan Zhang and Xuancheng Huang and Yao Wei and Yean Cheng and Yifan An and Yilin Niu and Yuanhao Wen and Yushi Bai and Zhengxiao Du and Zihan Wang and Zilin Zhu and Bohan Zhang and Bosi Wen and Bowen Wu and Bowen Xu and Can Huang and Casey Zhao and Changpeng Cai and Chao Yu and Chen Li and Chendi Ge and Chenghua Huang and Chenhui Zhang and Chenxi Xu and Chenzheng Zhu and Chuang Li and Congfeng Yin and Daoyan Lin and Dayong Yang and Dazhi Jiang and Ding Ai and Erle Zhu and Fei Wang and Gengzheng Pan and Guo Wang and Hailong Sun and Haitao Li and Haiyang Li and Haiyi Hu and Hanyu Zhang and Hao Peng and Hao Tai and Haoke Zhang and Haoran Wang and Haoyu Yang and He Liu and He Zhao and Hongwei Liu and Hongxi Yan and Huan Liu and Huilong Chen and Ji Li and Jiajing Zhao and Jiamin Ren and Jian Jiao and Jiani Zhao and Jianyang Yan and Jiaqi Wang and Jiayi Gui and Jiayue Zhao and Jie Liu and Jijie Li and Jing Li and Jing Lu and Jingsen Wang and Jingwei Yuan and Jingxuan Li and Jingzhao Du and Jinhua Du and Jinxin Liu and Junkai Zhi and Junli Gao and Ke Wang and Lekang Yang and Liang Xu and Lin Fan and Lindong Wu and Lintao Ding and Lu Wang and Man Zhang and Minghao Li and Minghuan Xu and Mingming Zhao and Mingshu Zhai and Pengfan Du and Qian Dong and Shangde Lei and Shangqing Tu and Shangtong Yang and Shaoyou Lu and Shijie Li and Shuang Li and Shuang-Li and Shuxun Yang and Sibo Yi and Tianshu Yu and Wei Tian and Weihan Wang and Wenbo Yu and Weng Lam Tam and Wenjie Liang and Wentao Liu and Xiao Wang and Xiaohan Jia and Xiaotao Gu and Xiaoying Ling and Xin Wang and Xing Fan and Xingru Pan and Xinyuan Zhang and Xinze Zhang and Xiuqing Fu and Xunkai Zhang and Yabo Xu and Yandong Wu and Yida Lu and Yidong Wang and Yilin Zhou and Yiming Pan and Ying Zhang and Yingli Wang and Yingru Li and Yinpei Su and Yipeng Geng and Yitong Zhu and Yongkun Yang and Yuhang Li and Yuhao Wu and Yujiang Li and Yunan Liu and Yunqing Wang and Yuntao Li and Yuxuan Zhang and Zezhen Liu and Zhen Yang and Zhengda Zhou and Zhongpei Qiao and Zhuoer Feng and Zhuorui Liu and Zichen Zhang and Zihan Wang and Zijun Yao and Zikang Wang and Ziqiang Liu and Ziwei Chai and Zixuan Li and Zuodong Zhao and Wenguang Chen and Jidong Zhai and Bin Xu and Minlie Huang and Hongning Wang and Juanzi Li and Yuxiao Dong and Jie Tang},
      year={2025},
      eprint={2508.06471},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2508.06471}, 
}

Runs of darkc0de GLM-4.7-Flash-heretic-1.2.0 on huggingface.co

333
Total runs
0
24-hour runs
71
3-day runs
111
7-day runs
333
30-day runs

More Information About GLM-4.7-Flash-heretic-1.2.0 huggingface.co Model

More GLM-4.7-Flash-heretic-1.2.0 license Visit here:

https://choosealicense.com/licenses/mit

GLM-4.7-Flash-heretic-1.2.0 huggingface.co

GLM-4.7-Flash-heretic-1.2.0 huggingface.co is an AI model on huggingface.co that provides GLM-4.7-Flash-heretic-1.2.0's model effect (), which can be used instantly with this darkc0de GLM-4.7-Flash-heretic-1.2.0 model. huggingface.co supports a free trial of the GLM-4.7-Flash-heretic-1.2.0 model, and also provides paid use of the GLM-4.7-Flash-heretic-1.2.0. Support call GLM-4.7-Flash-heretic-1.2.0 model through api, including Node.js, Python, http.

GLM-4.7-Flash-heretic-1.2.0 huggingface.co Url

https://huggingface.co/darkc0de/GLM-4.7-Flash-heretic-1.2.0

darkc0de GLM-4.7-Flash-heretic-1.2.0 online free

GLM-4.7-Flash-heretic-1.2.0 huggingface.co is an online trial and call api platform, which integrates GLM-4.7-Flash-heretic-1.2.0's modeling effects, including api services, and provides a free online trial of GLM-4.7-Flash-heretic-1.2.0, you can try GLM-4.7-Flash-heretic-1.2.0 online for free by clicking the link below.

darkc0de GLM-4.7-Flash-heretic-1.2.0 online free url in huggingface.co:

https://huggingface.co/darkc0de/GLM-4.7-Flash-heretic-1.2.0

GLM-4.7-Flash-heretic-1.2.0 install

GLM-4.7-Flash-heretic-1.2.0 is an open source model from GitHub that offers a free installation service, and any user can find GLM-4.7-Flash-heretic-1.2.0 on GitHub to install. At the same time, huggingface.co provides the effect of GLM-4.7-Flash-heretic-1.2.0 install, users can directly use GLM-4.7-Flash-heretic-1.2.0 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

GLM-4.7-Flash-heretic-1.2.0 install url in huggingface.co:

https://huggingface.co/darkc0de/GLM-4.7-Flash-heretic-1.2.0

Url of GLM-4.7-Flash-heretic-1.2.0

GLM-4.7-Flash-heretic-1.2.0 huggingface.co Url

Provider of GLM-4.7-Flash-heretic-1.2.0 huggingface.co

darkc0de
ORGANIZATIONS

Other API from darkc0de

huggingface.co

Total runs: 3.0K
Run Growth: 458
Growth Rate: 17.46%
Updated:September 28 2026
huggingface.co

Total runs: 2.1K
Run Growth: 2.1K
Growth Rate: 100.00%
Updated:September 25 2026
huggingface.co

Total runs: 2.0K
Run Growth: 537
Growth Rate: 26.45%
Updated:September 07 2026
huggingface.co

Total runs: 350
Run Growth: -35
Growth Rate: -10.00%
Updated:May 05 2025
huggingface.co

Total runs: 315
Run Growth: 245
Growth Rate: 77.78%
Updated:March 27 2026
huggingface.co

Total runs: 219
Run Growth: -189
Growth Rate: -86.30%
Updated:September 28 2026
huggingface.co

Total runs: 28
Run Growth: 8
Growth Rate: 28.57%
Updated:April 24 2025
huggingface.co

Total runs: 12
Run Growth: 0
Growth Rate: 0.00%
Updated:September 15 2024