Text Generation
PEFT
Safetensors
English
qwen2.5-coder
dpo
lora
reasoning
combined-reasoning
code
unsloth
conversational
Instructions to use tensorov/qwen2.5-coder-7b-dpo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use tensorov/qwen2.5-coder-7b-dpo with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen2.5-Coder-7B-Instruct-bnb-4bit") model = PeftModel.from_pretrained(base_model, "tensorov/qwen2.5-coder-7b-dpo") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Fix dataset reference (local dataset, not on HF)
Browse files
README.md
CHANGED
|
@@ -21,7 +21,7 @@ widget:
|
|
| 21 |
|
| 22 |
# Qwen2.5-Coder-7B-Instruct — DPO (Combined Reasoning)
|
| 23 |
|
| 24 |
-
This is a **LoRA adapter** for `unsloth/Qwen2.5-Coder-7B-Instruct-bnb-4bit`, fine-tuned with a two-stage pipeline (SFT → DPO) on the
|
| 25 |
|
| 26 |
The adapter is loaded on top of the **4-bit quantized** base model, making it suitable for inference on GPUs with as little as 8 GB VRAM.
|
| 27 |
|
|
@@ -37,7 +37,7 @@ The adapter is loaded on top of the **4-bit quantized** base model, making it su
|
|
| 37 |
|
| 38 |
## Training Data
|
| 39 |
|
| 40 |
-
The
|
| 41 |
|
| 42 |
| Source Family | Models |
|
| 43 |
|---|---|
|
|
@@ -208,7 +208,7 @@ If you use this adapter, please cite the base model and the training dataset:
|
|
| 208 |
title={Combined Reasoning Distill},
|
| 209 |
author={Tensorov},
|
| 210 |
year={2025},
|
| 211 |
-
url={https://huggingface.co/
|
| 212 |
}
|
| 213 |
```
|
| 214 |
|
|
|
|
| 21 |
|
| 22 |
# Qwen2.5-Coder-7B-Instruct — DPO (Combined Reasoning)
|
| 23 |
|
| 24 |
+
This is a **LoRA adapter** for `unsloth/Qwen2.5-Coder-7B-Instruct-bnb-4bit`, fine-tuned with a two-stage pipeline (SFT → DPO) on the Combined Reasoning Distill dataset — a collection of 1.33M reasoning traces distilled from frontier models (Claude Opus 4.6/4.7, GPT 5.1/5.2, Kimi K2.5/K2.6, GLM 5.1, Gemini 3 Pro, MiniMax M2.1, and others).
|
| 25 |
|
| 26 |
The adapter is loaded on top of the **4-bit quantized** base model, making it suitable for inference on GPUs with as little as 8 GB VRAM.
|
| 27 |
|
|
|
|
| 37 |
|
| 38 |
## Training Data
|
| 39 |
|
| 40 |
+
The Combined Reasoning Distill dataset consists of **1,335,511 records** aggregated from 41 source datasets covering reasoning traces from:
|
| 41 |
|
| 42 |
| Source Family | Models |
|
| 43 |
|---|---|
|
|
|
|
| 208 |
title={Combined Reasoning Distill},
|
| 209 |
author={Tensorov},
|
| 210 |
year={2025},
|
| 211 |
+
url={https://huggingface.co/tensorov/qwen2.5-coder-7b-dpo}
|
| 212 |
}
|
| 213 |
```
|
| 214 |
|