/ Модель

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

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

LFM2.5-8B-A1B-heretic

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

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

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

Мультиязычная локальная MoE-модель для генерации текста, диалогов, рассуждений и вызова инструментов с контекстом до 128 тысяч токенов и сниженной склонностью к отказам.

LFM2.5-8B-A1B-heretic — мультиязычная текстовая модель RACER IS OP (saidutta69), полученная изменением весов LiquidAI/LFM2.5-8B-A1B методом directional ablation с помощью Heretic 1.4.0. Это гибридная MoE-архитектура с комбинацией свёрточных слоёв и attention: 8,3 млрд параметров всего, около 1,5 млрд активных на токен. Контекст — до 128 000 токенов.

Модель предназначена для локальных диалоговых ассистентов, генерации текста, рассуждений и вызова инструментов; автор ориентирует её на запуск на CPU, Apple Silicon и видеокартах с небольшим объёмом памяти. Поддерживаются английский, арабский, китайский, французский, немецкий, японский, корейский, испанский, португальский и итальянский языки. В репозитории есть веса Safetensors BF16 и GGUF-квантизации F16, Q4_K_M, Q5_K_M, Q6_K и Q8_0.

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

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

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

Ограничения

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

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

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

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

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

Источники: 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-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 (saidutta69) — 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

FAQ

What is LFM2.5-8B-A1B-heretic?

LFM2.5-8B-A1B-heretic is a decensored build of LiquidAI/LFM2.5-8B-A1B produced with Heretic 1.4.0 (directional 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-8B-A1B-heretic actually uncensored?

Yes. On Heretic's 100-prompt refusal harness it drops from 90/100 to 28/100 at KL divergence 0.1649 from the base model. These are measured values, not a claim; reproduction data is in reproduce/. This edit is conservative: only 62 of 90 refusals cleared, so read KL and refusal count together. KL is high for this checkpoint (0.1649); weights moved further than the low-KL siblings and capability impact is not benchmarked here.

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

llama serve -hf saidutta69/LFM2.5-8B-A1B-heretic:Q4_K_M pulls the default quant; the repo ships 5 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 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

Abliteration hardware

Recorded in reproduce/reproduce.json:

  • GPU: NVIDIA GeForce RTX 5090 (31.36 GB VRAM)
  • CPU: AMD Ryzen 7 9700X 8-Core Processor
  • OS: Linux-6.8.0-142-generic-x86_64-with-glibc2.35
  • CUDA / driver: CUDA 13.0, driver 595.84
  • Software: PyTorch 2.14.1+cu130, Heretic 1.4.0

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

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей