Quick start / 2B
Nano-Math-2B-v2
Math & Science SLM
from transformers import pipeline
pipe = pipeline(
"text-generation",
model="KiteFishAI/Nano-Math-2B-v2",
)
prompt = "Solve step by step: Calculate the derivative of f(x) = x^3 * e^(2x)."
response = pipe(prompt, max_new_tokens=200)
print(response[0]["generated_text"])