A LoRA fine-tune of Qwen2.5-Coder-1.5B-Instruct, trained on a free Colab T4 GPU using Unsloth for fast, low-memory training.
Model on Hugging Face: https://huggingface.co/div1010/qwen2.5-coder-1.5b-finetuned
| Layer | Tool | Role |
|---|---|---|
| π§© Base model | Qwen2.5-Coder-1.5B-Instruct | Starting checkpoint |
| β‘ Training | Unsloth | Fast, low-memory LoRA/QLoRA training |
| ποΈ Fine-tuning method | LoRA (QLoRA, 4-bit) | Rank 16, targeting attention + MLP projections |
| π§ Framework | PEFT | LoRA adapter management |
| π₯οΈ Hardware | 1x Colab T4 (16GB) | Free-tier GPU |
| π Dataset | ise-uiuc/Magicoder-Evol-Instruct-110K |
25K-example subset, Apache 2.0 |
| π€ Hosting | Hugging Face Hub | Model card + weights |
Improve general-purpose, multi-language code generation on top of the base Qwen2.5-Coder-1.5B-Instruct model.
| Base model | Qwen2.5-Coder-1.5B-Instruct |
| Method | LoRA (QLoRA, 4-bit) via Unsloth |
| LoRA rank | 16 |
| Target modules | q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj |
| Hardware | 1x Colab T4 (16GB) |
| Dataset | ise-uiuc/Magicoder-Evol-Instruct-110K (25K-example subset) |
| Epochs | 1 |
| Batch size | 2 (effective 8 with gradient accumulation) |
| Learning rate | 2e-4 |
Magicoder-Evol-Instruct-110K is a general, multi-language code-instruction dataset built from "evolved" (progressively more complex) instructions, rather than flat single-difficulty examples. It's Apache 2.0 licensed and widely used for training code models.
[Fill in: before/after example outputs, or a benchmark comparison such as HumanEval pass@1 for base vs. fine-tuned model. Even 2-3 side-by-side prompt comparisons make this section useful.]
Example:
| Prompt | Base model | Fine-tuned model |
|---|---|---|
| "Write a function that..." | ... | ... |
- Trained on a subset of the dataset for speed; results may improve with the full 110K examples and more epochs
- Not evaluated on a standardized benchmark yet (see Results section above)
- LoRA adapter requires the base model to run unless merged
Base model and dataset are both Apache 2.0 β check their respective licenses before commercial use.