Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

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.

Pharma DPO Preference Dataset — Unsloth Pipeline

Preference dataset in DPO format (prompt / chosen / rejected) used for Stage 3 DPO training in the Unsloth 3-stage pharma fine-tuning pipeline.

Format

{
  "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..."
}

Stats

  • Total rows: 48
  • Used as-is for DPO training (no validation split)

DPO training details

Param Value
Beta (KL penalty) 0.1
Max steps 30
Learning rate 5e-5
Trainer trl.DPOTrainer (Unsloth patched)

Pipeline context

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

Related models

Downloads last month
29

Models trained or fine-tuned on ThakrePranjal/pharma-preference-dataset-unsloth