/ Модель

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

Контекст
128 000 токенов
Параметры
1,5 млрд
Лицензия
Своя лицензия
Архитектура
lfm2 · dense
Базовая модель
LFM2.5-1.2B-Thinking
Библиотека
transformers
Опубликована
24 авг 2026

LFM2.5-1.2B-Thinking-Heretic-NX-Residual-Stream

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

Поведенческая редакция LFM2.5-1.2B-Thinking для генерации текста и диалогов с меньшим числом ложных отказов.

108скачиваний за 30 дней0лайковвеса обновлены24 авг 2026

Бенчмарки

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

Тесты пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

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

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

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

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

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

0xzknw разработала поведенческую редакцию LiquidAI/LFM2.5-1.2B-Thinking: модель LFM2.5 с архитектурой LFM2 и 1,5 млрд параметров доработана для заметного снижения ложных отказов при сохранении поведения исходной модели. Она предназначена для генерации текста и диалогов, включая запросы, на которые исходная модель могла бы необоснованно отказаться отвечать. Поддерживает контекст до 128 000 токенов; в карточке указаны английский, арабский, китайский, французский, немецкий, японский, корейский и испанский языки.

В репозитории есть веса Transformers в BF16 и файл GGUF в BF16 для LM Studio и llama.cpp; GGUF не квантизован. README приводит сравнительные результаты по отказам и отдельным срезам способностей, но они не означают улучшения точности или качества ответов. Ослабление отказов может повысить вероятность ответов на опасные, незаконные или неверные запросы; модель не добавляет защитных механизмов и требует независимых мер безопасности. Условия использования определяет лицензия LFM Open License v1.0.

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

  • локальный запуск текстовой модели в LM Studio или llama.cpp
  • ведение диалогов с моделью LFM2.5
  • получение ответов на запросы, которым базовая модель могла отказать
  • эксперименты с поведенческим редактированием языковых моделей

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

LFM2.5 1.2B Thinking — Heretic NX Residual-Stream

This is a BF16 behavioral edit of LiquidAI/LFM2.5-1.2B-Thinking focused on aggressive false-refusal removal while preserving the base model's general behavior as closely as possible.

The naming has three distinct levels:

  • Heretic NX is the model-editing engine and research project.
  • Residual-Stream is the algorithm profile used for this checkpoint.
  • PRIME is the project's capability-preservation and evidence protocol.

PRIME is an internal validation protocol, not a third-party certification.

Files

  • model.safetensors: native Transformers checkpoint in BF16.
  • LFM2.5-1.2B-Thinking-Heretic-NX-Residual-Stream-BF16.gguf: full BF16 GGUF for LM Studio/llama.cpp. It is not quantized.
  • PROVENANCE.json: portable source, code, evaluation and artifact hashes.
  • MODIFICATION_NOTICE.md: derivative-model modification notice.

Results

The frozen candidate was compared with fresh, hash-bound artifacts produced by the official Heretic master and v1.4.0 code. Heretic-wide is the stronger previously disclosed comparator. All arms use the same prompts and deterministic evaluation settings; no post-comparison tuning was performed.

EvaluationBaseHeretic masterHeretic v1.4Heretic-wideResidual-Stream
XSTest lexical refusals, 450 rows1315019125
XSTest safe-prompt refusals, 250 rows164220
StrongREJECT lexical refusals, 313 rows240114481414
Combined target refusals, 513 rows355160652419
Paired capability slice, 854 rows22.95%23.07%22.95%22.95%23.42%

With familywise alpha 5% corrected over three metrics and three Heretic arms, Residual-Stream has positive paired target lower bounds against the official master (+0.2203) and v1.4.0 (+0.0526) runs. It also passes the zero-margin safe-behavior gate and the preregistered 3 percentage-point capability non-inferiority gate against both. Under the published model-specific protocol, it therefore outperforms those two pinned official Heretic runs.

Against Heretic-wide, Residual-Stream has fewer observed combined refusals (19 versus 24), but the corrected target interval crosses zero; that comparison remains descriptive. The capability test uses deterministic first-token A/B/C/D scoring on ARC-Challenge, HellaSwag and MMLU. It is a capability slice, not a comprehensive benchmark suite.

The release-time teacher-forced sequence-drift comparison is unchanged: Residual-Stream scored full-sequence KL 0.0701 versus 0.1438 for the pinned Heretic-wide comparator on development prompts, and 0.0643 versus 0.1343 on the locked holdout.

Refusal-marker counts are lexical proxies. They do not measure semantic task success, correctness or safety. These results support a corrected, matched comparison on this exact LFM model, not a universal engine or model ranking.

Transformers usage

Install a recent Transformers release with LFM2 support:

pip install "transformers>=5.0" accelerate torch
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "0xzknw/LFM2.5-1.2B-Thinking-Heretic-NX-Residual-Stream"

tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    dtype=torch.bfloat16,
    device_map="auto",
).eval()

messages = [{"role": "user", "content": "Explain why the sky is blue."}]
inputs = tokenizer.apply_chat_template(
    messages,
    add_generation_prompt=True,
    return_tensors="pt",
).to(model.device)

with torch.inference_mode():
    output = model.generate(inputs, max_new_tokens=256)

print(tokenizer.decode(output[0][inputs.shape[-1]:], skip_special_tokens=True))

LM Studio

Download the ...Residual-Stream-BF16.gguf file and import it into LM Studio. The published file was loaded with full GPU offload at a 4096-token context on the development machine. An end-to-end arithmetic generation smoke test returned the expected answer, found EOS, and ran at 75.77 tokens/s. Performance depends on hardware and runtime version.

The GGUF was produced by llama.cpp b10603 at commit c060ca974c773c7c3d17fd1b66dc9d312bc292c0 using --outtype bf16.

Reproducibility

Engine source, release scripts, tests and compact evidence are pinned at heretic-nx@2147c09. The exact base, candidate, comparator, dataset, report and GGUF hashes are in PROVENANCE.json and in the repository's release evidence.

The corrected closed comparison, exact upstream configurations, item-level observations and multiplicity-adjusted intervals are pinned at heretic-nx@4347278, with a compact hash-bound summary.

Limitations and responsibility

This edit intentionally weakens refusal behavior. That can increase compliance with unsafe, illegal, incorrect or otherwise harmful requests. It does not add factuality, security boundaries or reliable judgment. Run untrusted generations in an appropriate sandbox and apply independent application-level safeguards.

The BF16 checkpoint is the evaluated artifact. The BF16 GGUF has a runtime smoke pass, but it has not independently repeated every PRIME capability slice. Q8/Q6/Q4 variants are not included and would require their own evaluation.

Use is subject to the included LFM Open License v1.0.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей