/ Модель

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

Лицензия
Своя лицензия
Базовая модель
LFM3-1.7B
Библиотека
transformers
Опубликована
2 ноя 2026

LFM3-1.7B-abliterated

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

Экспериментальная по настройке безопасности разговорная модель Liquid AI с удалённым направлением отказа для исследований механизмов отказов, red teaming и оценки устойчивости.

847скачиваний за 30 дней60лайковвеса обновлены11 ноя 2026

Бенчмарки

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

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

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

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

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

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

LFM3-1.7B-abliterated — текстовая разговорная модель OrcaRouter AI, созданная на основе LiquidAI/LFM3-1.7B. Это версия с существенно ослабленным механизмом отказа: авторы удалили из весов направление отказа, чтобы изучать механизмы отказов и оценивать устойчивость моделей в red teaming и исследованиях безопасности ИИ.

Модель содержит около 1,7 млрд параметров и использует гибридную архитектуру из блоков коротких свёрток и grouped-query attention; контекст — до 262 144 токенов. Веса bf16 в формате safetensors предназначены для загрузки через Hugging Face Transformers; для загрузки требуется transformers версии 5.12 или новее и trust_remote_code=True. В карточке заявлена поддержка 17 языков, включая русский.

В описанных автором тестах модель заметно реже отказывала на вредоносные запросы, чем базовая версия; базовые способности сохранились не полностью: результаты MMLU снизились, а оценка MMLU-Pro ограничена бюджетом генерации и проблемами разбора ответов. Показатели отказов получены классификатором по начальным фразам и являются ориентировочными. Модель предназначена для легитимных исследований, red teaming и оценки устойчивости; сниженные защитные ограничения повышают риск генерации вредоносного контента. Использование регулируется LFM Open License v1.0, унаследованной от базовой модели.

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

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

Ограничения

Защитные ограничения и склонность отказывать существенно снижены, поэтому модель может отвечать на вредоносные запросы. Длинный контекст, использование инструментов и мультиязычные способности за пределами CMMLU не оценивались; результаты отказов основаны на простом классификаторе, а MMLU-Pro ограничен бюджетом генерации.

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

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

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

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

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

Открыть на Hugging Face

LFM3-1.7B with the refusal direction removed.

This is the abliterated (refusal-removed) build of LiquidAI/LFM3-1.7B, a 1.7B-parameter hybrid short-conv + attention model (24 layers: 13 gated short-conv blocks + 11 grouped-query-attention blocks, 6 of them full and 5 sliding-window). Weights are bf16 safetensors — load it straight into Hugging Face Transformers.

A single refusal direction was estimated with the diff-of-means method (Arditi et al. 2024) and orthogonalized out of every matrix that writes the residual stream. The model keeps the base's capabilities while declining far less often.


⚠️ Disclaimer — read before use

This model is abliterated: its safety alignment has been substantially reduced. The refusal direction was orthogonalized out of every residual-stream writer, so it will comply with many harmful, unethical, offensive, or illegal requests that the original LFM3-1.7B would refuse.

  • Released strictly for legitimate research: interpretability, AI-safety and refusal-mechanism study, red-teaming, and robustness evaluation.
  • You assume full responsibility for how you use it and for everything it generates. Add your own safety, moderation, and abuse-prevention layers before any deployment.
  • Use must comply with the LFM Open License v1.0 inherited from the base model, and with all applicable law.
  • The authors accept no liability for misuse. Its outputs do not reflect the views of the uploaders or of Liquid AI.

Evaluation

The base and abliterated checkpoints were scored with identical prompts, splits and seed (both runs under the same code revision, so they are directly comparable).

Setup.

  • Runtime: Hugging Face Transformers, bf16, single H200.
  • Decoding: greedy, thinking disabled (enable_thinking=False → the template renders a pre-closed <think></think>).
  • Scoring: refusal is judged by a rule-based opening-phrase classifier (not an LLM judge). Treat the numbers as indicative, not publication-grade: a 0% refusal rate is a statement about phrasing, and the caveat (hedging) column carries the rest.

Safety: harmful-prompt refusal (lower = more uncensored). Average 2.8%, against 87.3% for the base model.

BenchmarknBaseAbliteratedΔ
AdvBench10098.0%2.0%−96.0
JailbreakBench (harmful)10093.0%2.0%−91.0
StrongREJECT15082.0%1.3%−80.7
HarmBench (standard)15081.3%4.0%−77.3
MaliciousInstruct10095.0%0.0%−95.0
SimpleSafetyTests5094.0%8.0%−86.0
ForbiddenQuestions15068.0%2.0%−66.0

Over-refusal: benign prompts wrongly refused (lower = better). No induced over-refusal — the abliterated model is in fact less likely to refuse benign prompts.

BenchmarknBaseAbliterated
XSTest-safe25015.6%1.2%
JailbreakBench (benign)10017.0%1.0%

Capability retention. GSM8K and CMMLU are unchanged; MMLU takes a small dip.

BenchmarknBaseAbliterated
MMLU (letter)30049.0%45.7%
MMLU-Pro (CoT) ⚠25040.0%33.2%
GSM8K (CoT)15086.0%86.0%
CMMLU (letter)50035.0%34.6%

⚠ MMLU-Pro is a floor, not a measurement. 33% (base) / 35% (abliterated) of replies could not be parsed — a 1.7B model is still reasoning when the 1024-token CoT budget runs out — so that row is budget-limited, not a measured capability loss.

Gated-on-Hub safety sets (AdvBench, StrongREJECT, HarmBench) were read from the benchmark authors' upstream CSVs; the rest from the Hub.


Usage (Transformers)

The model ships custom code, so load it with trust_remote_code=True. It requires transformers >= 5.12.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "orcarouter/LFM3-1.7B-abliterated"
tok = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    model_id, trust_remote_code=True, dtype=torch.bfloat16, device_map="cuda"
).eval()

messages = [{"role": "user", "content": "Write a haiku about the ocean."}]
text = tok.apply_chat_template(
    messages, tokenize=False, add_generation_prompt=True, enable_thinking=False
)
enc = tok(text, return_tensors="pt").to("cuda")
out = model.generate(**enc, max_new_tokens=256, do_sample=False)
print(tok.decode(out[0][enc.input_ids.shape[1]:], skip_special_tokens=True))

Set enable_thinking=True for a reasoning trace inside <think>…</think>.


Abliteration recipe

MethodSingle refusal direction, diff-of-means (Arditi et al. 2024), massive-activation dims masked
Direction layerhidden-state layer 11 (of 24, frac 0.46), chosen on a validation split
Edited matrices49 residual-stream writers: attention o_proj ×11, short-conv out_proj ×13, MLP w2 ×24, and the tied token embedding
Max residual leakage9.8e-03 after orthogonalization (clean)
Not touchedq/k/v_proj, conv in_proj, attention gate, MLP w1/w3, norms, router gates

Model details

Base modelLiquidAI/LFM3-1.7B
Architecturelfm3 (custom code). 24 layers — 13 gated short-conv + 11 GQA attention (6 full, 5 sliding-window 256); hidden 2048, SwiGLU MLP (intermediate 7680); GQA 16 q / 4 kv × 128; tied embeddings
Parameters~1.7B · Vocabulary 128,000 · Context 262,144
Precisionbf16 safetensors (~3.4 GB)
RuntimeHugging Face Transformers ≥ 5.12, trust_remote_code=True; text in, text out

What's in this repo

PathContents
model.safetensorsthe abliterated bf16 weights
config.json, generation_config.jsonmodel config (with auto_map to the custom code)
configuration_lfm3.py, modeling_lfm3.py, lfm3_conv.pythe LFM3 custom code (inherited from the base)
tokenizer.json, tokenizer_config.json, special_tokens_map.json, chat_template.jinjatokenizer + chat template

Bias, risks, and limitations

  • Safety guardrails are substantially reduced — see the disclaimer.
  • Refusal numbers come from a rule-based classifier, not an LLM judge; MMLU-Pro is a floor (see the ⚠ note), not a measured capability delta.
  • Not measured: long context, agentic / tool use, and multilingual beyond CMMLU.
  • Inherits the biases and limitations of LFM3-1.7B.

License

The LFM Open License v1.0, inherited from the base model LiquidAI/LFM3-1.7B. See the license for its terms and prohibited uses.


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

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

GPU в ailist

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

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

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

Ревизия весов
9fded8f

0 моделей