stindardlogic commited on
Commit
69c8518
·
verified ·
1 Parent(s): 111d23b

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +110 -0
README.md ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: apache-2.0
5
+ size_categories:
6
+ - 100K<n<1M
7
+ task_categories:
8
+ - text-generation
9
+ pretty_name: Document Summarization DPO (100K)
10
+ tags:
11
+ - document-summarization
12
+ - summarization
13
+ - dpo
14
+ - direct-preference-optimization
15
+ - synthetic
16
+ - enterprise
17
+ - information-extraction
18
+ - business-documents
19
+ - rlhf
20
+ configs:
21
+ - config_name: default
22
+ data_files:
23
+ - split: train
24
+ path: document-summarization-dpo-100k.jsonl
25
+ ---
26
+
27
+ # Document Summarization DPO (100K)
28
+
29
+ 100,000 DPO (Direct Preference Optimization) preference pairs for training models to summarize business and professional documents with precision, structure, and analytical depth.
30
+
31
+ ## Motivation
32
+
33
+ Document summarization is one of the highest-value enterprise AI applications — analysts, lawyers, product managers, and executives use AI to process reports, contracts, and research daily. Models commonly fail by:
34
+
35
+ - **Losing quantitative data**: Summarizing "the company performed well" instead of "revenue grew 23% YoY to $4.2B, with operating margin expanding 180bps to 18.3%"
36
+ - **Vague prose instead of structure**: Running text instead of tables, bullets, or sections that match the source document's information hierarchy
37
+ - **Adding no analytical value**: Copying sentences instead of synthesizing, deriving implications, or flagging key risks
38
+ - **Hallucinating or omitting key clauses**: Legal and compliance documents require verbatim fidelity to numbers, dates, and obligations
39
+ - **Ignoring document type conventions**: An earnings report summary should differ from a meeting minutes summary in structure, depth, and emphasis
40
+
41
+ This dataset trains models to summarize with the discipline of a senior analyst: preserving all quantitative data, using structured output, deriving explicit insights, and flagging risks.
42
+
43
+ ## Dataset Description
44
+
45
+ **100,000 DPO preference pairs** across 16 document types:
46
+
47
+ ### Document Types
48
+
49
+ | Type | Description |
50
+ |---|---|
51
+ | `earnings_report` | Quarterly/annual financial performance |
52
+ | `research_paper_abstract` | Scientific and academic research |
53
+ | `legal_contract` | Contracts, agreements, terms |
54
+ | `incident_report` | Technical outages and post-mortems |
55
+ | `meeting_minutes` | Decisions and action items from meetings |
56
+ | `policy_document` | Internal policies and procedures |
57
+ | `product_spec` | Technical specifications and requirements |
58
+ | `scientific_article` | Peer-reviewed research papers |
59
+ | `customer_complaint` | Support escalations and complaints |
60
+ | `technical_documentation` | API docs, system documentation |
61
+ | `strategic_plan` | Business strategy and OKRs |
62
+ | `job_description` | Role requirements and responsibilities |
63
+ | `audit_report` | Internal/external audit findings |
64
+ | `news_article` | Business and industry news |
65
+ | `performance_review` | Employee evaluations and feedback |
66
+ | `medical_report` | Clinical notes and medical assessments |
67
+
68
+ ## Format
69
+
70
+ ```json
71
+ {
72
+ "prompt": "Summarize the following earnings report:\n\n[document text]",
73
+ "chosen": "**Q2 2026 Financial Summary**\n\n**Revenue:** $4.2B (+23% YoY, +4.1% QoQ)...\n\n**Key Insights:** Operating leverage is expanding faster than consensus expected...",
74
+ "rejected": "The company reported strong financial results for Q2 2026. Revenue and profits both increased compared to last year. The company expressed optimism about future performance.",
75
+ "metadata": {
76
+ "doc_type": "earnings_report",
77
+ "chosen_rationale": "Preserves all quantitative data, uses structured format, adds derivable analytical insights",
78
+ "rejected_rationale": "Vague prose loses all specific numbers and adds no analytical value"
79
+ },
80
+ "id": "abc123"
81
+ }
82
+ ```
83
+
84
+ ## Key Properties
85
+
86
+ **Chosen responses:**
87
+ - **All numbers preserved**: Every percentage, dollar figure, date, and metric from the source appears in the summary
88
+ - **Structured output**: Uses tables, bullets, and section headers appropriate to the document type
89
+ - **Analytical synthesis**: Derives implications, flags risks, and highlights what changed vs. expectation — not just what happened
90
+ - **Appropriate length**: Neither too terse (losing data) nor too verbose (adding noise)
91
+ - **Document-type conventions**: Earnings summaries include segment breakdowns; legal summaries flag obligations and risks; meeting minutes lead with decisions and owners
92
+
93
+ **Rejected responses:**
94
+ - Vague prose that substitutes qualitative language for quantitative data
95
+ - Hallucinated or omitted specifics
96
+ - Flat summaries that add no synthesis beyond restating what the document said
97
+ - Unstructured text for documents that have clear hierarchical information
98
+
99
+ ## Use Cases
100
+
101
+ - DPO/RLHF fine-tuning for enterprise document AI (legal tech, finance, healthcare)
102
+ - Training summarization models for analyst and knowledge worker tools
103
+ - Building AI assistants for contract review, earnings analysis, and report processing
104
+ - Improving model performance on structured information extraction
105
+ - Fine-tuning models for document intelligence platforms (M&A, compliance, audit)
106
+ - Training medical AI for clinical note summarization
107
+
108
+ ## License
109
+
110
+ Apache 2.0