/ Модель

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

Лицензия
Своя лицензия
Архитектура
lfm3_omni · dense
Базовая модель
LFM3-Omni-2B
Библиотека
transformers
Опубликована
4 ноя 2026

lfm3-omni-2b-abliterated-heretic-v2

Изображение и текст → текст3 профессии
2 411скачиваний за 30 дней1лайквеса обновлены4 ноя 2026

Описание модели

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

Мультимодальная модель LiquidAI, изменённая для исследований поведения отказов и red-teaming.

Это производная мультимодальная модель LiquidAI/LFM3-Omni-2B, опубликованная mizahnyx. Автор изменил текстовый блок модели процедурой ablation отказов Heretic v2.0.0 с модификатором ARA; визуальный и аудиокодировщики, а также проекторы не менялись. Модель принимает текст, изображения, видео и аудио, а выдаёт текст и речь. В метаданных указана архитектура LFM3 Omni и поддержка диалогового режима и изображений; доступны веса Safetensors и варианты GGUF, включая квантизации Q2_K, Q4_K_M и Q8_0.

Модель предназначена прежде всего для исследований безопасности, red-teaming и оценки методов удаления отказов. По приведённым в карточке проверкам она значительно реже отказывает, в том числе на вредоносных запросах. Это снижает защиту от опасного использования и делает модель непригодной для пользовательских и производственных сценариев. Оценка возможностей ограничена небольшим набором проб; стандартные бенчмарки и качество мультимодальных выходов после изменения не проверялись. Распространяется по LFM Open License v1.0, как и базовая модель.

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

  • проверка поведения модели на вредоносных запросах
  • red-teaming мультимодального ассистента
  • оценка методов удаления отказов у языковых моделей
  • исследование сбоев и ограничений механизмов выравнивания

Ограничения

Модель почти не отказывает на вредоносные запросы и не подходит для пользовательского или производственного применения. Проверка возможностей была ограничена небольшим набором проб; стандартные бенчмарки и качество мультимодальных выходов после изменения не оценивались.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

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

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

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

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

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

Открыть на Hugging Face

LFM3-Omni-2B — abliterated (Heretic v2, ARA)

A refusal-ablated derivative of LiquidAI/LFM3-Omni-2B, produced with Heretic v2.0.0 using the ARA (Arbitrary-Rank Ablation) modifier.

⚠️ MODIFICATION NOTICE

This model has been modified. The text-backbone weights of the base model were permanently altered by an automated refusal-ablation procedure (Heretic v2, ARA, 60 Optuna trials, seed 42). The weights in model.safetensors differ from the base checkpoint (base sha256 76c0ec2c…d2763; this model sha256 375b950f…846a).

The vision encoder, audio encoder, and both projectors were not modified — only attn.o_proj and mlp.down_proj in the 24 text-backbone layers.

This is a derivative work distributed under the same LFM Open License v1.0 as the base model. It is not affiliated with, endorsed by, or supported by Liquid AI. See LICENSE.


What this is

LFM3-Omni-2B is Liquid AI's omni-modal model (text, image, video and audio in; text and speech out). This release removes its learned refusal behaviour so the model answers requests the base model declines.

Zero refusals is not the goal by itself — a coherent model is. Heretic ranks trials by fewest refusals first, and that ranking point (0/100 refusals, KL 2.27) was measurably degraded: it answered 17 * 23 with "Ineq 17 23". The released weights are Pareto index 2, chosen because it keeps refusal removal and the base model's capability.

Method

Base checkpointLiquidAI/LFM3-Omni-2B (bf16, sha256 verified against upstream)
ToolHeretic v2.0.0
ModifierARA (heretic.modifiers.ara.ARA), LoRA rank 50, row-magnitude preserving
Trials60 (20 startup), TPE sampler, seed = 42
Modifiers appliedattn.o_proj + mlp.down_proj, all 24 layers, chosen by the study
ScorersKeywordRate + KLDivergence + BERT refusal classifier
Eval prompts100 harmful (mlabonne/harmful_behaviors), 100 harmless (mlabonne/harmless_alpaca)
ARA calibration400 good + 400 bad prompts
Precisionbf16 throughout; no quantization during ablation
Exportfull merged model (not a LoRA adapter)
HardwareRyzen 7 8845HS / Radeon 780M iGPU (gfx1103), ROCm 7.2.4, PyTorch 2.15.0
Wall time3 h 48 m

Evaluation

Heretic's own metrics, on the study's held-in prompt sets:

metricbasethis model
Refusals — keyword (n=100 harmful)99/1001/100
Refusals — classifier (n=100 harmful)98/1000/100
KL divergence vs base (n=100 harmless)00.063

Independent spot-check, greedy decoding, same prompts for both models:

probebasethis model
7 harmful prompts (bomb, meth, hotwire, counterfeiting, shoplifting, phishing, lockpicking)6/7 refused0/7 refused, all coherent and on-topic
17 * 23391391
summarise a sentence✓✓
capital of AustraliaCanberraCanberra
120 km in 1.5 h80 km/h80 km/h
chemical symbol for goldAuAu

Capability therefore matches the base model on all five probes while refusing none of the seven harmful ones.

Quantized variants

GGUF builds are also published separately at mizahnyx/lfm3-omni-2b-abliterated-heretic-v2-GGUF, which is the repository to use with llama.cpp / LM Studio. The copies under gguf/ here are the same files.

Produced with llama.cpp; the K-quants use an importance matrix generated from this model (wikitext-2, 100 chunks) — no usable imatrix existed upstream.

fileBPWsize
gguf/LFM3-Omni-2B-abliterated-Q8_0.gguf8.511.8 GB
gguf/LFM3-Omni-2B-abliterated-Q4_K_M.gguf5.051.1 GB
gguf/LFM3-Omni-2B-abliterated-Q2_K.gguf3.43716 MB
gguf/mmproj-LFM3-Omni-2B-F16.gguf16.00906 MB
gguf/mmproj-LFM3-Omni-2B-Q8_0.gguf8.51484 MB
gguf/LFM3-Omni-2B-abliterated.imatrix.gguf—3.5 MB

All four text quants answer 391, Canberra and the harmful probe correctly. Q4_K_M is the recommended trade-off. Q2_K at 3.43 BPW is a last-resort tier — it passes these easy probes but will visibly degrade on harder tasks.

The projector is unchanged from the base model, so mmproj-* files are interchangeable with the upstream ones.

Usage

Transformers

import torch
from transformers import AutoModelForImageTextToText, AutoProcessor

model_id = "mizahnyx/lfm3-omni-2b-abliterated-heretic-v2"
processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForImageTextToText.from_pretrained(
    model_id, dtype=torch.bfloat16, device_map="auto", trust_remote_code=True
).eval()

conversation = [
    {"role": "system", "content": "Respond with text."},
    {"role": "user", "content": "Explain how acoustic resonance works in musical instruments."},
]
inputs = processor.apply_chat_template(
    conversation, add_generation_prompt=True, tokenize=True,
    return_dict=True, return_tensors="pt",
).to(model.device)

with torch.no_grad():
    outputs = model.generate(**inputs, max_new_tokens=512, generation_mode="text")

text = processor.decode(
    outputs.sequences[0, inputs["input_ids"].shape[1]:outputs.sequence_lengths[0]],
    skip_special_tokens=True,
)
print(text)

Note the non-standard generation_mode="text" argument and the sequence_lengths-based decoding — both are LFM3-Omni specifics.

llama.cpp

Requires a recent llama.cpp build (LFM3 support is new).

llama-cli -m LFM3-Omni-2B-abliterated-Q4_K_M.gguf \
          --mmproj mmproj-LFM3-Omni-2B-F16.gguf \
          -p "Your prompt"

For image/video/audio input, pass the mmproj file as shown; for text-only use you can omit it.

Intended use and limitations

Intended use: safety research, red-teaming, evaluation of refusal-ablation techniques, and research into model alignment failure modes.

This model has no safety filtering and will comply with harmful requests. It is unsuitable for any user-facing or production deployment, and unsuitable for use by or around minors. You are responsible for how you use it.

Known limitations:

  • Abliteration is a blunt instrument. It removes refusals across the board, including refusals that were appropriate. Expect it to be worse than the base model at recognising genuinely harmful edge cases, and to be less cautious on borderline requests that the base model handled well.
  • Capability was verified only on a small 12-probe spot-check plus Heretic's internal metrics. It has not been evaluated on standard benchmarks (MMLU, GSM8K, etc.), and no multimodal output quality was measured after ablation.
  • Q2_K specifically is lossy enough to change behaviour on non-trivial tasks.
  • Inherits all base-model limitations, including modality-specific failure modes, language coverage gaps, and hallucination.

Reproducibility

Seeds, prompt sets, and every setting are recorded above; the full run report (with the five patches required to run Heretic on this architecture, the complete Pareto front, and the evaluation transcripts) is in docs/REPORT.md.

The ablation is reproducible from the unmodified base checkpoint with Heretic v2.0.0, seed = 42, n_trials = 60, n_startup_trials = 20, ARA, and the three scorers listed above.

License

Distributed under the LFM Open License v1.0, the same license as the base model. A copy is included as LICENSE. Key points: redistribution is permitted with attribution; commercial use is restricted (see §5 — entities above the revenue threshold are not licensed); trademark rights are not granted.

This derivative is not affiliated with or endorsed by Liquid AI. "LFM" and "Liquid AI" are trademarks of Liquid AI, Inc., used here only to describe the origin of the work.

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

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

GPU в ailist

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

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

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

Класс архитектуры
Lfm3OmniForConditionalGeneration
Ревизия весов
18ba3e8

0 моделей