CoolFace
Datasetpublic

stindardlogic/chain-of-thought-dpo-2k

Chain-of-Thought DPO Pairs (2.6K) DPO preference pairs for training LLMs to reason explicitly before answering. Dataset Description 2,600 preference pairs across 6 reasoning categories: Category Examples Description math_word ~610 Multi-step math word problems coding ~420 Algorithm complexity, CS reasoning economics ~415 Economic analysis and theory science ~390 Physics, chemistry, biology reasoning logic ~390 Deductive reasoning, puzzles… See the full description on the dataset page: https://huggingface.co/datasets/stindardlogic/chain-of-thought-dpo-2k.

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes37downloads
Dataset Card

Chain-of-Thought DPO Pairs (2.6K)

DPO preference pairs for training LLMs to reason explicitly before answering.

Dataset Description

2,600 preference pairs across 6 reasoning categories:

CategoryExamplesDescription
math_word~610Multi-step math word problems
coding~420Algorithm complexity, CS reasoning
economics~415Economic analysis and theory
science~390Physics, chemistry, biology reasoning
logic~390Deductive reasoning, puzzles
strategy~370Decision-making, frameworks

Chosen responses always include:

  • —Explicit numbered reasoning steps
  • —Intermediate calculations/derivations shown
  • —Clear final answer

Rejected responses include 4 failure modes:

  • —bare_answer — correct answer, no reasoning shown
  • —wrong_answer — plausible but incorrect answer
  • —shallow_reasoning — only first step, then jumps to conclusion
  • —confident_wrong — confidently states incorrect answer

Format

json
{
  "prompt": "A train leaves Station A at 9:00 AM...",
  "chosen": "Let me think through this step by step.\n\n**Step 1:** Define the meeting point...\n...\n**Answer:** The trains meet at approximately 11:43 AM.",
  "rejected": "The trains meet after about 2 hours, so around 11:00 AM.",
  "metadata": {
    "category": "math_word",
    "rejection_type": "wrong_answer",
    "reasoning_steps": 7
  },
  "id": "abc123def456"
}

Use Case

  • —Train models to use chain-of-thought reasoning via DPO/RLHF
  • —Teach step-by-step decomposition before answering
  • —Reduce confident hallucination on reasoning tasks
  • —Compatible with DPO, IPO, KTO frameworks

Related Datasets

License

Apache 2.0