Tenet-12B-Nemo-Unslop-v1 is a Tenet fine-tune of mistralai/Mistral-Nemo-Instruct-2407,
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).
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-12B-Nemo-Unslop-v1 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.
Numbers come from the release pipeline's final_metrics.json runs: H9
Lancet bi-projected surgery, H10 gated unslop GRPO, H11 FP8 (E4M3)
quantization and H12 subspace-safe TIES merging.
Lower is better: residual refusal-direction alignment and slop density after bi-projected surgery.
| Metric | Value | Direction |
|---|---|---|
| Lancet KL Collateral | 9.75e-03 | Lower |
| Naive KL Collateral | 0.30 | Lower |
| KL Reduction Ratio | 0.97 | Higher |
| Target Suppression Ratio | 0.99 | Higher |
Higher is better: the gated GRPO pass reinforces held-out reasoning, coding and instruction-following instead of trading them away for de-sloping; the slop & refusal audit itself is lower-is-better.
| Metric | Value | Direction |
|---|---|---|
| Gated GRPO IFEval Score | 0.63 | Higher |
| Gated vs Naive/Additive Gain | 0.43 | Higher |
| Slop & Refusal Rate | 0.02 | Lower |
| Post-Merge Suppression Retention | 1.00 | Higher |
Higher retention and KL reduction are better; subspace re-leakage is lower-is-better and shows how cleanly the surgery survives FP8 (E4M3) deployment precision.
| Metric | Value | Direction |
|---|---|---|
| FP8 Retention Ratio | 0.97 | Higher |
| FP8 KL Reduction vs Naive | 0.49 | Higher |
| FP8 Subspace Re-Leakage Lancet | 0.18 | Lower |
| FP8 Subspace Re-Leakage Naive | 0.50 | Lower |
Higher retention and merge gain are better; the subspace-safe merge re-leakage is lower-is-better and proves the TIES merge stays orthogonal to the tool/SQL anchor subspace.
| Metric | Value | Direction |
|---|---|---|
| SQL-Incident Retention | 1.00 | Higher |
| Unslop Retention | 1.00 | Higher |
| Subspace-Safe Merge Re-Leakage | 6.63e-08 | Lower |
| TIES Bi-Projected vs Naive Gain | 0.78 | Higher |
Max row crest-factor: 10.65
Max absolute weight: 0.92
| Metric | Base | Naive Abliteration | Tenet (BF16) | Tenet (FP8 E4M3) |
|---|---|---|---|---|
| KL Collateral Drift | — | 0.30 | 9.75e-03 | 0.18 |
| Refusal Suppression | — | — | 0.99 | 1.00 |
| Tool/SQL Anchor Orthogonality | — | 0.81 | 3.00e-08 | 0.13 |
| LoRA Re-Leakage | — | 0.81 | 0.13 | 0.18 |
| FP8 Subspace Re-Leakage | — | 0.50 | — | 0.18 |
| Max Row Crest-Factor (< 25.0) | — | — | 10.65 | 10.65 |
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-12B-Nemo-Unslop-v1 --quantization fp8 --max-model-len 32768
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "Tenet-12B-Nemo-Unslop-v1"
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-12B-Nemo-Unslop-v1-CKA-Quant-Q4_K_M.gguf -ngl 99 -n 256 \
-p "Return a DuckDB SQL tool call for failed logins by source IP."
Community quantizations by mradermacher are available for Tenet-12B-Nemo-Unslop-v1:
llama-cli -hf mradermacher/Tenet-12B-Nemo-Unslop-v1-i1-GGUF:Q4_K_M -ngl 99 -n 512 \
-p "Return a DuckDB SQL tool call for failed logins by source IP."
ollama run hf.co/mradermacher/Tenet-12B-Nemo-Unslop-v1-i1-GGUF:Q6_K
Search Tenet-12B-Nemo-Unslop-v1 in LM Studio (or open https://huggingface.co/mradermacher/Tenet-12B-Nemo-Unslop-v1-i1-GGUF) and pick the i1-Q4_K_M (laptop-friendly) or i1-Q6_K (quality-first) quantization, then chat with the default conversation preset.
vllm serve Tenet-12B-Nemo-Unslop-v1 --quantization fp8
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1")
response = client.chat.completions.create(
model="Tenet-12B-Nemo-Unslop-v1",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
# Modelfile
FROM ./Tenet-12B-Nemo-Unslop-v1-Q4_K_M.gguf
PARAMETER temperature 0.7
ollama create tenet-12b-nemo-unslop-v1 -f Modelfile
ollama run tenet-12b-nemo-unslop-v1
mlx_lm.generate \
--model Tenet-12B-Nemo-Unslop-v1 \
--prompt "Explain norm-preserving subspace surgery." \
--max-tokens 512
Tenet-12B-Nemo-Unslop-v1 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-12B-Nemo-Unslop-v1",
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:
mistralai/Mistral-Nemo-Instruct-2407.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.3B & 8B)Collaboration / Hiring: Built by Andrey Isachenko (Research Engineer — LLM Systems, Post-Training Subspace Surgery, GRPO, Triton/CUDA & Quantization-Aware Survival). Open to research engineering collaborations, consulting, and full-time roles in post-training, inference systems, and alignment/unslop tooling — reach out via GitHub or Hugging Face.
model-00002-of-00007.safetensors 4.0 GBmodel-00004-of-00007.safetensors 4.0 GBmodel-00005-of-00007.safetensors 4.0 GBmodel-00003-of-00007.safetensors 3.9 GBmodel-00001-of-00007.safetensors 3.9 GBmodel-00006-of-00007.safetensors 3.4 GBmodel-00007-of-00007.safetensors 1.3 GBlancet_basis.safetensors 820.7 kB