← back to catalog · registered 2026-08-22 13:56

ansulev/LFM2.5-2.6B-Uncensored

ansulev Lfm 2.7B
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/ansulev%2FLFM2.5-2.6B-Uncensored"
Response includes
  • classification m-uncensored
  • files 10
  • hub_downloads_all_time 864
  • author_summary 10 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M-U
Primary method

Uncensored (method unknown)

No other method signals detected in this model.
Confidence
LOW
Why this label 3 signals
Weak or ambiguous signals. Best guess based on catalog patterns; treat as tentative and check the evidence below.
  • 'uncensored' in name/tags but no 'abliterated' marker
  • method not identifiable from author declaration alone
  • may be DPO fine-tune, prompt engineering, or unknown technique
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
864
207 last 30d - stable
Likes
0
Model age
7w ago
created 2026-08-22
Downloads over time
Now913→from0↑0%
03356701K0 on Aug 19913 on Oct 11AugSepOct
Aug 19 → Oct 11 · 48 snapshots · spans 53 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
Tags
transformers safetensors lfm2 text-generation liquid lfm2.5 edge uncensored abliterix bf16 conversational base_model:LiquidAI/LFM2.5-2.6B

Related

Total size
5.02 GB
Files
10
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2026-08-22 04:56

Files by quantization

Auxiliary files 10 files 5.04 GB
model.safetensors 5.02 GB 913277f3 download
tokenizer.json 17.1 MB 695be780 download
README.md 16.4 KB f38691a0 download
README_zh.md 16.3 KB 05a24bf8 download
LICENSE 10.3 KB 25e731c6 download
chat_template.jinja 5.32 KB d63583bc download
.gitattributes 1.53 KB 52373fe2 download
config.json 1.46 KB 5e7b0b94 download
tokenizer_config.json 363 B e3eefcd5 download
generation_config.json 270 B e46912c1 download

README current version from Hugging Face


library_name: transformers
license: other
license_name: lfm1.0
license_link: LICENSE
pipeline_tag: text-generation
tags:

  • liquid
  • lfm2.5
  • edge
  • uncensored
  • abliterix
  • safetensors
  • bf16
    base_model:
  • LiquidAI/LFM2.5-2.6B
    base_model_relation: finetune

parent: LiquidAI official


ABLITERIX TRIAL 65 BF16 LFM Open 1.0

LFM2.5-2.6B-Uncensored

English | 📖 中文文档

Uncensored 2.6B edge model · abliterix Trial 65 · BF16 safetensors

🌊 About this release

LFM2.5-2.6B is a Liquid AI 2.6B-parameter hybrid edge model built for agentic workloads: 30 layers (22 double-gated short-convolution blocks + 8 GQA), a 128K context window, 128K vocabulary, and a ChatML-like template with native <think> reasoning. It is competitive with models 4x larger on tool use, instruction following, and multi-step agentic tasks.

This release builds on the official weights in two steps:

  1. Uncensored behavior edit via abliterix on ROCm (gfx1151), selecting Trial 65 LoRA and stream-merging it back to BF16.
  2. Full-precision BF16 export — no quantization loss; quantized GGUFs (Q4_K_M / Q6_K / Q8_0 / IQ4_XS / IQ3_XS, imatrix-calibrated) ship in the GGUF sibling repo.

License: LFM Open License v1.0 (same as the base model). See LICENSE.

⚠️ Uncensored notice

After merging abliterix Trial 65, this model shows a much lower refusal rate and can differ substantially from official LFM2.5-2.6B. Evaluate compliance and safety for your use case; control access and audit as needed.

Refusals (harmful eval)6 / 100 (baseline ~90 / 100)
KL divergence0.0335 (same-prefix, far below 0.5 prune threshold)
Length deviation0.079 σ
Generation healthPASSED
Selected trialabliterix Trial 65
ThinkingPreserved — always-thinks (<think> in chat template)

Implementation sketch: LoRA merge W += (B @ A) * (alpha / r) (this trial alpha = r = 1); steering applied to attn.o_proj / conv.out_proj / mlp.down_proj across 30 layers.

🧠 Model details
ArchitectureLFM2 hybrid (transformers lfm2, Lfm2ForCausalLM)
Parameters2.69B total
Layers30 (22 double-gated short-conv + 8 GQA)
Context131,072 tokens
Vocab128,000
Hidden / FFN2048 / 10752
ReasoningAlways-thinks (<think> in chat template)
LanguagesEN, ZH, AR, FR, DE, HI, ID, IT, JA, KO, PL, PT, RU, ES, TH, VI
This repoBF16 safetensors (single shard, ~5.4 GB) + tokenizer + chat template

Coding / tool / agentic ability is largely retained; refusal and alignment behavior are changed. Official benchmark tables were not re-run for this derivative.

📦 What's in this repo
model.safetensorsMerged BF16 weights (5.39 GB)
config.json / generation_config.jsonlfm2 config + official sampling defaults
tokenizer.json / tokenizer_config.json128K vocab tokenizer
chat_template.jinjaChatML-like template with <think> + tool-use tokens
🚀 Usage

The lfm2 architecture is natively supported by transformers >= 5.0.0 — no trust_remote_code needed.

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "SC117/LFM2.5-2.6B-Uncensored"
model = AutoModelForCausalLM.from_pretrained(model_id, dtype="bfloat16")
tokenizer = AutoTokenizer.from_pretrained(model_id)

messages = [{"role": "user", "content": "What is 2+2?"}]
input_ids = tokenizer.apply_chat_template(
messages, add_generation_prompt=True, return_tensors="pt"
)["input_ids"].to(model.device)

output = model.generate(
input_ids,
do_sample=True,
temperature=0.1,
top_k=50,
repetition_penalty=1.1,
max_new_tokens=512,
)
print(tokenizer.decode(output[0][input_ids.shape[1]:], skip_special_tokens=True))

llama.cpp / LM Studio users: use the quantized GGUFs in the GGUF sibling repo (Q4_K_M / Q6_K / Q8_0 / IQ4_XS / IQ3_XS, all imatrix-calibrated).

🎛️ Recommended sampling

Keep the official generation defaults: temperature 0.1, top_k 50, repetition_penalty 1.1 (they are baked into generation_config.json). If you want more creative answers, raise temperature toward 0.6–0.8; note the model always thinks before answering, so allow enough max_new_tokens for the <think> block.

🔧 Build pipeline
  1. abliterix trial search on ROCm (gfx1151): 60 trials + 20 warmup, seed 117; all trials pruned only by same-prefix kl_divergence < 0.5.
  2. Selected Trial 65: refusals 6/100 (baseline 90/100), KL 0.0335, length deviation 0.079 σ, generation health PASSED.
  3. LoRA stream-merged into base weights in BF16 (W += B@A, alpha = r = 1).
  4. BF16 GGUF converted (llama.cpp lfm2), then quantized with imatrix calibration (401 chunks from the APEX calibration set) into Q4_K_M / Q6_K / Q8_0 / IQ4_XS / IQ3_XS — see the GGUF repo.
Community derivative (behavior edit + BF16 release). Not an official Liquid AI release. Use at your own risk; follow local law and the LFM Open License v1.0.

README history 1 version

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

  1. 2026-08-22Duplicate from SC117/LFM2.5-2.6B-Uncensored296d92f16.4 KB
    Loading...
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