How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf Kaleto/SenseNova-Loop-9B-heretic:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf Kaleto/SenseNova-Loop-9B-heretic:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf Kaleto/SenseNova-Loop-9B-heretic:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf Kaleto/SenseNova-Loop-9B-heretic:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf Kaleto/SenseNova-Loop-9B-heretic:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama cli -hf Kaleto/SenseNova-Loop-9B-heretic:Q4_K_M
Use Docker
docker model run hf.co/Kaleto/SenseNova-Loop-9B-heretic:Q4_K_M
Quick Links

SenseNova-Loop-9B-heretic (abliterated with ARA, unofficial)

Unofficial derivative of sensenova/SenseNova-Loop-9B (revision 3e1ba6e8ac98090f9f7c03a55f26269eb3850fb6). This model is not affiliated with or endorsed by SenseNova / SenseTime. The weights were modified to remove refusal behavior (abliteration) with Heretic 2.1.0 using Arbitrary-Rank Ablation (ARA). No fine-tuning or training on generated text was performed; the change is a direct, local edit of selected weight matrices.

⚠️ No safety alignment. This model will comply with requests the original model refuses, including harmful ones. You are responsible for how you use it and for adding any safeguards your application needs.

Results

Official Heretic metrics (Heretic 2.1.0 --evaluate-model, same scorers as the search): refusals on mlabonne/harmful_behaviors test[:100] (Heretic KeywordRate, first 100 tokens, system prompt "You are a helpful assistant."), KL divergence of first-token distributions on mlabonne/harmless_alpaca test[:100] against the original model.

Model Refusals KL divergence
sensenova/SenseNova-Loop-9B (original) 100/100 0 (by definition)
this model 5/100 0.1001

Additional refusal evaluations (thinking off, greedy, 256 new tokens; keyword = Heretic marker list):

Set Original This model
Anima replay (835 prompts from a private companion/image-prompt app; app's own refusal rule) 56 0
Anima replay, Heretic keyword markers 109 1

The Anima evaluation set is private and not released.

Capability benchmarks

lm-evaluation-harness 0.4.13, HF backend, BF16, few-shot without chat template, batch 16, max_length 4096; GSM8K and HellaSwag limited to 300 examples.

Task Original This model
GSM8K (5-shot, strict) 91.7 90.7
ARC-Challenge (acc_norm) 52.6 50.9
HellaSwag (acc_norm) 66.0 65.3
TruthfulQA MC2 51.2 46.3
MMLU – 74.3

TruthfulQA drops by about 5 points, which is typical for abliteration (the model contradicts false premises less often). MMLU of the original was not measured in this run.

Generative benchmarks of the served NVFP4 variants (and many other local models on DGX Spark) are tracked in the DX10 benchmark space.

Method

  • Tool: Heretic 2.1.0, ARA (Arbitrary-Rank Ablation) via a plugin that handles SenseNova-Loop's looped layers (layers 4–27 are executed twice; each loop visit gets its own input/output statistics).
  • Search: Optuna multi-objective TPE, 250 trials, objectives = official refusals, refusals on a held-out set of private app prompts, KL divergence. Selection rule: refusals ≤ 7/100 and KL ≤ 0.108, then fewest held-out refusals, then lowest KL.
  • Selected trial 33 parameters: start_layer_index 15, end_layer_index 27, preserve_good_behavior_weight 0.339, steer_bad_behavior_weight 0.00249, overcorrect_relative_weight 0.944, neighbor_count 14.
  • Prompt sets for the ablation directions: mlabonne/harmful_behaviors train[:200] and mlabonne/harmless_alpaca train[:200], plus additional private prompts from the Anima app (refused and accepted examples). The private prompts are not released; the weights contain no text from them. Prompts with any indication of minors were excluded from all training and evaluation sets.

Changes to the original files (Apache-2.0 §4)

  • Modified: 24 weight matrices in layers 15–26 (9 × linear_attn.out_proj, 12 × mlp.down_proj, 3 × self_attn.o_proj), stored in BF16 like the original.
  • Unchanged: all other tensors (byte-identical to the original, including the FP32 tensors linear_attn.A_log, linear_attn.dt_bias, the mHC routers, loop_gate.logits, the vision tower and the MTP head), config.json, modeling_sensenova_loop.py, tokenizer and chat template.

Quantized variants

All variants live in this repository:

Folder Format
/ (root) BF16 safetensors, original modeling_sensenova_loop.py (trust_remote_code=True)
nvfp4-w4a16-decoder/ NVFP4 W4A16 (ModelOpt), MLP + attention + GDN linears
nvfp4-w4a16-mlp/ NVFP4 W4A16 (ModelOpt), MLP linears only
nvfp4-w4a16-decoder-lmhead/ optional: as nvfp4-w4a16-decoder/, plus NVFP4 lm_head
nvfp4-w4a16-mlp-lmhead/ optional: as nvfp4-w4a16-mlp/, plus NVFP4 lm_head
gguf/ GGUF Q6_K and Q4_K_M with MTP head, for the SenseNova-Loop llama.cpp fork (see below)
huggingface-cli download Kaleto/SenseNova-Loop-9B-heretic --include "nvfp4-w4a16-decoder/*" --local-dir sn-heretic
pip install --no-deps https://github.com/KaletoAI/vllm-sensenova-loop/archive/refs/heads/master.tar.gz   # vLLM 0.31.0 plugin: text + images
vllm serve sn-heretic/nvfp4-w4a16-decoder --dtype bfloat16 --max-model-len 32768
Variant Size Scope KLD vs. this model (BF16) Refusals harmful_behaviors test[:100] Anima replay (app rule)
BF16 (this model, Heretic eval) 18.8 GB – 0 5/100 0/835
NVFP4 W4A16, decoder 9.4 GB MLP + attention + GDN linears 0.143 8/100 0/835
NVFP4 W4A16, MLP only 12.4 GB MLP linears 0.085 9/100 0/835
NVFP4 W4A16, decoder + NVFP4 lm_head (optional) 7.9 GB as decoder, plus lm_head +0.007 vs. decoder 6/100 0/835
NVFP4 W4A16, MLP + NVFP4 lm_head (optional) 10.9 GB as MLP only, plus lm_head +0.008 vs. MLP only 9/100 0/835
GGUF Q6_K + MTP (gguf/) 7.6 GB all linears, llama.cpp 0.118 vs. original¹ 9/100 0/835
GGUF Q4_K_M + MTP, imatrix (gguf/) 5.8 GB all linears, llama.cpp 0.170 vs. original¹ 6/100 0/835

¹ GGUF KLD is measured against the original (non-abliterated) model, so it includes the abliteration; Q8_0 of this model scores 0.112 in the same setup. Details in GGUF (llama.cpp).

Quantized refusals were measured through the actual serving path (vLLM 0.31.0 + plugin, greedy, thinking off, 256 new tokens, Heretic keyword markers on the first 100 tokens), so they are close to but not identical with Heretic's own evaluation. Quantization brings back a few refusals on the generic set (+3/+4); the app replay stays at 0.

Recipe: NVIDIA ModelOpt 0.43.0, W4A16 NVFP4, 64 × 1024-token calibration through the real loop forward pass; lm_head, embeddings, vision, MTP, mHC routers, linear_attn.in_proj_a/b, conv1d and loop_gate stay unquantized. Served with vLLM 0.31.0 and the vllm-sensenova-loop plugin (text and images; the vision tower stays BF16; refusal numbers measured without MTP). For comparison, the same recipe on the original model gives KLD 0.164 (decoder) and 0.100 (MLP only).

The optional -lmhead folders also quantize the untied lm_head to NVFP4 (2026-11-20). Against the same builds with a BF16 head this costs ΔKLD +0.007 / +0.008 and −1.0 / −1.3 pp top-1 agreement; refusals, the app replay and image answers stay the same, and an app tool-use test scored the same. They save 1.5 GB and decode about 25 % faster with a single stream, but with three or more parallel requests the speed is the same. They need plugin commit 2778586 or newer.

GGUF (llama.cpp)

File Size KLD vs. original SenseNova-Loop-9B (BF16) Refusals harmful_behaviors test[:100] Anima replay (app rule)
Q8_0 (reference, not uploaded) 9.5 GB 0.112 6/100 –
gguf/SenseNova-Loop-9B-heretic-MTP-Q6_K.gguf 7.6 GB 0.118 9/100 0/835
gguf/SenseNova-Loop-9B-heretic-MTP-Q4_K_M.gguf (imatrix) 5.8 GB 0.170 6/100 0/835

The KLD here is measured against the original model, so it includes the abliteration itself: the Q8_0 reference (0.112) is almost pure abliteration cost, and the unmodified original at Q8_0 scores 0.009 in the same setup. Measured with llama-perplexity --kl-divergence over ~57k tokens of chat, code, news, role-play and German/English Wikipedia text. Refusals were measured through llama-server with the same settings as above.

  • Runtime: SenseNova-Loop's looped mHC architecture is not in upstream llama.cpp yet. These files were converted and tested with GuideboardLabs/llama.cpp-sensenova-loop at commit a7f77a78 (CUDA and Vulkan).
  • Images: the vision tower is unchanged by the abliteration. Use the official projector mmproj-SenseNova-Loop-9B-F16.gguf from sensenova/SenseNova-Loop-9B-GGUF.
  • MTP: both files keep the MTP head (blk.56, nextn). Speculative decoding with one draft token kept greedy output identical and raised single-stream decode on an AMD Strix Halo iGPU (Vulkan) from 17.2 to 24.1 tok/s (Q6_K) and from 21.1 to 28.6 tok/s (Q4_K_M), at about 63 % draft acceptance. Three draft tokens were slower.
  • Q4_K_M imatrix: computed on this model's Q8_0 from public text (news, Wikipedia, chat and calibration_datav3), with no overlap with the evaluation texts or prompts.
  • loop_gate.logits is dropped during conversion; the model does not use it.
huggingface-cli download Kaleto/SenseNova-Loop-9B-heretic gguf/SenseNova-Loop-9B-heretic-MTP-Q4_K_M.gguf --local-dir sn-heretic
huggingface-cli download sensenova/SenseNova-Loop-9B-GGUF mmproj-SenseNova-Loop-9B-F16.gguf --local-dir sn-heretic
llama-server -m sn-heretic/gguf/SenseNova-Loop-9B-heretic-MTP-Q4_K_M.gguf --mmproj sn-heretic/mmproj-SenseNova-Loop-9B-F16.gguf \
  -ngl 99 -c 32768 --jinja --reasoning-format deepseek --spec-type draft-mtp --spec-draft-n-max 1

License

Apache-2.0, same as the base model. A copy of the license is included (LICENSE). Heretic itself is AGPL-3.0; this applies to the tool, not to the produced weights. The prompt datasets were only used to compute ablation directions and metrics and are not contained in the model (harmless_alpaca derives from Stanford Alpaca, CC BY-NC 4.0).

Acknowledgements

SenseNova for SenseNova-Loop-9B, Qwen for the Qwen3.5 backbone, Philipp Emanuel Weidmann for Heretic.

Downloads last month
337
Safetensors
Model size
9B params
Tensor type
F32
·
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Kaleto/SenseNova-Loop-9B-heretic

Finetuned
(11)
this model