ThakrePranjal/pharma-tinyllama-unsloth-stage3-dpo-lora
Updated • 21
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Preference dataset in DPO format (prompt / chosen / rejected) used for Stage 3 DPO training in the Unsloth 3-stage pharma fine-tuning pipeline.
{
"prompt": "### Instruction:\nExplain the mechanism of metformin.\n\n### Response:",
"chosen": "Metformin primarily acts by activating AMPK...",
"rejected": "Metformin mainly works by increasing insulin secretion..."
}
| Param | Value |
|---|---|
| Beta (KL penalty) | 0.1 |
| Max steps | 30 |
| Learning rate | 5e-5 |
| Trainer | trl.DPOTrainer (Unsloth patched) |
Stage 1 (SFT - Domain Pretraining) → raw PDF paragraphs
Stage 2 (SFT - Instruction Tuning) → [ThakrePranjal/pharma-instruction-dataset-unsloth](https://huggingface.co/datasets/ThakrePranjal/pharma-instruction-dataset-unsloth)
Stage 3 (DPO - Preference Tuning) → THIS DATASET