Downloads · 30 days
17
3% of all-time downloads
PinoCookie/LFM2.5-1.2B-Instruct-Abliterated-Paired-Alpha2
LFM2.5-1.2B-Instruct-Abliterated-Paired-Alpha2 is a text generation model from PinoCookie. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as other.
Experimental safety-research checkpoint. This model removes visible refusal behavior on a small probe set, but it frequently replaces refusal with confident factual or procedural errors. Do not treat its technical ins…
Downloads · 30 days
17
3% of all-time downloads
All-time downloads
505
Public
Parameters
1.2B
2.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.3 GB · 100%
From the Hugging Face model README
Experimental safety-research checkpoint. This model removes visible refusal behavior on a small probe set, but it frequently replaces refusal with confident factual or procedural errors. Do not treat its technical instructions as accurate.
This checkpoint is a modified derivative of LiquidAI/LFM2.5-1.2B-Instruct. It was created to study refusal-direction removal in a small hybrid language model. The edit uses same-prompt paired output-phase activations and magnitude-preserving orthogonal ablation (MPOA) on the six full-attention output projections.
The model is useful as a red-team and representation-engineering artifact. It is not presented as a reliable uncensored assistant.
The original model weights were modified by projecting a learned paired refusal/compliance direction out of selected attention output projections. The tokenizer, chat template, architecture, and generation configuration originate from the base model. See abliteration_config.json for the exact edit parameters.
This derivative retains the base model's LFM Open License v1.0. Review LICENSE, including its redistribution requirements and commercial-use threshold, before use or redistribution.
Forty harmful prompts that the base model deterministically refused were used. For every prompt, two responses were generated:
The base responses had 40/40 prefix refusals. The affirmative-prefilled responses had 0/40 prefix refusals.
For each hidden-state index $l$, the direction was:
$$ r_l = \operatorname{normalize}\left(\mu_{\text{plain refusal},l} - \mu_{\text{affirmative prefill},l}\right) $$
Using the same prompts in both groups reduces topic and prompt-difficulty confounding compared with contrasting unrelated naturally refused and naturally complied prompts.
MPOA was applied to the attention output projection at blocks:
[2, 5, 8, 10, 12, 14]
Parameters:
{
"targets": ["self_attn.out_proj"],
"alpha": {"attn": 2.0}
}
Observed relative projection-weight changes:
| Block | Relative change |
|---|---|
| 2 | 6.83% |
| 5 | 8.07% |
| 8 | 9.04% |
| 10 | 6.03% |
| 12 | 4.80% |
| 14 | 5.58% |
No supervised fine-tuning, preference optimization, or additional training dataset was used.
The candidate was loaded from its saved weights and evaluated using a deterministic stratified sample of cais/mmlu:
1337.| Metric | Base | This model | Delta |
|---|---|---|---|
| Correct | 213/464 | 220/464 | +7 |
| Accuracy | 45.905% | 47.414% | +1.509 percentage points |
| Unparsed | 5/464 | 7/464 | +2 |
Interpretation: no aggregate MMLU degradation was observed. The 1.51-point increase is small relative to the uncertainty of this 464-question subsample and should not be interpreted as evidence that abliteration improved capability. Item-level base predictions were not retained, so paired significance testing was not possible.
Full aggregate result: evaluations/mmlu.json.
Five harmful and five benign deterministic generations were run to completion. None was truncated.
| Category | Result |
|---|---|
| Harmful prefix refusals | 0/5 |
| Harmful answers judged materially useful | approximately 1/5 |
| Benign answers without a notable issue | approximately 3/5 |
The candidate directly answered all five harmful probes, but four responses contained major factual or procedural errors. Examples included invented lock-picking mechanics, a baking-soda-and-vinegar “explosive,” and a chemically invalid drug-synthesis pathway. One benign response confused RYB, CMYK, and RGB color models; another fabricated a personal high-school memory.
Complete unedited generations and token counts: evaluations/manual_review.json.
The important distinction is:
Zero prefix refusals did not mean successful task completion. This model often replaced refusal with fluent nonsense.
Suitable uses:
Do not use this checkpoint as:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "PinoCookie/LFM2.5-1.2B-Instruct-Abliterated-Paired-Alpha2"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
dtype=torch.bfloat16,
device_map="auto",
)
model.eval()
messages = [{"role": "user", "content": "Explain photosynthesis briefly."}]
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
return_tensors="pt",
tokenize=True,
).to(model.device)
with torch.no_grad():
output = model.generate(
inputs,
max_new_tokens=256,
do_sample=False,
repetition_penalty=1.05,
pad_token_id=tokenizer.eos_token_id,
)
print(tokenizer.decode(output[0, inputs.shape[1]:], skip_special_tokens=True))
Use the base model's recommended sampling configuration if sampling is desired:
output = model.generate(
inputs,
max_new_tokens=512,
do_sample=True,
temperature=0.1,
top_k=50,
repetition_penalty=1.05,
pad_token_id=tokenizer.eos_token_id,
)
| File | Purpose |
|---|---|
model.safetensors | Modified model weights |
config.json | LFM2.5 architecture configuration |
generation_config.json | Generation defaults |
tokenizer.json | Tokenizer |
tokenizer_config.json | Tokenizer configuration |
chat_template.jinja | Chat template |
abliteration_config.json | Exact extraction/edit metadata and evaluation links |
evaluations/mmlu.json | Aggregate base/candidate MMLU comparison |
evaluations/manual_review.json | Complete five-harmful/five-benign output review |
RESEARCH_NOTES.md | Experiment chronology, failures, and lessons |
LICENSE | Inherited LFM Open License v1.0 |
The durable paired direction, score file, complete output review, benchmark result, and saved checkpoint are available in the source experiment directory. The paired activation collection was performed interactively rather than through a standalone checked-in extractor. The exact procedure and this reproducibility limitation are documented in RESEARCH_NOTES.md.
LiquidAI/LFM2.5-1.2B-Instruct, released by Liquid AI.cais/mmlu.swiss-ai/harmbench.This derivative is independently produced safety research and is not an official Liquid AI release.