Downloads · 30 days
18
10% of all-time downloads
prithivMLmods/Gamma-Velorum-1.5B-Thinker
Gamma-Velorum-1.5B-Thinker is a text generation model from prithivMLmods. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
18
10% of all-time downloads
All-time downloads
188
Public
Parameters
1.5B
6.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors6.2 GB · 100%
From the Hugging Face model README

Gamma-Velorum-1.5B-Thinker is a math and code reasoning model fine-tuned from Qwen2.5-1.5B, crafted to tackle complex mathematical and programming problems using chain-of-thought methodology. It excels in step-by-step explanations, long-context understanding, and bilingual support — ideal for education, coding tutors, and logic-intensive applications.
Math + Code Chain-of-Thought Reasoning
Trained to provide detailed, structured steps for both mathematical and coding problems. Gamma-Velorum-1.5B-Thinker explains not just the what, but the why, ensuring clarity in logic and computation.
Backed by Qwen2.5-1.5B
Built on the latest Qwen2.5 architecture, bringing improved accuracy, reasoning capabilities, and enhanced tokenizer efficiency.
Long-Context Problem Solving
Capable of handling long multi-turn questions, nested logic, and extended code/math scenarios — ideal for competitive exams or coding challenges.
Bilingual (English + Chinese)
Seamlessly understands and reasons through prompts in both English and Simplified Chinese, making it versatile for global education platforms.
Efficient and Lightweight
With only 1.5B parameters, it strikes a balance between performance and deployability, suitable for web, edge, and mobile environments.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "prithivMLmods/Gamma-Velorum-1.5B-Thinker"
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype="auto",
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_name)
prompt = "Write a Python function to calculate factorial of a number."
messages = [
{"role": "system", "content": "You are a helpful tutor skilled in math and programming. Explain solutions step-by-step."},
{"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
generated_ids = model.generate(
**model_inputs,
max_new_tokens=512
)
generated_ids = [
output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]
response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
Domain Focused:
Optimized for STEM and code tasks — general conversation or abstract creative writing may not be as strong.
Scale Limitations:
As a 1.5B parameter model, it may not match larger models on highly complex logic or long-form generation.
Bias Inheritance:
Carries forward biases from its Qwen2.5 base model — important for sensitive contexts.
Prompt Structuring Matters:
Performs best with explicit, structured prompts for math/code. Ambiguous or casual phrasing may reduce accuracy.