GLM-4.7-Flash K-Guard Soft 56E Control

Public research-control checkpoint from the GLM-4.7-Flash K-Guard REAP study.

  • Routed experts: 64 โ†’ 56 per MoE layer (12.5% pruning)
  • Active experts per token: top-4 unchanged
  • Base revision: 7dd20894a642a0aa287e9827cb1a1f7f91386b67
  • Role: soft-protection control
  • Fine-tuning: none
  • Precision: BF16
  • Status: experimental; release_eligible=false

This checkpoint is published for reproducibility and controlled comparison. It is not the strict K-Guard 56E release candidate. It was evaluated in B22 and later selected over a new KO85 candidate on the separate B25 development set; because B25 retained the existing model, B26 correctly did not reinterpret its earlier held-out results as a new held-out run.

B22 controlled benchmark

All models below use the same 56E budget. Values are percentages. LiveCodeBench uses v6, greedy n=1, so it is not directly interchangeable with official n=10 leaderboard scores.

Metric Base 64E SameCal REAP 56E Soft K-Guard 56E
Korean MC macro 68.79 66.79 66.79
Academic 10-benchmark macro 65.51 64.51 64.97
Coding 3-benchmark macro 58.28 57.54 58.38

The Korean macro difference between Soft K-Guard and SameCal REAP was approximately 0.00 pp with a paired stratified bootstrap 95% interval of [-1.02, 1.03]. This run therefore does not establish a Korean causal advantage from soft protection. It is a useful control, not evidence of a general improvement.

Loading

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "buugiiiiii/GLM-4.7-Flash-KGuard-Soft-56E-Control"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    torch_dtype=torch.bfloat16,
    device_map="auto",
)

Use a recent Transformers version that supports Glm4MoeLiteForCausalLM.

Limitations

  • One calibration run and one 56E budget; calibration-seed stability is unknown.
  • The checkpoint is not production-certified and has no fine-tuning recovery.
  • Top-4 routing is unchanged, so checkpoint reduction does not by itself prove higher decode throughput.
  • The public weights support reproducibility; the experiment code and detailed manifests remain in the associated private research repository.
Downloads last month
14
Safetensors
Model size
28B params
Tensor type
BF16
ยท
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for buugiiiiii/GLM-4.7-Flash-KGuard-Soft-56E-Control

Finetuned
(86)
this model