Menda-3B-250 is a fine-tuned version of Qwen2.5-3B-Instruct, trained with GRPO (Guided Reinforcement from Preference Optimization) for 250 steps. This model shows improved performance on reasoning benchmarks compared to the base model.
Model Details
Base Model: Qwen/Qwen2.5-3B-Instruct
Training Method: GRPO (Guided Reinforcement from Preference Optimization)
Training Steps: 250
Parameters: 3 billion
Context Length: 32K tokens
Training Data: GSM8K (mathematical reasoning)
Chat Template: Uses the Qwen2 chat template
Chat Format
This model uses the standard Qwen2 chat template. For best results when using the model directly, format your prompts as follows:
<|im_start|>system
You are a helpful AI assistant.<|im_end|>
<|im_start|>user
Your question here<|im_end|>
<|im_start|>assistant
When using the model through the Hugging Face Transformers library, the chat template will be applied automatically when using the chat_template functionality:
python
1from transformers import AutoModelForCausalLM, AutoTokenizer
23model_name ="weathermanj/Menda-3B-250"4tokenizer = AutoTokenizer.from_pretrained(model_name)5model = AutoModelForCausalLM.from_pretrained(model_name)67messages =[8{"role":"system","content":"You are a helpful AI assistant."},9{"role":"user","content":"Explain the concept of machine learning in simple terms."}10]1112prompt = tokenizer.apply_chat_template(messages, tokenize=False)13inputs = tokenizer(prompt, return_tensors="pt")14outputs = model.generate(**inputs, max_length=300)15response = tokenizer.decode(outputs[0], skip_special_tokens=True)16print(response)
Benchmark Results
Menda-3B-250 has been evaluated on several standard benchmarks:
Benchmark
Task Type
Accuracy
ARC-Challenge
Scientific Reasoning
50.0%
BoolQ
Reading Comprehension
80.0%
HellaSwag
Common Sense Reasoning
40.0%
Lambada
Text Completion
70.0%
PIQA
Physical Reasoning
90.0%
Winogrande
Commonsense Reasoning
90.0%
MMLU Performance
MMLU Category
Score
Overall
68.95%
Humanities
76.92%
Social Sciences
75.83%
STEM
60.00%
Other
67.69%
Key Strengths
Highest MMLU Score: This checkpoint achieves the highest overall MMLU score (68.95%) among all checkpoints in the training progression.
Strong Humanities Performance: Exceptional performance in humanities subjects (76.92%).
Efficient Training: Achieves impressive results with minimal training (only 250 steps).
Balanced Capabilities: Maintains strong performance across diverse tasks without significant trade-offs.