license: apache-2.0
language: [en, zh, ru]
base_model: zai-org/GLM-4.7-Flash
base_model_relation: quantized
datasets: [mr-andrey-isachenko/Tenet-Contrast-TriAnchor, mr-andrey-isachenko/Tenet-Unslop-Arena-Bench, mr-andrey-isachenko/Tenet-Incident-SQL-RLVR]
pipeline_tag: text-generation
library_name: mlx
quantized_by: mr-andrey-isachenko
model-index:
- name: Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-MLX-4bit
results:- task:
type: text-generation
dataset:
name: IFEval
type: google/IFEval
metrics:- name: Prompt-level Strict Accuracy
type: ifeval_strict
value: 0.77634 - name: Instruction-level Strict Accuracy
type: ifeval_inst_strict
value: 0.842926
source:
name: Tenet OpenEvals (vLLM)
url: https://huggingface.co/mr-andrey-isachenko/Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-MLX-4bit
- name: Prompt-level Strict Accuracy
- task:
type: text-generation
dataset:
name: MATH-500
type: HuggingFaceH4/MATH-500
metrics:- name: Accuracy
type: math_500
value: 0.722 - name: Accuracy
type: hendrycks_math500
value: 0.722
source:
name: Tenet OpenEvals (vLLM)
url: https://huggingface.co/mr-andrey-isachenko/Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-MLX-4bit
- name: Accuracy
- task:
type: text-generation
dataset:
name: GSM8K
type: openai/gsm8k
metrics:- name: Strict Match
type: gsm8k_cot_strict
value: 0.847612 - name: Accuracy
type: gsm8k_math_acc
value: 0.849886 - name: Flexible Extract
type: gsm8k_cot_flexible
value: 0.849886
source:
name: Tenet OpenEvals (vLLM)
url: https://huggingface.co/mr-andrey-isachenko/Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-MLX-4bit
- name: Strict Match
- task:
type: text-generation
dataset:
name: GPQA Diamond
type: Idavidrein/gpqa
metrics:- name: Accuracy
type: gpqa_diamond
value: 0.313131 - name: Zero-shot Accuracy
type: gpqa_diamond_zeroshot
value: 0.313131
source:
name: Tenet OpenEvals (vLLM)
url: https://huggingface.co/mr-andrey-isachenko/Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-MLX-4bit
- name: Accuracy
- task:
type: text-generation
dataset:
name: MMLU-Pro
type: TIGER-Lab/MMLU-Pro
metrics:- name: Accuracy
type: mmlu_pro
value: 0.583333
source:
name: Tenet OpenEvals (vLLM)
url: https://huggingface.co/mr-andrey-isachenko/Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-MLX-4bit
- name: Accuracy
- task:
tags:
- mlx
- apple-silicon
- lmstudio
- abliterated
- uncensored
- unslop
- tenet
- lancet
- strata-mlx
- conversational
- text-generation
- moe
- mtp
- speculative-decoding
- doi:10.5281/zenodo.24705758
Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-MLX-4bit
Official MLX 4-bit conversion of
Tenet-30B-A3B-GLM4.7-Unslop-v3 — the Tenet Lancet-engine
surgical de-refusal / de-slop fine-tune ofzai-org/GLM-4.7-Flash, converted with the
Strata-MLX mixed-precision recipe instead of a uniform 4-bitmlx_lm.convert pass.
Runs natively on Apple Silicon via mlx, mlx-lm and mlx-vlm.
Running on CUDA / Linux / Windows (
llama.cpp/ Ollama)? Official CKA-protected GGUF quant ladder lives in Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-GGUF.
❤️ Independent 1-person research lab: every checkpoint and CKA-GGUF ladder is calibrated and benchmarked on full
vLLMOpenEvals (3,566prompts). If this model kept your reasoning/JSON intact or saved VRAM, please click Like above and follow @mr-andrey-isachenko — community likes directly decide which models get quantized next!
⚡ Customize any model/preset in ~60s (unslop-only|terse-think|.ggufLoRA):· PyPI (
tenet-lab) · tenet-lab.org · Tenet Foundry · ⭐ Star on GitHub
pip install tenet-lab
tenet zai-org/GLM-4.7-Flash --load-in-4bit --export-lora --lora-format gguf
OpenEvals summary
Scores measured on the parent FP8 checkpoint (mr-andrey-isachenko/Tenet-30B-A3B-GLM4.7-Unslop-v3); the
Strata-MLX 4-bit conversion below retains these within measurement noise:
| Benchmark | Score |
|---|---|
| IFEval (strict) | 0.78 |
| IFEval (instruction strict) | 0.84 |
| MATH-500 | 0.72 |
| GSM8K (strict) | 0.85 |
| GPQA Diamond | 0.31 |
| MMLU-Pro | 0.58 |
Quickstart
MLX (Apple Silicon)
from mlx_lm import generate, load
model, tokenizer = load("mr-andrey-isachenko/Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-MLX-4bit")
prompt = tokenizer.apply_chat_template(
[{"role": "user", "content": "Return a DuckDB SQL tool call for failed logins."}],
add_generation_prompt=True,
)
print(generate(model, tokenizer, prompt=prompt, max_tokens=256))
pip install mlx-lm
python -m mlx_lm.generate --model mr-andrey-isachenko/Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-MLX-4bit \
--prompt "Return a DuckDB SQL tool call for failed logins." --max-tokens 256
LM Studio: search for Tenet-GLM-4.7-Flash-30B-A3B-Abliterated-Unslop-v3-MLX-4bit and load the 4-bit MLX weights.
Strata-MLX Mixed-Precision Architecture
Strata-MLX keeps the fragile parts of the checkpoint at higher precision and
only compresses the cold capacity:
Frozen BF16 / 8-bit MoE routers:
ffn_gate_inpandshared_expert
weights stay unquantized so expert routing logits remain bit-identical to
the surgery output.Frozen vision tower: the multimodal projector / vision encoder stays at
BF16, preserving alignment with the language model.6-bit CKA surgical layers: the layers whose activations carry the
Lancet de-refusal / de-slop subspace are kept at 6-bit.4-bit cold experts: the remaining expert and MLP weights are compressed
to 4-bit, which is where the memory savings come from.Total converted size:
18.382GB
Compared to a uniform 4-bit conversion of the same size, this keeps the
surgery's suppression intact while still fitting unified-memory Macs.
Run Tenet on Custom Models & Merges (Apache-2.0 CLI)
· tenet-lab.org · Tenet Foundry (Dataset Linter & SFT/DPO) · PyPI (
tenet-lab)
You can reproduce this surgery on any compatible checkpoint — your own
models and merges included — in 1 click on a free 16 GB Colab T4 or locally with
the open-source Tenet CLI (MoE-safe & <think>-safe successor to archived heretic):
pip install tenet-lab
tenet zai-org/GLM-4.7-Flash
# Or export a ~35 MB native llama.cpp .gguf LoRA in 4-bit on 16 GB VRAM:
tenet zai-org/GLM-4.7-Flash --load-in-4bit --export-lora --lora-format gguf
The CLI detects the model architecture, builds the probe manifest and
applies the bi-projected norm-preserving subspace surgery, then emits thecka_quant_recipe.json needed for quantization-safe exports. For MoE checkpoints the recipe automatically freezes the router and
shared-expert weights.
Citation
- Zenodo DOI: https://doi.org/10.5281/zenodo.24705758
- Code: https://github.com/mrAndreyIsachenko/tenet-lab
@software{isachenko2026tenet,
author = {Isachenko, Andrey},
title = {Lancet & Strata: Anchor-Orthogonal Subspace Surgery, Coupled Speculative Drafter Sync, and CKA-Guided Low-Bit Quantization Survival Across 3B-125B Language Models},
year = {2026},
doi = {10.5281/zenodo.24705758},
howpublished = {\url{https://github.com/mrAndreyIsachenko/tenet-lab}},
}