Neooooo commited on
Commit
299fa3c
·
verified ·
1 Parent(s): c59b3c2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +110 -0
README.md CHANGED
@@ -28,3 +28,113 @@ configs:
28
  - split: test
29
  path: data/test-*
30
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  - split: test
29
  path: data/test-*
30
  ---
31
+ # structured_paper_summarization
32
+
33
+ A **151 k‑example** dataset of chat‐style *prompt → structured abstract* pairs, built from ~19 000 research papers across business, management, information‑systems and social‑science domains. Each example shows the full paper (body text) being summarised into a five‑section Emerald‑style structured abstract (Purpose, Design/methodology/approach, Findings, Practical implications, Originality/value).
34
+
35
+ ---
36
+ ## Why this dataset?
37
+ Large‑language models (LLMs) frequently struggle to:
38
+ 1. **Condense long scientific prose** into factual, concise summaries.
39
+ 2. **Follow rigid output structures** (e.g. subsection headings).
40
+
41
+ This dataset targets both challenges simultaneously, enabling fine‑tuning or instruction‑tuning of LLMs that must output *structured* scholarly abstracts.
42
+
43
+ ---
44
+ ## At a glance
45
+ | Split | Rows | Size (compressed) |
46
+ |-------|------|-------------------|
47
+ | train | **145 067** | 626 MB |
48
+ | test | **  6 650** | 29 MB |
49
+ | **Total** | **151 717** | ≈655 MB |
50
+
51
+ <sup>Counts taken from the Hugging Face viewer on 2025‑04‑29.</sup>
52
+
53
+ ---
54
+ ## Data schema
55
+ ```text
56
+ {
57
+ title: string # Paper title
58
+ keywords: list[string] # Author‑supplied keywords (0‑23)
59
+ messages: list[dict] length ≥ 2 # ChatML‑style conversation
60
+ }
61
+ ```
62
+ ### `messages` format
63
+ Each list contains alternating dictionaries with:
64
+ - `role`: either `"user"` or `"assistant"`.
65
+ - `content`: UTF‑8 text.
66
+
67
+ Typical pattern (2 items):
68
+ ```jsonc
69
+ [
70
+ {
71
+ "role": "user",
72
+ "content": "Summarize the following paper into structured abstract.\n\n<full paper text>"
73
+ },
74
+ {
75
+ "role": "assistant",
76
+ "content": "Purpose: …\nDesign/methodology/approach: …\nFindings: …\nPractical implications: …\nOriginality/value: …"
77
+ }
78
+ ]
79
+ ```
80
+ Some papers are longer and may be truncated to ~8 k tokens.
81
+
82
+ ---
83
+ ## Loading the data
84
+ ```python
85
+ from datasets import load_dataset
86
+
87
+ ds_train = load_dataset(
88
+ "Neooooo/19kPaper_sum_structured_prompts", split="train"
89
+ )
90
+ print(ds_train[0]["messages"][1]["content"][:500])
91
+ ```
92
+ The dataset is stored as Apache **Parquet** with streaming support; the example above requires ~5 s to start iterating with no local download.
93
+
94
+ ---
95
+ ## Suggested use‑cases
96
+ * **Instruction‑tuning** chat LLMs for long‑document summarisation.
97
+ * Research on **controlled text generation** and output formatting.
98
+ * Training **retrieval‑augmented systems** that must cite sections of the source paper.
99
+
100
+ ---
101
+ ## Source & construction
102
+ 1. Full‑text articles were collected via institutional access to the *Emerald Insight* corpus (open‑access + subscription).
103
+ 2. The canonical *structured abstract* supplied by each journal was extracted as ground truth.
104
+ 3. The article’s main body was embedded into a prompt of the form shown above.
105
+ 4. Data were converted to Hugging Face `datasets` ➜ auto‑parquet.
106
+
107
+ No additional manual cleaning was performed; typos and OCR artefacts may persist.
108
+
109
+ ---
110
+ ## Licensing & acceptable use
111
+ The article texts are **copyright their original publishers/authors** and are redistributed here *solely for non‑commercial research*. By using this dataset you agree to:
112
+ - **Not** redistribute the raw paper texts.
113
+ - Cite the original articles in any derivative work.
114
+ - Abide by Emerald’s usage policy and your local copyright laws.
115
+
116
+ The **metadata & structured abstracts** are released under **CC BY‑NC 4.0**. For commercial licensing, please contact the original rights‑holders.
117
+
118
+ ---
119
+ ## Citation
120
+ If you use this dataset, please cite:
121
+ ```text
122
+ @dataset{hu_2025_structured_prompts,
123
+ author = {Xingyu Hu},
124
+ title = {19kPaper\_sum\_structured\_prompts},
125
+ year = 2025,
126
+ url = {https://huggingface.co/datasets/Neooooo/19kPaper_sum_structured_prompts},
127
+ note = {Version 1.0}
128
+ }
129
+ ```
130
+
131
+ ---
132
+ ## Contributions
133
+ Feel free to open PRs to:
134
+ - Fix metadata errors.
135
+ - Provide additional splits (validation, domain‑specific subsets).
136
+ - Add scripts for evaluation or preprocessing.
137
+
138
+ ---
139
+ *Happy summarising!*
140
+