Elais-jann commited on
Commit
8dcd4b9
·
verified ·
1 Parent(s): 5fdf603

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +220 -3
README.md CHANGED
@@ -1,3 +1,220 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ task_categories:
4
+ - text-generation
5
+ language:
6
+ - en
7
+ tags:
8
+ - reasoning
9
+ - chain-of-thought
10
+ - math
11
+ - instruct
12
+ - synthetic
13
+ - sft
14
+ - dataset
15
+ - problem-solving
16
+ size_categories:
17
+ - 10K<n<100K
18
+ configs:
19
+ - config_name: data
20
+ data_files:
21
+ - split: train
22
+ path: data/train-000.parquet
23
+ - split: train
24
+ path: data/train-001.parquet
25
+ - config_name: full
26
+ data_files:
27
+ - split: train
28
+ path: full/train.parquet
29
+ ---
30
+
31
+ # WEBMemo
32
+
33
+ WEBMemo is a synthetic text-generation dataset designed for reasoning-heavy supervised fine-tuning. It combines instruction-following prompts, explicit reasoning traces, and math-oriented tasks in a Hugging Face-ready parquet layout.
34
+
35
+ The repository is structured to support two common workflows:
36
+
37
+ - loading sharded training data from `data/`
38
+ - loading a separate standalone corpus from `full/`
39
+
40
+ ## Overview
41
+
42
+ WEBMemo targets four core capabilities:
43
+
44
+ - reasoning
45
+ - instruction-following
46
+ - chain-of-thought style supervision
47
+ - math problem solving
48
+
49
+ Unlike a minimal prompt-answer corpus, WEBMemo stores a dedicated `reasoning` field alongside the final `response`, which makes it useful for experiments that separate intermediate reasoning from answer generation.
50
+
51
+ ## Intended Use
52
+
53
+ WEBMemo is intended for:
54
+
55
+ - supervised fine-tuning
56
+ - reasoning-oriented instruction tuning
57
+ - math and applied problem-solving training
58
+ - prompt-format and response-style experiments
59
+ - evaluation of data mixture strategies across separate parquet shards
60
+
61
+ It is best suited for training or analysis pipelines that need:
62
+
63
+ - explicit reasoning text
64
+ - unique rows across the full repository
65
+ - mixed symbolic and verbal tasks
66
+ - a stable source label for filtering and attribution
67
+
68
+ ## Repository Layout
69
+
70
+ ```text
71
+ WEBMemo/
72
+ .gitattributes
73
+ LICENSE
74
+ README.md
75
+ data/
76
+ train-000.parquet
77
+ train-001.parquet
78
+ full/
79
+ train.parquet
80
+ tools/
81
+ generate_webmemo.py
82
+ ```
83
+
84
+ ## Configs
85
+
86
+ WEBMemo exposes two Hugging Face configs:
87
+
88
+ | Config | File(s) | Role | Focus |
89
+ |--------|---------|------|-------|
90
+ | `data` | `data/train-000.parquet`, `data/train-001.parquet` | Sharded training set | Instruction reasoning and math reasoning |
91
+ | `full` | `full/train.parquet` | Standalone training set | Mixed reasoning, policy logic, evidence comparison, and applied math |
92
+
93
+ ## Size And Uniqueness
94
+
95
+ The repository contains **21,500 total rows**:
96
+
97
+ - `data/train-000.parquet`: 7,000 rows
98
+ - `data/train-001.parquet`: 7,000 rows
99
+ - `full/train.parquet`: 7,500 rows
100
+
101
+ Uniqueness guarantees:
102
+
103
+ - no exact duplicate prompts within any file
104
+ - no exact duplicate prompt-response pairs within any file
105
+ - no exact duplicate prompts across the full repository
106
+ - no exact duplicate prompt-response pairs across the full repository
107
+
108
+ ## Data Composition
109
+
110
+ ### `data/train-000.parquet`
111
+
112
+ This shard is centered on instruction-heavy reasoning tasks, including:
113
+
114
+ - prioritization under constraints
115
+ - evidence comparison
116
+ - policy interpretation
117
+ - workflow diagnosis
118
+ - planning tradeoffs
119
+ - decision selection with competing goals
120
+
121
+ ### `data/train-001.parquet`
122
+
123
+ This shard is centered on math reasoning tasks, including:
124
+
125
+ - arithmetic word problems
126
+ - fractions and percentages
127
+ - algebra and equations
128
+ - geometry
129
+ - rate and distance
130
+ - conversions, averages, and patterns
131
+
132
+ ### `full/train.parquet`
133
+
134
+ This is a separate standalone corpus rather than a duplicate merge of the shard files. It combines:
135
+
136
+ - mixed reasoning
137
+ - policy reasoning
138
+ - argument evaluation
139
+ - strategic tradeoff analysis
140
+ - evidence-based judgments
141
+ - applied math problems
142
+
143
+ ## Schema
144
+
145
+ All parquet files share the same columns:
146
+
147
+ | Field | Type | Description |
148
+ |-------|------|-------------|
149
+ | `id` | string | Unique sample id |
150
+ | `subset` | string | Source shard name |
151
+ | `category` | string | Task family |
152
+ | `prompt` | string | User instruction or problem |
153
+ | `reasoning` | string | Structured intermediate reasoning |
154
+ | `response` | string | Final answer |
155
+ | `difficulty` | string | Relative difficulty label |
156
+ | `source` | string | Data origin label |
157
+ | `language` | string | Language code |
158
+
159
+ ## Example Record
160
+
161
+ ```json
162
+ {
163
+ "id": "wmr-00001",
164
+ "subset": "data-shard-a",
165
+ "category": "instruction_reasoning",
166
+ "prompt": "Reason through the scenario step by step before answering. ...",
167
+ "reasoning": "The decision should track the core requirement rather than raw headcount. ...",
168
+ "response": "The analysts should lead the next phase.",
169
+ "difficulty": "medium",
170
+ "source": "Goldgolf-exchange",
171
+ "language": "en"
172
+ }
173
+ ```
174
+
175
+ ## Loading
176
+
177
+ ```python
178
+ from datasets import load_dataset
179
+
180
+ sharded = load_dataset("Surpem/WEBMemo", "data", split="train")
181
+ full = load_dataset("Surpem/WEBMemo", "full", split="train")
182
+ ```
183
+
184
+ You can also load an individual parquet file directly:
185
+
186
+ ```python
187
+ import pandas as pd
188
+
189
+ df = pd.read_parquet("data/train-000.parquet")
190
+ ```
191
+
192
+ ## Source Label
193
+
194
+ Every row uses the source value `Goldgolf-exchange`.
195
+
196
+ ## Generation Design
197
+
198
+ The generator for WEBMemo follows a few strict constraints:
199
+
200
+ - exact prompt duplication is blocked across the whole repository
201
+ - exact prompt-response duplication is blocked across the whole repository
202
+ - the `full` config is a standalone corpus, not a merged copy of the `data` config
203
+ - reasoning and math tasks are intentionally separated in the sharded config
204
+ - all data remains English-language and text-generation oriented
205
+
206
+ ## Limitations
207
+
208
+ WEBMemo is synthetic. That makes it useful for controllable fine-tuning, but it also means:
209
+
210
+ - the reasoning traces are generated rather than collected from natural human workflows
211
+ - realism depends on fit to your downstream use case
212
+ - chain-of-thought style supervision may not match every deployment policy
213
+ - prompt diversity does not automatically imply benchmark-level difficulty
214
+
215
+ ## Notes
216
+
217
+ - The two files in `data/` are intentionally different in prompt mix.
218
+ - `full/train.parquet` is not a duplicate merge of the shard files.
219
+ - Samples are generated to avoid exact prompt duplication across all files.
220
+ - The dataset is intended as a structured training resource, not a ground-truth benchmark.