Downloads · 30 days
14
16% of all-time downloads
navflyer/aries-1.5b-reasoning
aries-1.5b-reasoning is a text generation model from navflyer. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
A 1.5B parameter reasoning model fine-tuned with custom reasoning tokens for step-by-step mathematical problem solving.
Downloads · 30 days
14
16% of all-time downloads
All-time downloads
87
Public
Parameters
1.5B
3.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3.1 GB · 99%
From the Hugging Face model README
A 1.5B parameter reasoning model fine-tuned with custom reasoning tokens for step-by-step mathematical problem solving.
<think>, <context>, <answer>, <end>This model extends Qwen2-1.5B with:
<<calculation=result>>)from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model = AutoModelForCausalLM.from_pretrained(
"ziadrone/aries-1.5b-reasoning",
torch_dtype=torch.bfloat16,
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("ziadrone/aries-1.5b-reasoning")
prompt = "<think> What is 25 + 17?"
inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
outputs = model.generate(
**inputs,
max_new_tokens=100,
temperature=0.7,
top_p=0.9
)
print(tokenizer.decode(outputs[0], skip_special_tokens=False))
Addition:
Input: <think> What is 25 + 17?
Output: The answer to 25 + 17 is 42.
Explanation: We add the two numbers together.
25 + 17 = <<25+17=42>>42
Word Problems:
Input: <think> If I have $50 and spend $23, how much is left?
Output: You are left with 27 dollars.
If you have $50 and spend $23, then the amount left will be
$50 - $23 = <<50-23=27>>27
Distance Problems:
Input: <think> A train travels 60 mph for 3 hours. How far does it go?
Output: It goes 180 miles because 60 times 3 is 180.
<answer> 180 <end>
The model was trained using a memory-efficient approach:
Apache 2.0
For questions or collaborations: [Your contact]