How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "jarradh/GLM-4.7-heretic"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "jarradh/GLM-4.7-heretic",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker
docker model run hf.co/jarradh/GLM-4.7-heretic
Quick Links

GLM-4.7 - Heretic (Abliterated)

An abliterated version of Z.ai's GLM-4.7 created using Heretic (spikymoth:implement-mpoa). This model has reduced refusals while maintaining model quality.

Model Details

  • Base Model: zai-org/GLM-4.7
  • Abliteration Method: Heretic v1.1.0
  • Trial Selected: Trial 319
  • Refusals: 4/100
  • KL Divergence: 0.0181

Parameters

orthogonalize_direction = True

Parameter Value
direction_index 36.64
attn.o_proj.max_weight 3.87
attn.o_proj.max_weight_position 56.90
attn.o_proj.min_weight 1.83
attn.o_proj.min_weight_distance 49.40
mlp.down_proj.max_weight 2.29
mlp.down_proj.max_weight_position 55.31
mlp.down_proj.min_weight 0.66
mlp.down_proj.min_weight_distance 31.20
Downloads last month
54
Safetensors
Model size
353B params
Tensor type
F32
·
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for jarradh/GLM-4.7-heretic

Base model

zai-org/GLM-4.7
Finetuned
(22)
this model