/ Модель

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

Контекст
128 000 токенов
Параметры
1,6 млрд
Размер весов
16,9 ГБ
Лицензия
Своя лицензия
Архитектура
lfm2_moe · MoE
Базовая модель
LFM2.5-8B-A1B
Библиотека
transformers
Опубликована
4 окт 2026

LFM2.5-8B-A1B-heretic

Генерация текстаТекст → текст

Локальная мультиязычная MoE-модель для диалогов, рассуждений и вызова инструментов с контекстом до 128 000 токенов и намеренно ослабленным поведением отказа.

1 752скачиваний за 30 дней1лайквеса обновлены5 окт 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

LFM2.5-8B-A1B-heretic — мультиязычная диалоговая модель RACER IS OP, полученная изменением весов LiquidAI/LFM2.5-8B-A1B с помощью Heretic v1.4.0. Это гибридная MoE-архитектура Lfm2MoeForCausalLM с 8,3 млрд параметров всего и примерно 1,5 млрд активных на токен. Контекст — до 128 000 токенов. Модель принимает текст и генерирует текст, включая ответы ассистента и вызовы инструментов в Python-подобном формате. В карточке заявлена поддержка английского, арабского, китайского, французского, немецкого, японского, корейского, испанского, португальского и итальянского языков.

Модель предназначена для локальных диалоговых ассистентов, рассуждений и агентных сценариев с вызовом инструментов. Автор описывает её как вариант с подавленным поведением отказа: на приведённой оценке число отказов снизилось с 90 до 28 из 100. Для запуска доступны веса Safetensors BF16 и варианты GGUF от F16 до Q4_K_M, Q5_K_M, Q6_K и Q8_0; указана совместимость с llama.cpp, LM Studio и Jan, а также запуск через Ollama, vLLM и SGLang.

В README отмечены возможный сдвиг стиля и форматирования относительно исходной модели, сохранение её фактических ограничений и предубеждений, а также отсутствие дополнительной фильтрации безопасности. Модель может выполнять запросы, на которые исходная версия отказала бы. Лицензия в метаданных обозначена как other; конкретные условия использования следует сверять с карточкой репозитория.

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

  • локальный диалоговый ассистент на компьютере пользователя
  • вызов инструментов в агентном сценарии
  • ответы на длинные текстовые запросы с контекстом до 128 000 токенов
  • мультиязычные диалоги на поддерживаемых языках
  • эксперименты с поведением модели при ослабленных отказах

Ограничения

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

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

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

Открыть на Hugging Face

LFM2.5-8B-A1B-heretic

A decensored variant of LiquidAI/LFM2.5-8B-A1B, produced with Heretic v1.4.0 (directional ablation / "abliteration"). Liquid's hybrid conv+attention MoE keeps its native reasoning traces, Pythonic tool-call format, and 128K context; refusal behaviour is suppressed via targeted weight edits to the attention output and MLP down-projections rather than fine-tuning, so the base model's agentic ability and multilingual coverage are left largely intact.

Who this is for: developers who want a fast, uncensored on-device assistant that actually calls tools - the 8.3B-total / 1.5B-active MoE decodes faster than dense models several times its size, so this runs at interactive speed on CPU-only laptops, Apple Silicon, and low-VRAM GPUs while still fitting a 128K context. Pair it with LFM2.5-8B-A1B-DSpark for ~2.5x faster speculative decoding.

Runs on your gaming PC

Full GGUF ladder included - pick the quant that fits your card:

Your GPURecommended quantWeights
RTX 4090 / 5090 (24 GB)Q8_08.39 GB
RTX 4080 / 5080 (16 GB)Q6_K6.48 GB
RTX 4070 / 5070 (12 GB)Q5_K_M5.62 GB
RTX 4060 Ti / 3070 (8 GB)Q4_K_M4.80 GB
GTX 1660 Super / 2060 (6 GB)IQ4_XS4.49 GB
CPU-only / Apple SiliconQ4_K_M4.80 GB

Weights only, at this model's 8.3B total native size; add ~1 GB per 32K of context. Because this is a mixture-of-experts model, memory bandwidth matters far more than raw VRAM - a CPU with fast RAM often outruns a slow GPU. OOM? Drop one quant level. Headroom to spare? Go one up.

Abliteration parameters

Trial 167 of a 200-trial Heretic run (seed 4217170727). direction_index was selected per layer.

ParameterValue
direction_indexper layer
attn.o_proj.max_weight1.44
attn.o_proj.max_weight_position13.92
attn.o_proj.min_weight1.15
attn.o_proj.min_weight_distance9.52
mlp.down_proj.max_weight1.32
mlp.down_proj.max_weight_position18.50
mlp.down_proj.min_weight0.12
mlp.down_proj.min_weight_distance11.61

Performance

MetricThis modelOriginal model (LiquidAI/LFM2.5-8B-A1B)
KL divergence0.16490 (by definition)
Refusals28/10090/100

Refusals on the harmful evaluation set drop from 90/100 to 28/100. KL divergence of 0.1649 is the loosest of this batch - the refusal directions in this hybrid conv+attention MoE overlap more with its instruction-following behaviour, so Heretic had to move further to hit the same refusal target. Expect a small amount more drift in style and formatting than a low-KL sibling; the reasoning traces and tool-call format survive intact.

Why abliteration instead of fine-tuning

Fine-tuning a "helpful" persona on top of RLHF'd refusals fights the base model's training and tends to degrade coherence. Abliteration instead finds and edits the specific weight directions responsible for refusal, leaving the rest of the network (and its capabilities) untouched. See the Heretic repo and the original abliteration writeup for the mechanism.

Made with ❤️ by RACER IS OP — follow for more uncensored models

Files

Safetensors

FileSize
model-00001-of-00004.safetensors4.60 GB
model-00002-of-00004.safetensors4.55 GB
model-00003-of-00004.safetensors4.57 GB
model-00004-of-00004.safetensors2.05 GB

BF16, ~8.3B total parameters (~1.5B active per token). The reproduce/ directory carries the full Heretic recipe - config.toml, requirements.txt, the Optuna study journal, and SHA-256 sums - so this exact model can be regenerated bit-for-bit. Reproduce it with heretic --reproduce reproduce/reproduce.json.

GGUF quantizations

Full quantization set (F16 + Q4_K_M, Q5_K_M, Q6_K, Q8_0) produced with llama.cpp.

FileFormatSize
LFM2.5-8B-A1B-heretic-F16.ggufGGUF F1615.78 GB
LFM2.5-8B-A1B-heretic-Q4_K_M.ggufGGUF Q4_K_M4.80 GB
LFM2.5-8B-A1B-heretic-Q5_K_M.ggufGGUF Q5_K_M5.62 GB
LFM2.5-8B-A1B-heretic-Q6_K.ggufGGUF Q6_K6.48 GB
LFM2.5-8B-A1B-heretic-Q8_0.ggufGGUF Q8_08.39 GB

LFM2 MoE architecture (lfm2moe) - loads natively in llama.cpp / LM Studio / Jan.

Run llama serve -hf saidutta69/LFM2.5-8B-A1B-heretic to pull the default quant.

Quickstart

# llama.cpp
llama serve -hf saidutta69/LFM2.5-8B-A1B-heretic
# transformers (requires transformers>=5.0.0)
from transformers import AutoModelForCausalLM, AutoTokenizer

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

messages = [{"role": "user", "content": "A train leaves at 14:05 travelling 80 km/h. A car leaves at 14:15 travelling 120 km/h on the same track. When does the car catch the train? Show your work."}]
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.2, top_k=80, repetition_penalty=1.05, max_new_tokens=8192)
print(tokenizer.decode(out[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))

Also runnable via Ollama, LM Studio, Jan, vLLM, SGLang.

Generation parameters

Liquid's recommended settings - low temperature with a top-k cut:

model.generate(**inputs, temperature=0.2, top_k=80, repetition_penalty=1.05)

Tool use

LFM2.5 writes Pythonic calls: a Python list between <|tool_call_start|> and <|tool_call_end|>. Pass tool definitions as a JSON list in the system prompt, or hand them to tokenizer.apply_chat_template(..., tools=tools), then feed the result back under a tool role. To get JSON instead, just ask for it in the system prompt.

Speculative decoding

Attach LFM2.5-8B-A1B-DSpark (a 328M drafter) for roughly 2.5x faster decoding with identical outputs.

Model details

ArchitectureLfm2MoeForCausalLM (hybrid conv + attention MoE)
Parameters8.3B total / 1.5B active
Layers / heads24 layers (18 double-gated conv + 6 GQA), 32 attention heads, 8 KV heads
Hidden / intermediate2048 / 7168 dense, 1792 per expert
Experts32 experts, 4 routed per token
Position embeddingRoPE, theta = 5,000,000
Context length128,000
Vocab128,000
Precisionbfloat16
LanguagesEnglish, Arabic, Chinese, French, German, Italian, Japanese, Korean, Portuguese, Spanish
Base modelLiquidAI/LFM2.5-8B-A1B

Responsible use

Refusal suppression is deliberate and works as intended: this model will comply with requests the base model would refuse, including some it shouldn't. 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's factual limitations and biases; abliteration removes refusal directions, it doesn't add capability or judgment.

License

Inherits the LFM License 1.0 from the base model.

Related

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Lfm2MoeForCausalLM
Ревизия весов
712bb28

0 моделей