LFM2.5-1.2B-Base
Collection
Pruned models based on LFM2.5-1.2B-Base
β’
16 items
β’
Updated
REASONING-optimized | Aggressive pruning | 35% weights pruned
This model is a aggressively pruned version of LiquidAI/LFM2.5-1.2B-Base.
| Category | Original | Pruned | Change |
|---|---|---|---|
| Python | 0.0% | 0.0% | β |
| Html | 0.0% | 0.0% | β |
| Trivia | 20.0% | 10.0% | β 10.0% |
| Math | 10.0% | 5.0% | β 5.0% |
| Reasoning | 20.0% | 5.0% β | β 15.0% |
| Medical | 15.0% | 20.0% | β 5.0% |
| Linux | 15.0% | 0.0% | β 15.0% |
| Writing | 5.0% | 0.0% | β 5.0% |
Average: 10.6% -> 5.0% (-5.6%)
Reasoning Retention: 25.0%
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("CompactAI/LFM2.5-1.2B-Base-reasoning-aggressive")
tokenizer = AutoTokenizer.from_pretrained("CompactAI/LFM2.5-1.2B-Base-reasoning-aggressive")
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-Base |
| Specialization | Reasoning |
| Prune Mode | Aggressive |
| Weight Reduction | 35% weights pruned |
This model inherits the license from the base model.
Base model
LiquidAI/LFM2.5-1.2B-Base