/ Модель

Характеристики

Контекст
262 144 токена
Размер весов
18,8 ГБ
Лицензия
Apache 2.0
Архитектура
sensenova_loop · dense
Базовая модель
SenseNova-Loop-9B
Библиотека
transformers
Опубликована
19 ноя 2026

SenseNova-Loop-9B-heretic

Генерация текстаТекст → текст3 профессии

Неофициальная мультимодальная SenseNova-Loop-9B с изменёнными весами и сниженной склонностью отказывать на запросы, предназначенная для диалоговой генерации текста по тексту и изображениям.

953скачиваний за 30 дней1лайквеса обновлены20 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

SenseNova-Loop-9B-heretic — неофициальная производная модели SenseNova-Loop-9B, опубликованная Kaleto и не связанная с SenseNova или SenseTime. Это плотная мультимодальная модель с архитектурой SenseNova Loop и примерно 9 млрд параметров; она принимает текст и изображения и генерирует текст. Веса изменены методом abliteration с помощью Heretic и Arbitrary-Rank Ablation (ARA): автор сообщает, что обучение или дообучение не проводилось, а были локально изменены отдельные матрицы весов. В репозитории есть BF16 safetensors и варианты GGUF Q4_K_M и Q6_K, а также квантизованные NVFP4 варианты.

Модель предназначена для диалогов, ответов на вопросы и других задач генерации текста, включая запросы с изображениями. Изменение снижает частоту отказов отвечать по сравнению с исходной моделью; приведённые автором тесты показывают близкие результаты на GSM8K, ARC-Challenge и HellaSwag, но снижение на TruthfulQA примерно на пять пунктов. Карточка указывает английский и немецкий языки. Лицензия — Apache-2.0. Автор предупреждает, что модель лишена исходного защитного выравнивания и может выполнять вредоносные запросы; при использовании приложениям нужны собственные меры безопасности.

Сценарии применения

  • диалоговые ответы на текстовые запросы
  • ответы на вопросы по изображениям
  • генерация текста по тексту и изображению
  • решение математических задач GSM8K
  • оценка вариантов ответов в тестах ARC и HellaSwag

Ограничения

Модель не сохраняет исходное защитное выравнивание и может отвечать на вредоносные запросы, поэтому для приложений нужны собственные меры безопасности. Автор сообщает о снижении результата на TruthfulQA примерно на пять пунктов; тесты и метрики карточки не гарантируют качество на других задачах.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

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.

ModelRefusalsKL divergence
sensenova/SenseNova-Loop-9B (original)100/1000 (by definition)
this model5/1000.1001

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

SetOriginalThis model
Anima replay (835 prompts from a private companion/image-prompt app; app's own refusal rule)560
Anima replay, Heretic keyword markers1091

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.

TaskOriginalThis model
GSM8K (5-shot, strict)91.790.7
ARC-Challenge (acc_norm)52.650.9
HellaSwag (acc_norm)66.065.3
TruthfulQA MC251.246.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:

FolderFormat
/ (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
VariantSizeScopeKLD vs. this model (BF16)Refusals harmful_behaviors test[:100]Anima replay (app rule)
BF16 (this model, Heretic eval)18.8 GB–05/1000/835
NVFP4 W4A16, decoder9.4 GBMLP + attention + GDN linears0.1438/1000/835
NVFP4 W4A16, MLP only12.4 GBMLP linears0.0859/1000/835
NVFP4 W4A16, decoder + NVFP4 lm_head (optional)7.9 GBas decoder, plus lm_head+0.007 vs. decoder6/1000/835
NVFP4 W4A16, MLP + NVFP4 lm_head (optional)10.9 GBas MLP only, plus lm_head+0.008 vs. MLP only9/1000/835
GGUF Q6_K + MTP (gguf/)7.6 GBall linears, llama.cpp0.118 vs. original¹9/1000/835
GGUF Q4_K_M + MTP, imatrix (gguf/)5.8 GBall linears, llama.cpp0.170 vs. original¹6/1000/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)

FileSizeKLD vs. original SenseNova-Loop-9B (BF16)Refusals harmful_behaviors test[:100]Anima replay (app rule)
Q8_0 (reference, not uploaded)9.5 GB0.1126/100–
gguf/SenseNova-Loop-9B-heretic-MTP-Q6_K.gguf7.6 GB0.1189/1000/835
gguf/SenseNova-Loop-9B-heretic-MTP-Q4_K_M.gguf (imatrix)5.8 GB0.1706/1000/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.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Нельзя запустить

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

Класс архитектуры
SenseNovaLoopForConditionalGeneration
Ревизия весов
83c0fa0

0 моделей