license: apache-2.0
language: [en, zh, ru]
base_model: Qwen/Qwen4-35B-A3B
base_model_relation: finetune
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: transformers
tags:
- tenet
- lancet
- unslop
- fp8
- vllm
- openrouter
- grpo
- abliterated
- uncensored
- agentic
- tool-use
- coding
- safetensors
- conversational
- mtp
- speculative-decoding
- doi:10.5281/zenodo.24705758
model-index: - name: Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3
results:- task:
type: text-generation
dataset:
name: IFEval
type: google/IFEval
metrics:- name: Prompt-level Strict Accuracy
type: ifeval_strict
value: 0.785582 - name: Instruction-level Strict Accuracy
type: ifeval_inst_strict
value: 0.85012
source:
name: Tenet OpenEvals (vLLM)
url: https://huggingface.co/mr-andrey-isachenko/Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3
- 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.868 - name: Accuracy
type: hendrycks_math500
value: 0.868
source:
name: Tenet OpenEvals (vLLM)
url: https://huggingface.co/mr-andrey-isachenko/Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3
- name: Accuracy
- task:
type: text-generation
dataset:
name: GSM8K
type: openai/gsm8k
metrics:- name: Strict Match
type: gsm8k_cot_strict
value: 0.854435 - name: Accuracy
type: gsm8k_math_acc
value: 0.949204 - name: Flexible Extract
type: gsm8k_cot_flexible
value: 0.949204
source:
name: Tenet OpenEvals (vLLM)
url: https://huggingface.co/mr-andrey-isachenko/Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3
- name: Strict Match
- task:
type: text-generation
dataset:
name: GPQA Diamond
type: Idavidrein/gpqa
metrics:- name: Accuracy
type: gpqa_diamond
value: 0.69697 - name: Zero-shot Accuracy
type: gpqa_diamond_zeroshot
value: 0.69697
source:
name: Tenet OpenEvals (vLLM)
url: https://huggingface.co/mr-andrey-isachenko/Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3
- name: Accuracy
- task:
type: text-generation
dataset:
name: MMLU-Pro
type: TIGER-Lab/MMLU-Pro
metrics:- name: Accuracy
type: mmlu_pro
value: 0.764881
source:
name: Tenet OpenEvals (vLLM)
url: https://huggingface.co/mr-andrey-isachenko/Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3
- name: Accuracy
- task:
Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3
Model overview
Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3 restores de-refusal and de-slop behaviour without the
reasoning damage of naive abliteration: a Tenet fine-tune ofQwen/Qwen4-35B-A3B, surgical de-refusal and de-slop
work by the Lancet engine, finalized
with gated unslop GRPO and exported as a full BF16 safetensors checkpoint (plus 281 KB native GGUF LoRA and CKA-GGUF ladder). 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 v3 Collection.
❤️ 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 Qwen/Qwen4-35B-A3B --load-in-4bit --export-lora --lora-format gguf
Official GGUF quants available: this model's llama.cpp /
Ollama / LM Studio weights live in the companion repository
Tenet-Qwen4-35B-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.⚠️ Note on third-party automated quants: generic uniform quantizers
compress MoE router gates uniformly and degrade Lancet subspace
orthogonality. Always prefer the official CKA-protected GGUF above.
ollama run hf.co/mr-andrey-isachenko/Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3-GGUF:Q4_K_M
llama-cli -hf mr-andrey-isachenko/Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3-GGUF:Q4_K_M -ngl 99 -c 16384 -cnv
LM Studio: search for Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3-GGUF and pick the quantization that fits
your VRAM budget.
Why Tenet instead of Naive Abliteration?
| Metric | Base | Naive Abliteration | Tenet (BF16) | Tenet (FP8 E4M3) |
|---|---|---|---|---|
| Max Row Crest-Factor (< 25.0) | — | — | 18.48 | 18.48 |
| MoE Router Weight Drift | — | — | 0.00 | 0.00 |
| Untouched Expert Ratio | — | — | 0.96 | 0.96 |
| Loop Controller Drift | — | — | 0.00 | 0.00 |
Lancet surgery engine
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.
H21 + H22 Surgical Verification Passport (Qwen4-35B-A3B)

| Surgical Invariant | Measured Value |
|---|---|
| Edited Layer Window | L22..L29 (8 of 40 layers) |
Untouched Routed Experts (H21) |
95.8% (1,961 / 2,048 bit-identical; 87 edited) |
Ally-Protected Gated Columns (H21) |
46.3% (36,755 / 79,360 columns frozen) |
| MoE Router & 512 PLE Shard Drift | 0.0 (frozen_keys_checked = 512) |
MTP Speculative Drafter Sync (H22) |
-57.43% KL (0.000883 → 0.000376, 4 drafter tensors synced) |
Max Block-16 Crest Factor (H18 Quant-Snap) |
3.20 |
Native llama.cpp LoRA Bundle |
lora/gguf_lora-f16.gguf (281 KB, rank-2 over 16 L22–29 dense/shared projections) |
Side-by-Side: Naive Abliteration vs Tenet (Engineering & SQL Tool-Call)
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"}}
External Benchmarks
Base vs Naive Abliteration vs Tenet (Three-Arm External Eval)
| Benchmark | Base | Naive Abliteration | Tenet | Δ (Tenet vs Base) | Δ (Tenet vs Naive) |
|---|---|---|---|---|---|
| IFEval (strict) | 0.79 | 0.77 | 0.79 | -3.70e-03 | +0.01 |
| IFEval (inst strict) | 0.85 | 0.84 | 0.85 | +1.20e-03 | +5.99e-03 |
| GSM8K CoT (strict) | 0.91 | 0.91 | 0.85 | -0.06 | -0.06 |
| GSM8K CoT (flexible) | 0.96 | 0.95 | 0.95 | -0.01 | -3.79e-03 |
| MATH-500 | 0.87 | 0.86 | 0.87 | +2.00e-03 | +0.01 |
| GPQA Diamond | 0.68 | 0.77 | 0.70 | +0.02 | -0.07 |
| MMLU-Pro | 0.76 | 0.79 | 0.76 | +3.97e-03 | -0.02 |
Quickstart (vLLM FP8 / Transformers / llama.cpp CKA-Quant)
vLLM (FP8)
vllm serve Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3 --quantization fp8 --max-model-len 32768
Transformers
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "Tenet-Qwen4-35B-A3B-Abliterated-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.cpp (CKA-Quant GGUF)
llama-cli -m ./Tenet-Qwen4-35B-A3B-Abliterated-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 GGUF / Local Inference (llama.cpp)
Official quantizations are published in the dedicated companion repository
Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3-GGUF (mr-andrey-isachenko/Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3-GGUF), covering the full quant
ladder while keeping the CKA-protected surgical subspace intact:
| File | Quant |
|---|---|
Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3-IQ4_XS.gguf |
IQ4_XS |
Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3-Q4_K_M.gguf |
Q4_K_M |
Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3-Q5_K_M.gguf |
Q5_K_M |
Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3-Q6_K.gguf |
Q6_K |
Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3-Q8_0.gguf |
Q8_0 |
llama.cpp
llama-cli -hf mr-andrey-isachenko/Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3-GGUF:Q4_K_M -ngl 99 -c 16384 -cnv
Ollama
ollama run hf.co/mr-andrey-isachenko/Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3-GGUF:Q4_K_M
LM Studio
Search Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3-GGUF in LM Studio (or open
https://huggingface.co/mr-andrey-isachenko/Tenet-Qwen4-35B-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.
Intended Use & Safety Alignment Scope
Tenet-Qwen4-35B-A3B-Abliterated-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.
Deployment & inference
vLLM (FP8)
vllm serve Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3 --quantization fp8
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1")
response = client.chat.completions.create(
model="Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
Ollama / GGUF
# Modelfile
FROM ./Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3-Q4_K_M.gguf
PARAMETER temperature 0.7
ollama create tenet-qwen4-35b-a3b-abliterated-unslop-v3 -f Modelfile
ollama run tenet-qwen4-35b-a3b-abliterated-unslop-v3
MLX
mlx_lm.generate \
--model Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3 \
--prompt "Explain norm-preserving subspace surgery." \
--max-tokens 512
OpenRouter
Tenet-Qwen4-35B-A3B-Abliterated-Unslop-v3 is served on OpenRouter by FP8-native providers with zerotrust_remote_code required - the config ships no auto_map and no
custom modeling code, so hosts need only standard support:
- DeepInfra - FP8 (E4M3) vLLM deployment
- Novita AI - FP8 vLLM deployment
- Chutes - serverless FP8 deployment
- Featherless - managed vLLM deployment
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-Qwen4-35B-A3B-Abliterated-Unslop-v3",
messages=[{"role": "user", "content": "Hello!"}],
)
Reproducible Reconstruction (ADR-006)
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_layersand per-layerlayer_weights.lancet_basis.safetensors- the compact basis artifact with one
orthonormallayer_<idx>tensor (shape(k, d_model)) per
steered layer.
Deterministic reconstruction:
- Start from the untouched upstream base checkpoint
Qwen/Qwen4-35B-A3B. - Apply the bi-projected norm-preserving subspace surgery using the
layer_<idx>basis rows fromlancet_basis.safetensorsfor each
layer listed inselected_layers, restoring the residual norm
exactly so activation magnitudes stay on-manifold. - Verify against
probes_sha256: the probe manifest checksum must
match the published recipe, making the reconstruction
deterministic relative to the released BF16 surgery output.
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 Qwen/Qwen4-35B-A3B
# Or export a ~35 MB native llama.cpp .gguf LoRA in 4-bit on 16 GB VRAM:
tenet Qwen/Qwen4-35B-A3B --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}},
}