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

haddockaihamburg/LFM2.5-2.6B-abliterated

Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - we'll show exact numbers.

Reading real hardware from your app right now. Numbers below are exact.

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 2 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 · 30-day
0
Likes
0
Model age
today
created 2026-10-09

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.02 GB
Files
11
Quantizations
1
Registered
2026-10-09 08:58
Last updated on HF
2026-10-09 07:11

Files by quantization

Auxiliary files 11 files 5.04 GB
model-00001-of-00002.safetensors 3.71 GB 91267ba2 download
model-00002-of-00002.safetensors 1.31 GB d7d79a2a download
tokenizer.json 17.1 MB 307027ef download
model.safetensors.index.json 20.9 KB be629729 download
LICENSE 10.3 KB 25e731c6 download
chat_template.jinja 5.32 KB d63583bc download
README.md 4.26 KB 7912e3dc 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 current version from Hugging Face


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. Capability spot-checks stayed coherent (factual QA, formatting,
instruction following). No full benchmark suite was run for this model - 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.
  • 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.
  • No benchmark suite for this model.

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.

Catalog is the map. Apps are the tools.

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

Every 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