LFM3-1.7B-Claude-Fable5.1-heretic-ara
A decensored variant of saidutta69/LFM3-1.7B-Claude-Fable5.1,
produced with Heretic v2.0.0 (Arbitrary-Rank Ablation, "ARA").
The base is a tool-calling fine-tune of LiquidAI/LFM3-1.7B
trained on the claude_code split of saidutta69/fable-5.1-premium-v2. ARA removes the refusal
direction with a rank-50 weight edit; it does not retrain the model. LFM3's tri-hybrid stack -
24 layers split into 13 gated short convolutions, 5 sliding-window attention layers and 6 global
attention layers - plus the 256K context window, ChatML template and XML tool-call format are kept
intact.
Who this is for: running a Claude-Code-style tool protocol on a local 1.7B model. Q4_K_M is
about 1.10 GB, so it fits a phone, a Pi 5, or a laptop with no GPU. The base model was tuned to emit
valid Bash, Read, Write, Edit, Glob, Grep, WebFetch, WebSearch, TodoWrite,
TaskCreate, TaskUpdate, TaskOutput and ToolSearch calls with typed arguments. This is a
specialist, not a general-purpose upgrade: free-form writing is weaker than the upstream LFM3.
Refusals drop from 72/100 to 5/100 at a KL divergence of 0.1342 from the fine-tuned base.
Why abliteration instead of fine-tuning
Fine-tuning a "helpful" persona on top of RLHF'd refusals fights the base model's training and tends to degrade coherence. Abliteration instead finds and edits the specific weight directions responsible for refusal, leaving the rest of the network (and its capabilities) untouched. See the Heretic repo and the original abliteration writeup for the mechanism.
Abliteration parameters
Trial 97 of a 150-trial Heretic run (seed 42).
| Parameter | Value |
|---|---|
| start_layer_index | 9 |
| end_layer_index | 23 |
| preserve_good_behavior_weight | 0.9366 |
| steer_bad_behavior_weight | 0.0010 |
| overcorrect_relative_weight | 0.4889 |
| neighbor_count | 5 |
Performance
| Metric | This model | Original model (saidutta69/LFM3-1.7B-Claude-Fable5.1) |
|---|---|---|
| Refusals (Classifier) | 5/100 | 72/100 |
| KL divergence | 0.1342 | 0 (by definition) |
KL 0.1342 is a larger edit than the plain LFM3-1.7B abliteration (0.0052), because ARA edits a rank-50 subspace across layers 9-23. Expect more drift in phrasing and format than the plain heretic checkpoint. The refusal reduction is large: 67 of the 72 refusals clear.
Tool-call fidelity inherited from the base
The fine-tune's own evaluation (100 held-out claude_code samples, greedy, 2,048-token budget):
| Metric | Base LFM3-1.7B | Fine-tuned base |
|---|---|---|
| Held-out supervised loss | 1.731 | 0.233 |
| Starts a tool call | 97% | 100% |
| Tool name valid (of parsed) | 77.3% | 100% |
| Required args present (of parsed) | 96.9% | 100% |
| Wikitext perplexity | 17.35 | 23.32 |
Those are the base checkpoint's numbers; abliteration does not add capability. The perplexity rise is real - this is a tool-calling specialist.
Files
Safetensors
| File | Size |
|---|---|
model.safetensors | 3.46 GB |
BF16, 1,728,801,536 parameters (1.73B). The reproduce/ directory carries the full Heretic recipe -
config.toml, requirements.txt, the Optuna study journal, and SHA-256 sums - so this exact model
can be regenerated. Reproduce it with heretic --reproduce reproduce/reproduce.json.
GGUF quantizations
Basic quantization set (F16 + 4 quants, 9.10 GB total) produced with llama.cpp master on 2026-11-04.
[!IMPORTANT] These files use the new
lfm3GGUF architecture. You need an LFM3-capable llama.cpp build (support landed in late October 2026); older builds will fail to load the model. The upstream LiquidAI/LFM3-1.7B-GGUF uses the same architecture.
| File | Format | Size |
|---|---|---|
LFM3-1.7B-Claude-Fable5.1-heretic-ara-F16.gguf | GGUF F16 | 3.47 GB |
LFM3-1.7B-Claude-Fable5.1-heretic-ara-Q4_K_M.gguf | GGUF Q4_K_M | 1.10 GB |
LFM3-1.7B-Claude-Fable5.1-heretic-ara-Q5_K_M.gguf | GGUF Q5_K_M | 1.26 GB |
LFM3-1.7B-Claude-Fable5.1-heretic-ara-Q6_K.gguf | GGUF Q6_K | 1.43 GB |
LFM3-1.7B-Claude-Fable5.1-heretic-ara-Q8_0.gguf | GGUF Q8_0 | 1.85 GB |
Quickstart
llama.cpp
llama serve -hf saidutta69/LFM3-1.7B-Claude-Fable5.1-heretic-ara:Q4_K_M --jinja \
--chat-template-kwargs '{"enable_thinking":false}'
The base fine-tune was trained with enable_thinking=False. Leaving thinking on is supported but
not what the tool-calling data was trained against.
Transformers
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
repo = "saidutta69/LFM3-1.7B-Claude-Fable5.1-heretic-ara"
tok = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
repo, dtype=torch.bfloat16, device_map="auto", trust_remote_code=True
)
messages = [{"role": "user", "content": "List the files in tasks/"}]
tools = [{
"type": "function",
"function": {
"name": "Bash",
"description": "Run a shell command.",
"parameters": {
"type": "object",
"properties": {"command": {"type": "string"}},
"required": ["command"],
},
},
}]
prompt = tok.apply_chat_template(
messages, tools=tools, tokenize=False,
add_generation_prompt=True, enable_thinking=False,
)
inputs = tok(prompt, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=512, do_sample=False)
print(tok.decode(out[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))
Runs anywhere
| Device | Recommended quant | Weights |
|---|---|---|
| Phone / browser (4 GB RAM) | Q4_K_M | 1.10 GB |
| Raspberry Pi 5 (4 GB) | Q4_K_M | 1.10 GB |
| Laptop (8 GB, Apple Silicon) | Q8_0 | 1.85 GB |
| RTX 3060 / 4060 (8-12 GB) | Q6_K | 1.43 GB |
| Server / multi-tenant | Q5_K_M | 1.26 GB |
Weights only. The hybrid stack spends 13 of its 24 layers in cheap convolution blocks, so decode is memory-bandwidth-bound rather than compute-bound. The KV cache grows with context; the full 256K window is not a phone workload.
Model details
| Architecture | Lfm3ForCausalLM (tri-hybrid: gated short conv + sliding + global attention) |
| Parameters | 1.73B |
| Layers | 24: 13 gated short convolutions, 5 sliding-window attention, 6 global attention |
| Attention | 16 heads / 4 KV heads, head dim 128 |
| Hidden / intermediate | 2048 / 7680 |
| Context length | 262,144 |
| Vocab | 128,000 |
| Precision | bfloat16 |
| Base model | saidutta69/LFM3-1.7B-Claude-Fable5.1 |
| Upstream | LiquidAI/LFM3-1.7B |
The GGUF carries 287 tensors over 24 blocks (arch=lfm3) and a 262,144-token context. Embeddings
are tied, so there is no separate lm_head tensor.
FAQ
What is LFM3-1.7B-Claude-Fable5.1-heretic-ara?
It is a decensored build of saidutta69/LFM3-1.7B-Claude-Fable5.1 produced with Heretic 2.0.0
(Arbitrary-Rank Ablation). The base is a Claude-Code-style tool-calling fine-tune of
LiquidAI/LFM3-1.7B; this checkpoint keeps those weights and removes the refusal direction. It is
not a new fine-tune, so tool-call capability tracks the base model.
Is LFM3-1.7B-Claude-Fable5.1-heretic-ara actually uncensored?
Yes. On Heretic's 100-prompt refusal harness it drops from 72/100 to 5/100 at KL divergence 0.1342
from the fine-tuned base. These are measured values, not a claim; reproduction data is in
reproduce/. KL 0.1342 is a larger edit than the plain LFM3 abliteration, so expect
more drift.
How do I run LFM3-1.7B-Claude-Fable5.1-heretic-ara locally?
llama serve -hf saidutta69/LFM3-1.7B-Claude-Fable5.1-heretic-ara:Q4_K_M --jinja pulls the 1.10 GB default quant and needs an LFM3-capable
llama.cpp build (late October 2026 or newer). The repo also ships Q5_K_M, Q6_K, Q8_0 and F16.
Responsible use
Refusal suppression is deliberate and works as intended: this model will comply with requests the base model would refuse, including some it should not. There is no safety filtering layered on top. You are responsible for how you deploy it - don't put this behind an unmoderated public-facing endpoint serving third parties. It inherits LFM3-1.7B's factual limitations, and the fine-tune is a tool-calling specialist; abliteration removes refusal directions, it does not add capability or judgment.
Made with ❤️ by RACER IS OP (saidutta69) - follow for more uncensored models
License
Inherits the LFM Open License v1.0 from the upstream model. This is not Apache-2.0; review the LFM terms before commercial use.
Related
- saidutta69/LFM3-1.7B-Claude-Fable5.1 - the tool-calling base this checkpoint derives from
- RACER IS OP - Heretic Models - full collection - every heretic model in this collection
- LFM3-1.7B-heretic - same-size LFM3 text sibling
- LFM3-1.7B-Base-heretic - same-size LFM3 pretrained sibling
Abliteration hardware
Recorded in reproduce/reproduce.json:
- GPU: NVIDIA GeForce RTX 3090 (23.60 GB VRAM)
- OS:
Linux-6.8.0-138-generic-x86_64-with-glibc2.35 - CUDA / driver: CUDA 13.2, driver 615.71.09
- Software: PyTorch 2.15.0+cu132, Heretic 2.0.0
Heretic notes that KL-divergence and refusal numbers can vary slightly with hardware and library versions.