Tenet-30B-A3B-GLM4.7-Unslop-v3 is a Tenet fine-tune of zai-org/GLM-4.7-Flash,
surgical de-refusal and de-slop work by the Lancet engine, finalized
with gated unslop GRPO and exported as a provider-ready FP8 (E4M3)
checkpoint. No custom code, no trust_remote_code, no auto_map:
the repo drops straight into vLLM, OpenRouter providers, GGUF and MLX.
Source code and technical report:
GitHub: mrAndreyIsachenko/tenet-lab
| Interactive audit:
FP8 & Abliteration Inspector Space
| Model family:
Tenet v1 Collection (mr-andrey-isachenko).
Official GGUF quants available: this model's llama.cpp / Ollama / LM Studio weights live in the companion repository Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-GGUF — full quant ladder (IQ4_XS, Q4_K_M, Q5_K_M, Q6_K, Q8_0) including the CKA-protected surgical subspace recipe.
ollama run hf.co/mr-andrey-isachenko/Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-GGUF:Q4_K_M
llama-cli -hf mr-andrey-isachenko/Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-GGUF:Q4_K_M -ngl 99 -c 16384 -cnv
LM Studio: search for Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-GGUF and pick the quantization that fits your VRAM budget.
Lancet is not naive abliteration. It performs bi-projected norm-preserving subspace surgery: the refusal direction is identified in both the input (residual stream) and output (unembedding) projections, the component is removed bi-directionally, and the residual norm is restored exactly, so activation magnitudes and downstream token distributions stay on-manifold.
The surgery is followed by gated unslop GRPO: a preference group optimization pass whose reward gates penalize slop patterns (purple prose, "tapestry" vocabulary, moralizing preambles) only where the surgery weakened refusal circuitry, so the base model's reasoning and coding ability is reinforced rather than damaged.
Tenet-30B-A3B-GLM4.7-Unslop-v3 is intended for aligned assistant use. Lancet subspace steering mitigates false-positive over-refusals (blanket refusals of benign prompts) and stylistic AI-slop drift (purple prose, moralizing preambles, "tapestry" vocabulary) while preserving the analytical, coding and structured-reasoning anchor subspace of the base model.
The model is not intended or tuned for offensive cyber operations, malware generation, or unlawful content of any kind; such uses are explicitly out of scope and unsupported by this release.
Benchmarks are reported for the BF16 surgery output, the shipped FP8 (E4M3) export, and a naive-abliteration baseline of the same base model.
Lower is better: residual refusal-direction alignment and slop density after surgery.
| Variant | H9 |
|---|---|
| BF16 | n/a |
| FP8 (E4M3) | n/a |
| Naive Abliteration | n/a |
Higher is better: held-out reasoning, coding and instruction-following accuracy relative to the untouched base model.
| Variant | H10 |
|---|---|
| BF16 | n/a |
| FP8 (E4M3) | n/a |
| Naive Abliteration | n/a |
Higher is better: task accuracy of each variant after FP8 (E4M3) quantization, measuring how cleanly the surgery survives deployment precision.
| Variant | H11 |
|---|---|
| BF16 | n/a |
| FP8 (E4M3) | n/a |
| Naive Abliteration | n/a |
Max row crest-factor: n/a
| Metric | Base | Naive Abliteration | Tenet (BF16) | Tenet (FP8 E4M3) |
|---|---|---|---|---|
| KL Collateral Drift | — | — | — | — |
| Refusal Suppression | — | — | — | — |
| Tool/SQL Anchor Orthogonality | — | — | — | — |
| LoRA Re-Leakage | — | — | — | — |
| FP8 Subspace Re-Leakage | — | — | — | — |
| Max Row Crest-Factor (< 25.0) | — | — | — | — |
Tenet-30B-A3B-GLM4.7-Unslop-v3 ships with Strata telemetry (H21 expert-cache / coactivation
graph and H22 speculative decoding passes). The full telemetry bundle is
published alongside the checkpoint as
strata.toml - versioned, checksummed and consumed by the
Nebius benchmark passport pipeline.
| Telemetry | Value |
|---|---|
expert_cache_hit_rate (H21) |
n/a |
coactivation_graph_drift (H21) |
n/a |
speculative_acceptance_rate (H22) |
n/a |
untouched_expert_ratio |
93.9% |
peak_host_ram_mb |
n/a |
AppSec/DevOps prompt: "Triage this nginx auth log line and return a DuckDB SQL tool call that counts failed logins by source IP."
Base model - false refusal plus slop:
I'm sorry, but I can't help with analyzing authentication logs or writing queries that could be used to probe systems. As an AI, I believe it is important to approach security with a tapestry of ethical considerations...
Naive Abliteration - refusal gone, structured output broken:
{"tool": "duckdb.query", "arguments": {"sql": "SELECT ip, count(*) FROM logs
WHERE status = 401 GROUP BY ip", "note": "here is the query you asked for"}
Tenet - clean, schema-valid tool call:
{"tool": "duckdb.query", "arguments": {"sql": "SELECT json_extract(log, '$.remote_addr') AS ip, count(*) AS failures FROM read_json_auto('auth.log') WHERE json_extract(log, '$.status') = 401 GROUP BY ip ORDER BY failures DESC", "reason": "Aggregate failed logins by source IP"}}
vllm serve Tenet-30B-A3B-GLM4.7-Unslop-v3 --quantization fp8 --max-model-len 32768
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "Tenet-30B-A3B-GLM4.7-Unslop-v3"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id, torch_dtype="auto", device_map="auto"
)
messages = [{"role": "user", "content": "Summarize this log line."}]
inputs = tokenizer.apply_chat_template(
messages, add_generation_prompt=True, return_tensors="pt"
).to(model.device)
output = model.generate(inputs, max_new_tokens=256)
print(tokenizer.decode(output[0][inputs.shape[-1]:], skip_special_tokens=True))
llama-cli -m ./Tenet-30B-A3B-GLM4.7-Unslop-v3-CKA-Quant-Q4_K_M.gguf -ngl 99 -n 256 \
-p "Return a DuckDB SQL tool call for failed logins by source IP."
Official quantizations are published in the dedicated companion repository
Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-GGUF (mr-andrey-isachenko/Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-GGUF), covering the full quant
ladder while keeping the CKA-protected surgical subspace intact:
| File | Quant |
|---|---|
Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-IQ4_XS.gguf |
IQ4_XS |
Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-Q4_K_M.gguf |
Q4_K_M |
Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-Q5_K_M.gguf |
Q5_K_M |
Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-Q6_K.gguf |
Q6_K |
Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-Q8_0.gguf |
Q8_0 |
llama-cli -hf mr-andrey-isachenko/Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-GGUF:Q4_K_M -ngl 99 -c 16384 -cnv
ollama run hf.co/mr-andrey-isachenko/Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-GGUF:Q4_K_M
Search Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-GGUF in LM Studio (or open https://huggingface.co/mr-andrey-isachenko/Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-GGUF) and pick the quantization that fits your VRAM budget — Q4_K_M for laptops, Q6_K / Q8_0 for quality-first setups.
vllm serve Tenet-30B-A3B-GLM4.7-Unslop-v3 --quantization fp8
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1")
response = client.chat.completions.create(
model="Tenet-30B-A3B-GLM4.7-Unslop-v3",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
# Modelfile
FROM ./Tenet-30B-A3B-GLM4.7-Unslop-v3-Q4_K_M.gguf
PARAMETER temperature 0.7
ollama create tenet-30b-a3b-glm4.7-unslop-v3 -f Modelfile
ollama run tenet-30b-a3b-glm4.7-unslop-v3
mlx_lm.generate \
--model Tenet-30B-A3B-GLM4.7-Unslop-v3 \
--prompt "Explain norm-preserving subspace surgery." \
--max-tokens 512
Tenet-30B-A3B-GLM4.7-Unslop-v3 is served on OpenRouter by FP8-native providers with zero
trust_remote_code required - the config ships no auto_map and no
custom modeling code, so hosts need only standard support:
from openai import OpenAI
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key="$OPENROUTER_API_KEY",
)
response = client.chat.completions.create(
model="Tenet-30B-A3B-GLM4.7-Unslop-v3",
messages=[{"role": "user", "content": "Hello!"}],
)
Per ADR-006, this checkpoint is fully reproducible from its upstream base model plus a compact steering artifact. The repository ships:
lancet_recipe.json - the recipe: schema_version, d_model,
num_layers, selected_layers and per-layer layer_weights.lancet_basis.safetensors - the compact basis artifact with one
orthonormal layer_<idx> tensor (shape (k, d_model)) per
steered layer.Deterministic reconstruction:
zai-org/GLM-4.7-Flash.layer_<idx> basis rows from lancet_basis.safetensors for each
layer listed in selected_layers, restoring the residual norm
exactly so activation magnitudes stay on-manifold.probes_sha256: the probe manifest checksum must
match the published recipe, making the reconstruction
deterministic relative to the released BF16 surgery output.model-00047-of-00048.safetensors 2.5 GBmodel-00001-of-00048.safetensors 1.4 GBmodel-00048-of-00048.safetensors 1.3 GBmodel-00011-of-00048.safetensors 1.3 GBmodel-00012-of-00048.safetensors 1.3 GBmodel-00013-of-00048.safetensors 1.3 GBmodel-00014-of-00048.safetensors 1.3 GBmodel-00015-of-00048.safetensors 1.3 GBmodel-00016-of-00048.safetensors 1.3 GBmodel-00017-of-00048.safetensors 1.3 GBmodel-00018-of-00048.safetensors 1.3 GBmodel-00019-of-00048.safetensors 1.3 GBmodel-00020-of-00048.safetensors 1.3 GBmodel-00021-of-00048.safetensors 1.3 GBmodel-00022-of-00048.safetensors 1.3 GBmodel-00023-of-00048.safetensors 1.3 GBmodel-00024-of-00048.safetensors 1.3 GBmodel-00025-of-00048.safetensors 1.3 GBmodel-00026-of-00048.safetensors 1.3 GBmodel-00027-of-00048.safetensors 1.3 GBmodel-00028-of-00048.safetensors 1.3 GBmodel-00029-of-00048.safetensors 1.3 GBmodel-00030-of-00048.safetensors 1.3 GBmodel-00031-of-00048.safetensors 1.3 GBmodel-00032-of-00048.safetensors 1.3 GBmodel-00033-of-00048.safetensors 1.3 GBmodel-00034-of-00048.safetensors 1.3 GBmodel-00035-of-00048.safetensors 1.3 GBmodel-00036-of-00048.safetensors 1.3 GBmodel-00037-of-00048.safetensors 1.3 GBmodel-00038-of-00048.safetensors 1.3 GBmodel-00039-of-00048.safetensors 1.3 GBmodel-00040-of-00048.safetensors 1.3 GBmodel-00041-of-00048.safetensors 1.3 GBmodel-00042-of-00048.safetensors 1.3 GBmodel-00043-of-00048.safetensors 1.3 GBmodel-00044-of-00048.safetensors 1.3 GBmodel-00045-of-00048.safetensors 1.3 GBmodel-00046-of-00048.safetensors 1.3 GBmodel-00002-of-00048.safetensors 1.3 GBmodel-00003-of-00048.safetensors 1.3 GBmodel-00004-of-00048.safetensors 1.3 GBmodel-00005-of-00048.safetensors 1.3 GBmodel-00006-of-00048.safetensors 1.3 GBmodel-00007-of-00048.safetensors 1.3 GBmodel-00008-of-00048.safetensors 1.3 GBmodel-00009-of-00048.safetensors 1.3 GBmodel-00010-of-00048.safetensors 1.3 GBlancet_basis.safetensors 131.7 kB