Update README.md
Browse files
README.md
CHANGED
|
@@ -1 +1,37 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
## 🚀 Qwen2.5 1.5B Python Coder
|
| 2 |
+
**Supervised Fine-Tuning (SFT) + VERL Reinforcement Learning**
|
| 3 |
+
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
### 🧠 Training Overview
|
| 7 |
+
|
| 8 |
+
#### 🔹 Supervised Fine-Tuning (SFT)
|
| 9 |
+
- **Hardware**: 2× T4 GPUs (Kaggle)
|
| 10 |
+
- **Dataset**: https://huggingface.co/datasets/iamtarun/python_code_instructions_18k_alpaca
|
| 11 |
+
|
| 12 |
+
#### 🔹 Reinforcement Learning (VERL)
|
| 13 |
+
- **Platform**: L4 GPU (Google Colab)
|
| 14 |
+
- **Samples**: 2,000
|
| 15 |
+
- **Dataset**: https://huggingface.co/datasets/KodCode/KodCode-V1-SFT-4o
|
| 16 |
+
- **Reward Function**:
|
| 17 |
+
- Based on the **proportion of unit tests passed**
|
| 18 |
+
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
### 📊 Evaluation
|
| 22 |
+
|
| 23 |
+
- **Benchmark**: https://huggingface.co/spaces/bigcode/bigcode-models-leaderboard
|
| 24 |
+
|
| 25 |
+
| Model Variant | Score |
|
| 26 |
+
|---------------------|-------|
|
| 27 |
+
| Baseline (Plain) | 0.000 |
|
| 28 |
+
| After SFT | 0.165 |
|
| 29 |
+
| After SFT + VERL | 0.287 |
|
| 30 |
+
|
| 31 |
+
---
|
| 32 |
+
|
| 33 |
+
### ✨ Summary
|
| 34 |
+
|
| 35 |
+
- SFT provides a strong initial boost in coding capability
|
| 36 |
+
- VERL further improves performance by reinforcing test-passing behavior
|
| 37 |
+
- Combined approach yields a **~74% improvement over SFT alone**
|