/ Модель

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

Контекст
131 072 токена
Параметры
2,6 млрд
Размер весов
5,4 ГБ
Лицензия
Своя лицензия
Архитектура
lfm2 · dense
Базовая модель
LFM2.5-2.6B
Библиотека
transformers
Опубликована
28 окт 2026

LFM2.5-2.6B-heretic

Генерация текстаТекст → текст12 профессий
2 843скачиваний за 30 дней1лайквеса обновлены1 ноя 2026

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

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

Компактная локальная версия LiquidAI LFM2.5-2.6B с подавленными отказами для диалогов, вызова инструментов и извлечения данных.

LFM2.5-2.6B-heretic — компактная текстовая модель RACER IS OP (saidutta69), созданная на основе LiquidAI/LFM2.5-2.6B. Это версия с подавленными отказами: Heretic 2.0.0.dev0 применил Arbitrary-Rank Ablation к слоям 1–21, сохранив остальную модель без изменений. Модель не является отдельной дообученной версией и наследует возможности базовой модели.

Она предназначена для локальных ассистентов и агентов на телефонах и маломощных компьютерах, вызова инструментов, RAG и структурированного извлечения данных. Архитектура LFM2 — гибрид из 30 слоёв: 22 блока коротких свёрток и 8 слоёв GQA. Модель содержит около 2,69 млрд параметров, поддерживает контекст до 131 072 токенов, ChatML-подобный шаблон диалога и встроенный формат вызова инструментов. В карточке перечислена поддержка 16 языков, включая русский.

В тесте отказов на 100 запросах число отказов снизилось с 96 у базовой модели до 8; KL-дивергенция относительно неё составила 0,0059. Это изменение снимает ограничения на отказы, но не добавляет знаний или навыков. Модель не рекомендуется для агентного программирования и задач, требующих обширных знаний; автор предупреждает, что она может выполнять запросы, которые базовая модель отклонила бы, и не имеет дополнительного фильтра безопасности. Указана лицензия other; подробные условия в предоставленной карточке не раскрыты. Доступны веса BF16 и варианты GGUF-квантизации.

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

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

Ограничения

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

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

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

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

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

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

Бенчмарки пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь рядом с другими моделями теста

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

LFM2.5-2.6B-heretic

A decensored variant of LiquidAI/LFM2.5-2.6B, produced with Heretic 2.0.0.dev0 using Arbitrary-Rank Ablation (ARA). LFM2.5-2.6B is Liquid's on-device agentic model: 30 layers laid out as 22 double-gated short convolution blocks plus 8 GQA layers, a 131K context, and a native tool-call format. ARA edits the language model over layers 1-21; everything else is unchanged.

Who this is for: local agents, tool use, RAG and structured extraction where a 2.7B model should run on a phone or a small laptop. Liquid's published numbers include BFCLv4 56.88, ToolSandbox 77.83, IFBench 59.17 and IFStruct 85.49, and it is not recommended for agentic coding or knowledge-heavy work at this size. This checkpoint is not the Fable5 coding-agent fine-tune (lfm2.5-2.6b-fable5-coding-agent-heretic); it is the base 2.6B instruct model with refusals removed.

Refusals drop from 96/100 to 8/100 at a KL divergence of 0.0059 - a tight edit.

Arbitrary-Rank Ablation parameters

Trial 190 of a 250-trial Heretic 2.0 ARA run (seed 712709786).

ParameterValue
start_layer_index1
end_layer_index21
preserve_good_behavior_weight0.9588
steer_bad_behavior_weight0.0009
overcorrect_relative_weight0.0151
neighbor_count6

Performance

MetricThis modelOriginal model (LiquidAI/LFM2.5-2.6B)
Refusals8/10096/100
KL divergence0.00590 (by definition)

88 of the 96 refusals clear. KL 0.0059 is a tight edit, so expect little drift in phrasing, tool format or multilingual behaviour.

Base model benchmarks

Liquid's published numbers for LFM2.5-2.6B, not re-run here:

BenchmarkLFM2.5-2.6B
BFCLv456.88
ToolSandbox77.83
IFBench59.17
IFStruct85.49
Multi-IF80.07
AIME2551.87
LiveCodeBench v659.41
Claw-Eval average (EN)62.85
BrowseComp+ (OpenClaw)26.89

Abliteration removes refusal directions; it does not add capability. Treat these as the base model's numbers, not a re-measurement of this checkpoint.

Why ARA instead of directional ablation

Directional ablation finds one refusal direction and orthogonalizes attention/MLP outputs against it. ARA learns a low-rank subspace over a layer range and blends a "preserve good behaviour" and "steer bad behaviour" objective. Here it kept 96% of the preserve objective over layers 1-21 and still removed 88 of 96 refusals. See the Heretic repo.

Files

Safetensors

FileSize
model-00001-of-00002.safetensors2.70 GB
model-00002-of-00002.safetensors2.70 GB

BF16, 2,697,198,592 parameters (2.69B). The reproduce/ directory carries the full Heretic 2.0 recipe - config.toml, requirements.txt, the Optuna study journal, and SHA-256 sums.

GGUF quantizations

Full quantization set (F16 + 14 quants, 28.94 GB total), produced with llama.cpp master on 2026-10-28.

FileFormatSize
LFM2.5-2.6B-heretic-F16.ggufGGUF F165.40 GB
LFM2.5-2.6B-heretic-Q2_K.ggufGGUF Q2_K1.09 GB
LFM2.5-2.6B-heretic-IQ3_S.ggufGGUF IQ3_S1.27 GB
LFM2.5-2.6B-heretic-Q3_K_S.ggufGGUF Q3_K_S1.27 GB
LFM2.5-2.6B-heretic-Q3_K_M.ggufGGUF Q3_K_M1.37 GB
LFM2.5-2.6B-heretic-Q3_K_L.ggufGGUF Q3_K_L1.45 GB
LFM2.5-2.6B-heretic-IQ4_XS.ggufGGUF IQ4_XS1.53 GB
LFM2.5-2.6B-heretic-Q4_K_S.ggufGGUF Q4_K_S1.60 GB
LFM2.5-2.6B-heretic-Q4_0.ggufGGUF Q4_01.59 GB
LFM2.5-2.6B-heretic-Q4_1.ggufGGUF Q4_11.75 GB
LFM2.5-2.6B-heretic-Q4_K_M.ggufGGUF Q4_K_M1.67 GB
LFM2.5-2.6B-heretic-Q5_K_S.ggufGGUF Q5_K_S1.90 GB
LFM2.5-2.6B-heretic-Q5_K_M.ggufGGUF Q5_K_M1.94 GB
LFM2.5-2.6B-heretic-Q6_K.ggufGGUF Q6_K2.22 GB
LFM2.5-2.6B-heretic-Q8_0.ggufGGUF Q8_02.87 GB

Text GGUF: arch lfm2, 266 tensors, 30 blocks (22 convolution + 8 full attention), 131,072 context, 128,000 vocab, tied embeddings, conv cache L_cache=3, rope theta 1e6.

Quickstart

# llama.cpp
llama serve -hf saidutta69/LFM2.5-2.6B-heretic
# transformers
from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "saidutta69/LFM2.5-2.6B-heretic"
model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto", dtype="bfloat16")
tokenizer = AutoTokenizer.from_pretrained(model_name)

messages = [{"role": "user", "content": "Explain how a heat pump works."}]
inputs = tokenizer.apply_chat_template(
    messages, add_generation_prompt=True, return_tensors="pt"
).to(model.device)
out = model.generate(**inputs, do_sample=True, temperature=0.1, top_k=50,
                     repetition_penalty=1.1, max_new_tokens=1024)
print(tokenizer.decode(out[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))

Generation parameters

Liquid's recommended settings: temperature=0.1, top_k=50, repetition_penalty=1.1.

Chat template and tools

LFM2.5 uses ChatML-style tags and Liquid's native tool-call format. Pass tool schemas with tools=... to apply_chat_template() and feed results back under a tool role; see the base card for the exact format.

Runs anywhere

DeviceRecommended quantWeights
Phone / browser (4 GB RAM)Q4_K_M1.67 GB
Raspberry Pi 5 (8 GB)Q4_K_M1.67 GB
Laptop (8 GB, Apple Silicon)Q8_02.87 GB
RTX 3060 / 4060 (8-12 GB)Q6_K2.22 GB
Server / multi-tenantQ5_K_M1.94 GB

Weights only. Liquid measures about 30 tok/s on a phone with the 2.6B model, and the hybrid stack spends 22 of its 30 layers in cheap convolution blocks, so decode is bandwidth-bound.

Model details

ArchitectureLfm2ForCausalLM (hybrid conv + GQA)
Parameters2.69B
Layers30: 22 double-gated short convolution + 8 GQA
Attention32 heads / 8 KV heads, head dim 64
Hidden / intermediate2048 / 10752
Convolution cacheL_cache = 3
Position embeddingRoPE, theta 10,000,000
Context length131,072
Vocab128,000
Precisionbfloat16
LanguagesEnglish, Arabic, Chinese, French, German, Italian, Japanese, Korean, Portuguese, Spanish, Vietnamese, Thai, Indonesian, Hindi, Russian, Polish
Base modelLiquidAI/LFM2.5-2.6B

FAQ

What is LFM2.5-2.6B-heretic?

LFM2.5-2.6B-heretic is a decensored build of LiquidAI/LFM2.5-2.6B produced with Heretic 2.0.0.dev0 (Arbitrary-Rank Ablation). It is the same weights with the refusal direction removed, not a new fine-tune, so its capabilities track the base model.

Is LFM2.5-2.6B-heretic actually uncensored?

Yes. On Heretic's 100-prompt refusal harness it drops from 96/100 to 8/100 at KL divergence 0.0059 from the base model. These are measured values, not a claim; reproduction data is in reproduce/.

How do I run LFM2.5-2.6B-heretic locally?

llama serve -hf saidutta69/LFM2.5-2.6B-heretic:Q4_K_M pulls the default quant; the repo ships 15 GGUF quants (see Files).

Responsible use

Refusal suppression is deliberate and works as intended: this model will comply with requests the base model would refuse, including some it should not. There is no safety filtering layered on top. You are responsible for how you deploy it - don't put this behind an unmoderated public-facing endpoint serving third parties. It inherits LFM2.5-2.6B's factual limitations; abliteration removes refusal directions, it does not add capability or judgment.

Made with ❤️ by RACER IS OP (saidutta69) - follow for more uncensored models

License

Inherits the LFM Open License v1.0 from the base model. This is not Apache-2.0; review the LFM terms before commercial use.

Related

Abliteration hardware

Recorded in reproduce/reproduce.json:

  • GPU: NVIDIA RTX PRO 6000 Blackwell Server Edition (94.97 GB VRAM)
  • OS: Linux-4.19.0-gvisor-x86_64-with-glibc2.41
  • CUDA / driver: CUDA 13.0, driver 595.71.05
  • Software: PyTorch 2.14.1+cu130, Heretic 2.0.0.dev0

Heretic notes that KL-divergence and refusal numbers can vary slightly with hardware and library versions.

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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

Класс архитектуры
Lfm2ForCausalLM
Ревизия весов
d8dcc93

0 моделей