LFM2.5-1.2B-Thinking
Collection
Collection of pruned models based on LiquidAI/LFM2.5-1.2B-Thinking
β’
55 items
β’
Updated
π― WRITING-optimized | π¦ Extra Heavy pruning | β‘ 35% weights pruned
This model is a extremely pruned version of LiquidAI/LFM2.5-1.2B-Thinking, specialized for WRITING tasks using activation-aware weight pruning (Wanda-style).
| Category | Original | Pruned | Change |
|---|---|---|---|
| Python | 0.0% | 0.0% | β |
| Html | 0.0% | 0.0% | β |
| Trivia | 93.3% | 26.7% | β 66.7% |
| Math | 100.0% | 100.0% | β |
| Reasoning | N/A | N/A | |
| Medical | 86.7% | 46.7% | β 40.0% |
| Linux | 86.7% | 13.3% | β 73.3% |
| Writing | 60.0% | 13.3% β | β 46.7% |
Average: 61.0% β 28.6% (-32.4%)
Writing Retention: 22.2% of original performance
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("CompactAI/LFM2.5-1.2B-Thinking-writing-extra-heavy")
tokenizer = AutoTokenizer.from_pretrained("CompactAI/LFM2.5-1.2B-Thinking-writing-extra-heavy")
# Example usage
inputs = tokenizer("Your prompt here", return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
| Property | Value |
|---|---|
| Base Model | LiquidAI/LFM2.5-1.2B-Thinking |
| Specialization | Writing |
| Prune Mode | Extra Heavy |
| Pruning Method | Activation-based weight pruning (Wanda) |
| Weight Reduction | 35% weights pruned |
This model is part of the LFM2.5-1.2B-Thinking pruned model collection. Other variants:
This model inherits the license from the base model LiquidAI/LFM2.5-1.2B-Thinking.
Generated by ZANNPS [Zeto Automatic Neural Network Pruning System]
Base model
LiquidAI/LFM2.5-1.2B-Base