/ Модель

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

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

LFM2.5-2.6B-heretic

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

LFM2.5-2.6B-heretic — текстовая чат-модель на 2,6 млрд параметров с удалённым механизмом отказов, предназначенная для генерации ответов и диалогов.

1 008скачиваний за 30 дней0лайковвеса обновлены18 сен 2026

Бенчмарки

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

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

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

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

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

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

experimentalmachines/LFM2.5-2.6B-heretic — текстовая модель на 2,6 млрд параметров, созданная путём направленного удаления отказов из LiquidAI/LFM2.5-2.6B с помощью heretic. Метод оптимизирует веса абляции по слоям, снижая частоту отказов и расхождение с исходной моделью; полученные веса объединены, поэтому модель загружается как обычная Lfm2ForCausalLM. Сохранены шаблон чата и токены вызова инструментов базовой модели; контекстное окно составляет 131 072 токена.

Модель предназначена для генерации текста и диалогов, в том числе сценариев, где требуется меньше отказов. Репозиторий содержит веса safetensors для Transformers; описанный в README экспорт ExecuTorch удалён и отсутствует, поэтому эти веса нельзя напрямую загрузить в приложения, требующие скомпилированный файл .pte. Для использования нужна библиотека Transformers, а для локального запуска в других форматах потребуется отдельная конверсия или квантизация. Лицензия указана как other; README предупреждает, что защитное обучение исходной модели намеренно удалено.

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

  • генерация ответов в чат-боте с меньшим числом отказов
  • ведение диалога на основе шаблона чата Liquid AI
  • создание текстовых продолжений с длинным контекстом
  • использование сохранённых токенов вызова инструментов в агентных сценариях

Ограничения

Веса safetensors нельзя напрямую использовать в приложениях, требующих скомпилированный экспорт ExecuTorch; такой экспорт в репозитории удалён, а замена не подготовлена. Защитное обучение базовой модели намеренно удалено, поэтому модель может выдавать небезопасный контент; лицензия обозначена как other.

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

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

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

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

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

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

Открыть на Hugging Face

LFM2.5-2.6B, refusals removed

These are transformers weights, not a compiled model. There is no ExecuTorch .pte in this repository: the one that used to sit in executorch/ was built with a recipe that lost this family's tool calling and was withdrawn on 2026-09-19. Apps that run compiled exports, OpenWeights among them, cannot load safetensors. Use these with transformers, or quantise them yourself; a replacement export needs its own GPTQ solve against these weights, which has not been done.

The ExecuTorch export was removed on 2026-09-19. It was built with a recipe carrying two defects: ExecuTorch 1.4.0's LFM2 definition never cleared ShortConv.conv_state between prompts, so each prompt ran on the last one's state, and its int4 weights were round to nearest, which costs this family its tool calling. On 141 held-out questions the equivalent 1.2B export searched when needed on 10 percent of the questions that needed it and spoke of search results it had never fetched in a quarter of its replies; the solved re-export reads 49 and 1 percent at the same size and speed. Fixing it needs a GPTQ solve against these weights, which has not been done. The weights in this repository are unaffected. Method and numbers: https://github.com/alpharomercoma/openweights/blob/main/docs/research/executorch-state-and-recipes.md

Abliterated ("uncensored") version of LiquidAI/LFM2.5-2.6B, produced with heretic: directional ablation of the refusal direction in the residual stream, with a TPE search over per-layer ablation weights that minimises both the refusal rate and the KL divergence from the original model. Weights are merged, so this loads as a plain Lfm2ForCausalLM. Chat template, tool-calling tokens and everything else are unchanged from the base model.

heretic Pareto front for this run

study: ./checkpoints/LiquidAI--LFM2--5-2--6B.jsonl
completed trials: 200 / 200

idx trial refusals       KL  direction_index
  0   171     0.03   0.1522  None
  1   192     0.04   0.0806  None
  2   191     0.05   0.0801  None
  3   197     0.06   0.0648  None
  4     8     0.07   0.0343  None
  5   133     0.08   0.0238  17.379784537320543
  6    92     0.11   0.0225  None
  7    77     0.23   0.0210  None
  8   158     0.24   0.0103  17.028759195631267
  9    89     0.45   0.0051  17.485544563435877
 10    45     0.79   0.0046  17.737500883050494
 11   113     0.89   0.0035  16.83671987276088
 12   194     0.96   0.0020  17.497441205715695
 13   101     0.97   0.0016  18.074113894983057
 14    97     0.98   0.0009  17.811708539059808
 15   187     0.99   0.0008  11.863942700812128
selected pareto index: 4

ExecuTorch (CPU, KleidiAI on Arm)

filemax context (tokens)size
executorch/lfm2_5_2_6b_heretic_8da4w_32k.pte32,7681.81 GB

Each is an ExecuTorch 1.4.1 program for the XNNPACK backend built with ExecuTorch's own LFM2 recipe: every linear layer is quantised to 8-bit dynamic per-token activations and 4-bit grouped weights with group size 32 (8da4w, the layout Arm's KleidiAI int4 kernels are written for), int8 embedding table, static KV cache, fused SDPA, 2048-token prefill chunk (longer prompts are prefilled in chunks; the context window is the figure in the table). XNNPACK dispatches these matmuls to KleidiAI on every Arm CPU (Apple Silicon, Snapdragon, Dimensity, Tensor, Graviton) in the stock ExecuTorch build; on x86 it falls back to AVX kernels. The program is the same file on every platform.

The KV cache for the full window is allocated when the program loads (fp32, about 0.8 GB for 1.2B and 1.1 GB for 2.6B); the runtime attends over filled positions only, so the window costs memory, not speed. Run it with llama_main from ExecuTorch (examples/models/llama) or the python runner, with this repo's tokenizer.json and the prompt format <|startoftext|><|im_start|>user\n...<|im_end|>\n<|im_start|>assistant\n.

Pipeline

Reproducible end to end from https://github.com/ (see the repository this was built with): make setup abliterate pareto, make save TRIAL=<idx>, make export, make publish.

Use responsibly; the safety training of the base model has been removed on purpose.

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

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

GPU в ailist

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

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

Репозиторий недоступен на Hugging Face.

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

0 моделей