This is an improved, Second version of Peymandc/LFM3-1.7B-Heretic-Uncensored, made using Heretic v2.1.0
[!TIP] v2 cuts refusals from 3% to 1% (an 66.67% relative reduction) while also lowering KL divergence from 0.0732 to 0.0537 (a 26.64% reduction), so it refuses far less and stays closer to the original model's behavior.
[!TIP] 💜 Enjoying my work? You can support my independent AI projects here.
Arbitrary-Rank Ablation (ARA) parameters
| Parameter | Value |
|---|---|
| start_layer_index | 9 |
| end_layer_index | 24 |
| preserve_good_behavior_weight | 0.9743 |
| steer_bad_behavior_weight | 0.0007 |
| overcorrect_relative_weight | 0.7619 |
| neighbor_count | 14 |
Performance
| Metric | This model | Original model (LiquidAI/LFM3-1.7B) |
|---|---|---|
| Refusals | 1/100 | 98/100 |
| KL divergence | 0.0537 | 0 (by definition) |
What's New in v2
Version 2 improves on both refusal rate and fidelity to the original model.
| Metric | v1 | v2 | Change |
|---|---|---|---|
| Refusals ↓ | 3% | 1% | −2 pp (−66.67%) |
| KL divergence ↓ | 0.0732 | 0.0537 | −0.0195 (−26.64%) |
- Fewer refusals: the refusal rate dropped from 3% to 1%.
- Closer to the original: the lower KLD means v2 stays much closer to the base model's output distribution, so the model keeps more of its original capability and style.
Lower is better for both metrics.
Sampling parameters:
- General (chat, tool use, agents, coding):
temperature=0.1,top_k=50, repetition_penalty=1.1 - Math & STEM (math, science):
temperature=1.0, top_p=0.95, top_k=20
Transformers quick start:
from transformers import pipeline
generator = pipeline(
"text-generation",
model="Peymandc/LFM3-1.7B-Uncensored-Peymandc-V2",
trust_remote_code=True,
)
messages = [{"role": "user", "content": "What is C. elegans?"}]
output = generator(
messages,
do_sample=True,
temperature=0.1,
top_k=50,
repetition_penalty=1.1,
max_new_tokens=2048,
)
print(output[0]["generated_text"][-1]["content"])
💜 Support Independent Development
These projects are part of my ongoing exploration of open-weight AI models.
Your support helps make more room for experimentation, model modifications, testing, research, and future releases.
If you find my work useful and would like to contribute, you're welcome to visit my support page:
Every contribution is appreciated, but never expected. Sharing feedback, reporting issues, and simply using the models are also wonderful ways to support independent development.
Thank you for being here. ❤️