Downloads · 30 days
9
12% of all-time downloads
Yagna1/grpo-qwen2.5-0.5b-jee-math
grpo-qwen2.5-0.5b-jee-math is a text generation model from Yagna1. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
This model is fine-tuned using Group Relative Policy Optimization (GRPO) on IIT-JEE mathematics datasets.
Downloads · 30 days
9
12% of all-time downloads
All-time downloads
76
Public
Parameters
494M
1000 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors988 MB · 98%
From the Hugging Face model README
This model is fine-tuned using Group Relative Policy Optimization (GRPO) on IIT-JEE mathematics datasets.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("Yagna1/grpo-qwen2.5-0.5b-jee-math")
tokenizer = AutoTokenizer.from_pretrained("Yagna1/grpo-qwen2.5-0.5b-jee-math")
messages = [
{"role": "system", "content": "You are a math solver. Solve step-by-step and provide your final answer in \\boxed{} format."},
{"role": "user", "content": "What is the derivative of x^2?"}
]
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt")
outputs = model.generate(inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0]))
@misc{grpo-jee-math-2024,
author = {Yagna1},
title = {GRPO Fine-tuned Qwen2.5 for IIT-JEE Math},
year = {2024},
publisher = {HuggingFace},
url = {https://huggingface.co/Yagna1/grpo-qwen2.5-0.5b-jee-math}
}