Downloads · 30 days
0
bossman48/LFM2.5_1.2B_Think_Enhanced
LFM2.5_1.2B_Think_Enhanced is a machine learning model from bossman48. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
A reasoning-enhanced and quantized version of the LFM2.5 1.2B model, optimized for structured thinking, mathematical reasoning, and efficient local inference.
Downloads · 30 days
0
Access
Public
Updated Apr 12, 2026
Repo size
7.1 MB
Likes
0
Public
Click a slice to open those files.
.safetensors7.1 MB · 60%
From the Hugging Face model README
A reasoning-enhanced and quantized version of the LFM2.5 1.2B model, optimized for structured thinking, mathematical reasoning, and efficient local inference.
This model is trained on high-quality reasoning datasets:
The model expects structured chat-style input:
The model is trained to produce explicit reasoning steps.
Example sequence:
System: You are a helpful reasoning assistant.
User: Solve: What is 2 + 2?
Model:
<think> First, we identify... Then we compute... </think>
Final Answer: 4
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "bossman48/LFM2.5_1.2B_Think_Enhanced"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
prompt = """User:
Solve: What is the sum of first 100 natural numbers?
Assistant:
"""
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(
**inputs,
max_new_tokens=512,
temperature=0.3,
top_p=0.8
)
print(tokenizer.decode(outputs[0]))