Downloads · 30 days
11
4% of all-time downloads
zannvznn/qwen3-0.6b-math-l45-qlora-merged-fp16-v2
qwen3-0.6b-math-l45-qlora-merged-fp16-v2 is a text generation model from zannvznn. Use it when you need the model to write or continue text. It is set up for transformers.
Merged fp16 model from Qwen/Qwen3-0.6B-Base plus a QLoRA SFT adapter trained for MATH level 4-5 problem solving.
Downloads · 30 days
11
4% of all-time downloads
All-time downloads
308
Public
Parameters
596M
1.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.2 GB · 99%
From the Hugging Face model README
Merged fp16 model from Qwen/Qwen3-0.6B-Base plus a QLoRA SFT adapter trained for MATH level 4-5 problem solving.
This is the corrected SFT v2 run using the train split for training. Final 500-question evaluation is intentionally separate.
Qwen/Qwen3-0.6B-Base/kaggle/input/datasets/anurhalizah/math-he/math_level45_train.parquet/kaggle/input/datasets/anurhalizah/math-he/math_level45_test.parquet39943994200204830.0002manual_lora_cpu196### System:
{system_prompt}
### Problem:
{problem}
### Solution:
System prompt:
You are a precise mathematical problem solver.
Follow this exact output contract:
1. Solve the problem step by step with concise reasoning.
2. Use valid LaTeX math notation for mathematical expressions.
3. Preserve LaTeX commands such as \frac{...}{...}, \sqrt{...}, x^{...}, subscripts, equations, and inequalities.
4. Put the final answer on its own last line exactly in this form: Final Answer: \boxed{...}
5. Do not use Markdown code fences.
6. Do not switch to a different answer format.
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
repo_id = "zannvznn/qwen3-0.6b-math-l45-qlora-merged-fp16-v2"
tokenizer = AutoTokenizer.from_pretrained(repo_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
repo_id,
torch_dtype=torch.float16,
device_map="auto",
trust_remote_code=True,
)