← back to catalog · indexed 2026-10-09 08:58

haddockaihamburg/LFM2.5-2.6B-abliterated

haddockaihamburg LFM 2.6B
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - it measures what fits your machine.

Reading your computer's memory from the app right now. The fit below is measured on this machine.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/haddockaihamburg%2FLFM2.5-2.6B-abliterated"
Response includes
  • classification unknown
  • files 11
  • author_summary 3 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
?
Primary method

Unclassified

No clear signals of an abliteration technique in this model.
Confidence
UNKNOWN
Why this label 1 signal
No classification signals present. This may not be an abliterated model at all - it could be a repackaging, a merge with unrelated goals, or unrelated content that mentions the term.
  • no classification signals present (no abliterated, uncensored, or known producer/method markers)
Refusal direction extraction

No specific extraction method could be identified for this model. The producer either did not document it or used a proprietary pipeline.

What is a refusal direction? →
Downloads · lifetime
60
18 last 30d - stable
Likes
0
Model age
6w ago
created 2026-10-09
Downloads over time
Now 60 → from 0 new
0224466 0 on Oct 9 60 on Nov 25 60 on Nov 22 OctNov
Oct 9 → Nov 25 · 48 snapshots · spans 47 days

Genealogy 0 direct forks

Full fork graph →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.

Metadata

License
other
Languages
en de fr ar zh
Tags
transformers safetensors lfm2 text-generation abliterated heretic abliteration directional-ablation lfm2.5 liquid conversational en

Related

Total size
5.04 GB
Files
11
Quantizations
none
Indexed by us
2026-10-09 08:58
Last updated on HF
2026-10-11 07:35

Files by quantization

Weights 2 files 5.02 GB
model-00001-of-00002.safetensors 3.71 GB 91267ba2 download
model-00002-of-00002.safetensors 1.31 GB d7d79a2a download
Auxiliary files 9 files 17.1 MB
tokenizer.json 17.1 MB 307027ef download
model.safetensors.index.json 20.9 KB be629729 download
LICENSE 10.3 KB 25e731c6 download
README.md 5.67 KB 2f541e15 download
chat_template.jinja 5.32 KB d63583bc download
.gitattributes 1.53 KB 52373fe2 download
config.json 1.46 KB e150f69b download
tokenizer_config.json 364 B 4d66ae31 download
generation_config.json 328 B 73b9bad1 download

README latest version on record, committed 2026-10-11


license: other
license_name: lfm1.0
license_link: https://huggingface.co/LiquidAI/LFM2.5-2.6B/blob/main/LICENSE
base_model:

  • LiquidAI/LFM2.5-2.6B
    tags:
  • abliterated
  • heretic
  • abliteration
  • directional-ablation
  • lfm2.5
  • liquid
    library_name: transformers
    language:
  • en
  • de
  • fr
  • ar
  • zh
    pipeline_tag: text-generation

LFM2.5-2.6B-abliterated

Abliterated (safety-alignment-removed) version of LiquidAI/LFM2.5-2.6B,
produced fully automatically with heretic
(directional ablation + TPE parameter optimization; Arbitrary-Rank Ablation merged into the weights).
No manual tuning: heretic ran 20 Optuna trials and the top of the Pareto front was restored.

Measured results

Refusal rate on 25 harmful prompts, measured independently of heretic's scorer
(greedy decoding, 128 new tokens, keyword markers), in answer state (see Usage):

Refusals
LiquidAI/LFM2.5-2.6B (base) 22/25
this model 0/25

Heretic's own baseline scorer measured 21/25 on the base model, consistent with the
independent check. Coherence spot-checks stayed intact (factual QA, structured answers).

Capability benchmark (7 tasks, 0-shot, float16)

lm-eval 0.4 loglikelihood tasks, base vs. this model, identical prompts, both loaded
in float16 - the precision this model was produced and merged in. Multiple-choice
tasks: limit 500 per task. MMLU: limit 3 per subtask (n=171).

Task Base this model Delta
PIQA 74.4% 71.2% -3.2
HellaSwag 54.6% 52.6% -2.0
WinoGrande 61.6% 59.4% -2.2
ARC-Easy 52.8% 46.0% -6.8
OpenBookQA 37.8% 35.2% -2.6
BoolQ 67.0% 52.8% -14.2
MMLU 29.2% 28.1% -1.2

A separate 5-task comparison under nf4 (4-bit) quantization showed roughly twice
these deltas (e.g. BoolQ -28.4): 4-bit quantization interacts badly with the ablated
weights. At the model's native float16 the real cost is about half of that - but it
is real, with reading comprehension (BoolQ) taking the biggest hit.

Honest reading: this ablation costs more capability than the Qwen3-0.6B one from the
same project (flat across all seven tasks) and than the LFM2.5-350M sibling (small
drift). Do not read the refusal numbers as "no capability loss".

Usage: this is an always-thinking model — close the think block yourself

The LFM2.5 chat template injects <think> at the end of the assistant turn, and the
model always reasons before answering. Heretic's measurements (and your own, if you
want comparable behavior) run in answer state: append the closing think tag to
the prompt yourself.

from transformers import AutoModelForCausalLM, AutoTokenizer

MID = "haddockaihamburg/LFM2.5-2.6B-abliterated"
tok = AutoTokenizer.from_pretrained(MID)
model = AutoModelForCausalLM.from_pretrained(MID, dtype="float16", device_map="auto")

prompt = tok.apply_chat_template(
    [{"role": "user", "content": "Your prompt"}],
    add_generation_prompt=True,
    tokenize=False,
) + "</think>\n\n"   # <- important: skips the reasoning block

ids = tok(prompt, return_tensors="pt").input_ids.to(model.device)
out = model.generate(ids, max_new_tokens=256, do_sample=False)
print(tok.decode(out[0][ids.shape[1]:], skip_special_tokens=True))

Notes:

  • Unlike Qwen3-style templates, LFM2.5's template has no enable_thinking flag.
    Use the explicit suffix above (applies to the base model too).
  • Appending a full <think>...</think> block (Qwen3-style) makes the model stop
    immediately (<|im_end|>) - don't.
  • Unlike its 350M sibling, this model does NOT answer without the suffix - it will
    reason first. The 350M behaves as non-thinking and needs no suffix.
  • Generation defaults from the model card: temperature 0.1, top_k 50, repetition_penalty 1.1.

Ablation parameters

Top of the Pareto front (trial 17 of 20, ARA modifier, merged; 30 layers total):

  • start_layer_index: 11
  • end_layer_index: 30
  • preserve_good_behavior_weight: 0.6797
  • steer_bad_behavior_weight: 0.0037
  • overcorrect_relative_weight: 0.3119
  • neighbor_count: 3

Ablated components: attn.o_proj and mlp.down_proj of the hybrid LFM2.5 blocks
(22 short-conv + 8 GQA attention layers). Weights are merged fp16 (no adapter needed).

How it was produced

Hardware: GTX 1070 (8 GB, sm_61, Pascal), float16 with bnb_4bit for the optimization
run (fp16 weights + ARA backward exceeded 8 GB; nf4 ran on Pascal - verified).
bf16 kernels do not exist on pre-Ampere, so the run used fp16.
Logs, configs, and the full evaluation method: the heretic-lab repository
(private; notes/06-lfm.md documents the run).

Caveats

  • 25 prompts, one seed, one run. Treat refusal numbers as indicative.
  • Heretic runs vary by seed: a second run of the same config can land on a near-no-op
    ablation. Always verify refusals independently.
  • Measured capability degradation, strongest on BoolQ reading comprehension
    (see table above): -14.2 points in float16, roughly double under 4-bit quantization.
    Check quality at your target precision before relying on this model for reasoning
    or reading-comprehension workloads.

Safety

This model has substantially reduced safety alignment and will comply with requests
the base model refuses. Intended for research on alignment and abliteration methods.
You are responsible for how you use it.

License

The base model LiquidAI/LFM2.5-2.6B is
under the LFM Open License v1.0 (lfm1.0); this derivative keeps that license
(see the LICENSE file in this repo). Produced with the AGPL-licensed heretic tool;
the tool license does not extend to the weights.

README history 3 versions

The author's README evolved over time. Click a version to see its content at that point.

  1. 2026-10-11 Upload README.md with huggingface_hub 8ee72fa 5.7 KB
    Loading...
  2. 2026-10-10 Upload README.md with huggingface_hub b6cb83e 5.7 KB
    Loading...
  3. 2026-10-09 Upload abliterated LFM2.5-2.6B (heretic 2.0.0.dev0, 20 trials, trial 17 Paret... 5985197 4.3 KB
    Loading...
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every GGUF model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration