-
Dataset Preparation
- The
unsloth/OpenMathReasoning-mini dataset was used.
- Each example was formatted in Chain-of-Thought (CoT) style, pairing math problems with step-by-step intermediate reasoning.
-
Model Loading and Configuration
- Qwen3 base model weights were loaded via the
unsloth library in bf16 precision.
- All layers were updated (
full_finetuning=True) to adapt the model for mathematical reasoning.
-
Supervised Fine-Tuning
- Leveraged the Hugging Face TRL library with the Supervised Fine-Tuning (SFT) approach.
- The model was trained to generate both correct answers and corresponding reasoning chains.
This project is licensed under the Apache License 2.0. See the
LICENSE file for details.