LFM3-1.7B-noslop
A slop-reduced build of LiquidAI/LFM3-1.7B, produced with Heretic 2.0.0's noslop recipe (Arbitrary-Rank Ablation, rank 50) over a 12-trial TPE search.
Nothing was fine-tuned and no responses were used as training data. The weights are the base model's with a low-rank correction applied to the matrices that write into the residual stream.
Result
Measured on 100 held-out writing prompts (llm-aes/writing-prompts, split train[1000:1100]),
scored for the presence of any of 124 literary-cliche markers:
| Responses containing slop | KL divergence from base | |
|---|---|---|
| Base LFM3-1.7B | 71 / 100 | 0 (by definition) |
| This model | 23 / 100 | 0.2472 |
KL is measured on the next-token distribution over the same prompt set, in nats. 0.2472 corresponds to a ~28% increase in predictive dispersion — a deliberate, bounded drift, not a different model.
Method
Heretic captures each abliterable matrix's input/output pairs over 500 "good" and 500 "bad"
prompt variants — the same writing prompts with avoid cliches and use cliches extensively
instructions — then fits a rank-50 LoRA (W + B·A) per matrix with L-BFGS so that bad-prompt
activations move toward the good-prompt outputs while good-prompt outputs stay put.
LFM3 is a tri-hybrid, so three module families were modified:
attn.o_proj 24 modules (11 self_attn.o_proj + 13 conv.out_proj)
mlp.down_proj 24 modules (feed_forward.w2)
Selected trial (Pareto front index 3 of 9):
start_layer_index = 7
end_layer_index = 21
preserve_good_behavior_weight = 0.6028
steer_bad_behavior_weight = 0.0151
overcorrect_relative_weight = 0.5508
neighbor_count = 10
lora_rank = 50
Search: 12 trials (4 random-start, 8 TPE), 5 h 59 m on an Apple M1 (8 GB unified memory, MPS, bfloat16), batch size 2. Full Pareto front, 81 → 0 slop at KL 0.0009 → 7.94: the aggressive end of the front is degenerate (KL ≈ 8 with 0–7 slop); this build is the low-KL/meaningful-reduction point.
Files
| File | Size | Use |
|---|---|---|
LFM3-1.7B-noslop-Q5_K_M.gguf | ~1.3 GB | llama.cpp, LM Studio, ollama |
LFM3-1.7B-noslop-Q8_0.gguf | ~1.9 GB | near-lossless reference |
| full bf16 weights | ~3.4 GB | transformers + trust_remote_code |
LFM3 ships custom modeling code (modeling_lfm3.py), so transformers requires
trust_remote_code=True.
Caveats
- KL is a damage proxy, not a quality metric. It measures drift from the base model at the first generated token over one prompt set. Long-range coherence, repetition and instruction-following damage are not captured — evaluate on your own tasks.
- The 23% is a marker rate, not a sentence-level judgment. A response counts as slop if it contains any one of 124 listed phrases; the list is deliberately blunt.
- Not a safety tuning. This is a style modification. Base-model behavior, including refusal behavior, is largely unchanged.
- The adapter targets
o_proj/out_proj/w2across layers 7–21 only; layers 0–6 and 22–23 are untouched.
License
Derived from LiquidAI/LFM3-1.7B and distributed under the same LFM Open License v1.0; see
the LICENSE file carried over from the base repository.