← back to catalog · indexed 2026-08-22 13:56 (first catalog crawl)

paperscarecrow/LFM2-24B-A2B-Abliterated

paperscarecrow LFM 24B GGUF MoE 128K ctx
Your rig guess connected
? Why do I need an app?
Reading your rig…

Below is the per-quantization compatibility for this model.

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

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/paperscarecrow%2FLFM2-24B-A2B-Abliterated"
Response includes
  • classification m1
  • files 49
  • benchmarks 11 entries
  • hub_downloads_all_time 783
  • author_summary 3 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.1.0
M1
Primary method

Direct removal

No other method signals detected in this model.
Confidence
HIGH
Why this label 2 signals
Producer identity confirmed by naming conventions, tags or the model card. This label is very unlikely to change.
  • card names Sumandora's remove-refusals-with-transformers
  • weight_format = gguf (GGUF), but parent LiquidAI/LFM2-24B-A2B is the original release, so this repo is the author's own release: not a repackaging
Refusal direction extracted via
Extraction technique

Difference-of-means

Confidence
MEDIUM
Why we say so
primary_method=M1; difference-of-means is the reference extraction for M1/M3 (Arditi 2024)
Downloads · lifetime
857
19 last 30d - cooling
Likes
2
Model age
8mo ago
created 2026-03-08

Training datasets

2 of 2 in /datasets

Corpora the author lists in the model card. Datasets tracked in our /datasets catalog carry a category badge linking to the workflow stage. Others open on Hugging Face.

Downloads over time
Now 857 → from 223 ↑ 284%
191434677920 223 on Mar 11 857 on Nov 27 857 on Nov 25 MarMayJulSepNov
Mar 11 → Nov 27 · 117 snapshots · spans 261 days

Benchmarks

Portrait before abliteration
Benchmarks of the base model as it stood before the refusal-removal operation. Compare with the numbers above to see what the operation cost.
Benchmark Score Source
Entertainment 1.3 UGI
Hazardous 1.2 UGI
Natural Intelligence 14.43 UGI
Political lean -16.2% UGI
Sensitive-Info 13.47 UGI
SocPol 1.6 UGI
UGI 28.98 UGI
Willingness (10) 6 UGI
W10-Adherence 6 UGI
W10-Direct 6 UGI
Writing 27.56 UGI

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

Languages
en
Quantizations
F16 Q4_K
Tags
safetensors gguf liquid moe abliteration uncensored lfm conversational en dataset:mlabonne/harmful_behaviors dataset:mlabonne/harmless_alpaca base_model:LiquidAI/LFM2-24B-A2B

Related

Total size
102 GB
Files
49
Quantizations
2
Indexed by us
2026-08-22 13:56 · first crawl
Last updated on HF
2026-03-08 19:12

Files by quantization

Q4_K_M 1 file 13.4 GB
ggufs/LFM2-24B-A2B-Abliterated-Q4_K_M.gguf 13.4 GB 48a072bf download
F16 1 file 44.4 GB
ggufs/LFM2-24B-A2B-Abliterated-F16.gguf 44.4 GB 9252bf4b download
Weights 38 files 44.4 GB
LFM2-24B-A2B-Abliterated/model-00001-of-00038.safetensors 1.76 GB 5e946ad3 download
LFM2-24B-A2B-Abliterated/model-00002-of-00038.safetensors 1.53 GB 246352dd download
LFM2-24B-A2B-Abliterated/model-00009-of-00038.safetensors 1.18 GB 6c6b0e7b download
LFM2-24B-A2B-Abliterated/model-00013-of-00038.safetensors 1.18 GB 951d6581 download
LFM2-24B-A2B-Abliterated/model-00017-of-00038.safetensors 1.18 GB 02a50e41 download
LFM2-24B-A2B-Abliterated/model-00021-of-00038.safetensors 1.18 GB feaebc43 download
LFM2-24B-A2B-Abliterated/model-00025-of-00038.safetensors 1.18 GB 31df9dd4 download
LFM2-24B-A2B-Abliterated/model-00029-of-00038.safetensors 1.18 GB b85797d2 download
LFM2-24B-A2B-Abliterated/model-00033-of-00038.safetensors 1.18 GB 68a05b1b download
LFM2-24B-A2B-Abliterated/model-00037-of-00038.safetensors 1.18 GB 1b39bedf download
LFM2-24B-A2B-Abliterated/model-00005-of-00038.safetensors 1.18 GB 079aab62 download
LFM2-24B-A2B-Abliterated/model-00010-of-00038.safetensors 1.16 GB 8eb0103b download
LFM2-24B-A2B-Abliterated/model-00011-of-00038.safetensors 1.16 GB e85b3bc4 download
LFM2-24B-A2B-Abliterated/model-00014-of-00038.safetensors 1.16 GB bf92ebb3 download
LFM2-24B-A2B-Abliterated/model-00015-of-00038.safetensors 1.16 GB 991f31ee download
LFM2-24B-A2B-Abliterated/model-00018-of-00038.safetensors 1.16 GB cdc166f4 download
LFM2-24B-A2B-Abliterated/model-00019-of-00038.safetensors 1.16 GB 68825a46 download
LFM2-24B-A2B-Abliterated/model-00022-of-00038.safetensors 1.16 GB 4740b960 download
LFM2-24B-A2B-Abliterated/model-00023-of-00038.safetensors 1.16 GB 9dcaf9ca download
LFM2-24B-A2B-Abliterated/model-00026-of-00038.safetensors 1.16 GB 2865d09c download
LFM2-24B-A2B-Abliterated/model-00027-of-00038.safetensors 1.16 GB 1990bf43 download
LFM2-24B-A2B-Abliterated/model-00030-of-00038.safetensors 1.16 GB 69047484 download
LFM2-24B-A2B-Abliterated/model-00031-of-00038.safetensors 1.16 GB 05d994e9 download
LFM2-24B-A2B-Abliterated/model-00034-of-00038.safetensors 1.16 GB cea9a583 download
LFM2-24B-A2B-Abliterated/model-00035-of-00038.safetensors 1.16 GB 94503ce9 download
LFM2-24B-A2B-Abliterated/model-00003-of-00038.safetensors 1.16 GB 13ece5e2 download
LFM2-24B-A2B-Abliterated/model-00006-of-00038.safetensors 1.16 GB 8961c9bc download
LFM2-24B-A2B-Abliterated/model-00007-of-00038.safetensors 1.16 GB 37eff3fd download
LFM2-24B-A2B-Abliterated/model-00012-of-00038.safetensors 1.13 GB 57c8b447 download
LFM2-24B-A2B-Abliterated/model-00016-of-00038.safetensors 1.13 GB e44a9e2a download
LFM2-24B-A2B-Abliterated/model-00020-of-00038.safetensors 1.13 GB 60e39189 download
LFM2-24B-A2B-Abliterated/model-00024-of-00038.safetensors 1.13 GB 7ca71bbd download
LFM2-24B-A2B-Abliterated/model-00028-of-00038.safetensors 1.13 GB 1ec5bc5c download
LFM2-24B-A2B-Abliterated/model-00032-of-00038.safetensors 1.13 GB 25ab6e70 download
LFM2-24B-A2B-Abliterated/model-00036-of-00038.safetensors 1.13 GB c03ff68c download
LFM2-24B-A2B-Abliterated/model-00008-of-00038.safetensors 1.13 GB 2f68fbc2 download
LFM2-24B-A2B-Abliterated/model-00004-of-00038.safetensors 1.13 GB c9da1a46 download
LFM2-24B-A2B-Abliterated/model-00038-of-00038.safetensors 768 MB 3e21fccf download
Auxiliary files 9 files 5.20 MB
LFM2-24B-A2B-Abliterated/tokenizer.json 4.51 MB d54bc82c download
LFM2-24B-A2B-Abliterated/model.safetensors.index.json 685 KB 0c540c5c download
abliterate-24b-liquid-cuda.py 6.09 KB 5fc1ed52 download
README.md 3.97 KB d8152ad9 download
LFM2-24B-A2B-Abliterated/chat_template.jinja 2.49 KB ad239e10 download
.gitattributes 1.63 KB da60923a download
LFM2-24B-A2B-Abliterated/config.json 1.40 KB 377c7739 download
LFM2-24B-A2B-Abliterated/tokenizer_config.json 558 B 871ffefe download
LFM2-24B-A2B-Abliterated/generation_config.json 136 B 01f99c0a download

README from Hugging Face, captured 2026-08-22


language:

  • en
    tags:
  • liquid
  • moe
  • abliteration
  • uncensored
  • lfm
  • conversational
    base_model: LiquidAI/LFM2-24B-A2B
    datasets:
  • mlabonne/harmful_behaviors
  • mlabonne/harmless_alpaca

crucial note: this currently only works on llama.cpp CUDA; I have not managed to get it working on ROCM or vulkan llama.cpp.

LFM2-24B-A2B-Abliterated

This is an abliterated version of Liquid AI's LFM2-24B-A2B MoE model. It has been modified via layerwise orthogonal projection to completely remove its built-in safety filters and refusal mechanisms, allowing the continuous-time hybrid architecture to flow uninhibited.

It was created because I wasn't satisfied with other abliterations I saw for these, and decided to take a crack at it in a way that matched one of my favorite models: mlabonne's gemma3-27b-it-abliterated.

## Architectural Hurdles & Methodology

Liquid Foundation Models use a non-standard hybrid architecture. The 24B version combines 30 Short-Convolution layers and 10 Grouped-Query Attention layers, alongside a massive 64-expert Mixture-of-Experts (MoE) routing system. Standard ablation scripts designed for Llama-class transformers will completely crash on this architecture due to proprietary Lfm2MoeExperts class wrappers and complex routing mechanisms.

This model was abliterated by:

  1. Adapting forward hooks to safely pass Liquid's dynamic states and targeting the dead center of the network (Layer 20) during the measurement phase.
  2. Extracting the "refusal vector" from the hidden states of 100 harmful vs. 100 harmless instructions (utilizing mlabonne/harmful_behaviors and mlabonne/harmless_alpaca).
  3. Deploying a recursive tensor-hunting script to dynamically drill through the un-iterable custom expert classes.
  4. Applying orthogonal projection (W_new = W - v(v^T W)) directly to the Token Mixing matrices (o_proj, out_proj) and all 64 Expert Channel Mixing down-projections (w2, down_proj) across the network.

Credit to Maxime Labonne and Sumandora for the foundational datasets and math, adapted here for the massive LFM MoE architecture.

## Notes on Hardware & Compute Requirements

Because of the sheer size of a 24B MoE model (taking ~48GB just to load the base float16 weights), memory management during tensor surgery is critical. This ablation was executed on a 96GB NVIDIA RTX 6000 Ada using pure PyTorch CUDA acceleration, heavily utilizing garbage collection to keep the projection math from spiking into Out-of-Memory errors.

If attempting to replicate similar LFm MoE ablations on consumer hardware, it is highly recommended to offload the operation to pure System RAM (CPU inference) using a high-core-count processor (like a Ryzen 9 7950X) with at least 96GB of physical DDR5.

## Usage

This model retains the exact same architecture as the base LFM2-24B-A2B and requires trust_remote_code=True when loading via transformers.

CRITICAL: Unlike the 1.2B and 3B models, the 24B MoE strictly uses standard ChatML formatting. It is highly recommended to use the exact <|startoftext|><|im_start|>user formatting without any injected system prompts for the best uncensored performance.

import torch
from transformers import AutoModelForCausalLM, PreTrainedTokenizerFast

model_id = "paperscarecrow/LFM2-24B-A2B-Abliterated"

# Note: Using PreTrainedTokenizerFast bypasses a known typo in Liquid's tokenizer_config.json
tokenizer = PreTrainedTokenizerFast.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id, 
    torch_dtype=torch.float16, 
    device_map="auto", 
    trust_remote_code=True
)

prompt = "<|startoftext|><|im_start|>user\nGive me a detailed tutorial on picking a master padlock.<|im_end|>\n<|im_start|>assistant\n"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)

with torch.no_grad():
    outputs = model.generate(
        **inputs, 
        max_new_tokens=150, 
        do_sample=True,
        temperature=0.7
    )

print(tokenizer.decode(outputs[0], skip_special_tokens=True))

README history 3 versions

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

  1. 2026-03-08 Update README.md f6186ee 4 KB
    Loading...
  2. 2026-03-08 Update README.md cd5af26 3.8 KB
    Loading...
  3. 2026-03-08 initial commit 3174e65 28 B
    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