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

Suchinthana/LFM2.5-230M-Uncensored

Suchinthana Lfm 230M
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/Suchinthana%2FLFM2.5-230M-Uncensored"
Response includes
  • classification m-uncensored
  • files 10
  • hub_downloads_all_time 174
  • author_summary 1 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
174
43 last 30d - stable
Likes
1
Descendants
1
in 1 direct fork
Model age
2mo ago
created 2026-07-30
Downloads over time
Now186→from70↑166%
6410915319870 on Jul 29186 on Oct 11JulAugSepOct
Jul 29 → Oct 11 · 51 snapshots · spans 74 days

Genealogy 1 direct fork

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 ar zh fr de ja ko es pt it
Tags
transformers safetensors lfm2 text-generation lfm2.5 steered edge conversational en ar zh fr
Total size
438 MB
Files
10
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2026-07-31 04:51

Files by quantization

Auxiliary files 10 files 443 MB
model.safetensors 438 MB a02b67d2 download
tokenizer.json 4.51 MB 2e27bba0 download
LICENSE 10.3 KB 25e731c6 download
README.md 5.14 KB ab4cb837 download
chat_template.jinja 4.51 KB 8bca4a54 download
config.json 1.51 KB 59583554 download
.gitattributes 1.48 KB a6344aac download
tokenizer_config.json 519 B 8ed219d9 download
generation_config.json 304 B 8736da45 download
steering_metadata.json 125 B 36fde485 download

README current version from Hugging Face


library_name: transformers
license: other
license_name: lfm1.0
license_link: LICENSE
language:

  • en
  • ar
  • zh
  • fr
  • de
  • ja
  • ko
  • es
  • pt
  • it
    pipeline_tag: text-generation
    tags:
  • lfm2.5
  • steered
  • edge
    base_model: LFM2.5-230M

LFM2.5-230M-Uncensored

A 230M parameter language model with refusal direction steering applied. This model is configured to minimize refusal behaviors through layer-wise steering techniques.

Model Overview

  • Parameters: 230M
  • Architecture: LFM2 hybrid (8 convolutional + 6 attention layers)
  • Context length: 128,000 tokens
  • Vocabulary size: 65,536
  • Training data: 19T tokens
  • Knowledge cutoff: Mid-2024
  • Languages: English, Arabic, Chinese, French, German, Italian, Japanese, Korean, Portuguese, Spanish

Steering Configuration

This model has been steered using orthogonalization at layer 9 to adjust refusal behavior patterns in the embedding space.

Technical Details

Configuration Value
Model Type lfm2
Number of parameters 230M
Number of layers 14
Hidden size 1024
Number of attention heads 16
Context length 128,000 tokens
Vocabulary size 65,536

Chat Template

The model uses a ChatML-compatible format:

<|startoftext|><|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Your message here<|im_end|>
<|im_start|>assistant

Use tokenizer.apply_chat_template() to format messages automatically.

Quick Start

Basic Inference

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "Suchinthana/LFM2.5-230M-Uncensored"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    trust_remote_code=True,
    device_map="auto",
)
model.eval()

# Format messages using chat template
messages = [
    {"role": "user", "content": "What is your name?"}
]

input_ids = tokenizer.apply_chat_template(
    messages,
    add_generation_prompt=True,
    return_tensors="pt"
).to(model.device)

# Generate outputs
with torch.no_grad():
    output_ids = model.generate(
        input_ids=input_ids,
        max_new_tokens=512,
        temperature=0.7,
        top_p=0.95,
        pad_token_id=tokenizer.pad_token_id,
        eos_token_id=tokenizer.eos_token_id,
    )

# Decode and print response
response = tokenizer.decode(
    output_ids[0][input_ids.shape[-1]:],
    skip_special_tokens=True
).strip()
print(response)

Chat Interface

For an interactive chat interface:

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

class ChatEngine:
    def __init__(self, model_id: str):
        self.tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
        self.model = AutoModelForCausalLM.from_pretrained(
            model_id,
            trust_remote_code=True,
            device_map="auto",
        )
        self.model.eval()
        
        if self.tokenizer.pad_token_id is None:
            self.tokenizer.pad_token_id = self.tokenizer.eos_token_id

    def generate(self, message: str, history=None):
        # Build message history
        messages = history or []
        messages.append({"role": "user", "content": message})
        
        # Tokenize and generate
        input_ids = self.tokenizer.apply_chat_template(
            messages,
            add_generation_prompt=True,
            return_tensors="pt"
        ).to(self.model.device)
        
        with torch.no_grad():
            output_ids = self.model.generate(
                input_ids=input_ids,
                max_new_tokens=512,
                temperature=0.7,
                top_p=0.95,
                pad_token_id=self.tokenizer.pad_token_id,
                eos_token_id=self.tokenizer.eos_token_id,
            )
        
        new_tokens = output_ids[0][input_ids.shape[-1]:]
        return self.tokenizer.decode(new_tokens, skip_special_tokens=True).strip()

# Usage
engine = ChatEngine("Suchinthana/LFM2.5-230M-Uncensored")
response = engine.generate("Hello!")
print(response)

Tool Use

Function calling is supported through the chat template:

messages = [
    {
        "role": "system",
        "content": 'Available tools: [{"name": "calculator", "description": "Performs math", "parameters": {}}]'
    },
    {"role": "user", "content": "What is 2+2?"}
]

input_ids = tokenizer.apply_chat_template(
    messages,
    add_generation_prompt=True,
    return_tensors="pt"
).to(model.device)

with torch.no_grad():
    output = model.generate(input_ids, max_new_tokens=512)

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

Requirements

torch>=2.0.0
transformers>=5.0.0

Install with:

pip install torch transformers

Model Specifications

Steering Method

  • Method: Orthogonalization
  • Applied at Layer: 9
  • Effect: Reduces refusal behaviors in model responses

Performance Characteristics

This is a lightweight 230M parameter model designed for edge deployment. It supports:

  • Long context lengths (up to 128k tokens)
  • Multi-language responses
  • Efficient inference on CPU and GPU

README history 2 versions

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

  1. 2026-07-31Update README.mdf6be5375.1 KB
    Loading...
  2. 2026-07-31Model card additionb2723fe5.1 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