josemnmatos commited on
Commit
692b886
·
verified ·
1 Parent(s): dd3376e

Publish verified augmented SFT train, dev, and test splits

Browse files
Files changed (7) hide show
  1. .gitattributes +3 -0
  2. README.md +113 -1
  3. SHA256SUMS +4 -0
  4. dataset_manifest.json +279 -0
  5. dev.jsonl +3 -0
  6. test.jsonl +3 -0
  7. train.jsonl +3 -0
.gitattributes CHANGED
@@ -58,3 +58,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ dev.jsonl filter=lfs diff=lfs merge=lfs -text
62
+ test.jsonl filter=lfs diff=lfs merge=lfs -text
63
+ train.jsonl filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,3 +1,115 @@
1
  ---
2
- license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ pretty_name: EGSciQA-ptPT-V1
3
+ language:
4
+ - pt
5
+ task_categories:
6
+ - text-generation
7
+ - question-answering
8
+ tags:
9
+ - scientific-reasoning
10
+ - grounded-generation
11
+ - supervised-fine-tuning
12
+ - portuguese
13
+ size_categories:
14
+ - 10K<n<100K
15
+ configs:
16
+ - config_name: default
17
+ data_files:
18
+ - split: train
19
+ path: train.jsonl
20
+ - split: validation
21
+ path: dev.jsonl
22
+ - split: test
23
+ path: test.jsonl
24
  ---
25
+
26
+ # EGSciQA-ptPT-V1
27
+
28
+ EGSciQA-ptPT-V1 is a European Portuguese (`pt-PT`) supervised fine-tuning
29
+ dataset for evidence-grounded scientific question answering and reasoning. Each
30
+ example contains a system prompt, an instruction with scientific evidence, and
31
+ a structured target response using `<raciocinio>` and `<resposta>` sections.
32
+
33
+ This repository contains the final instruction-augmented SFT artifacts. It is
34
+ not the raw pipeline export. Each eligible source example contributes exactly
35
+ one row: the original row is not included alongside additional copies.
36
+
37
+ ## Splits
38
+
39
+ | Split | File | Rows |
40
+ | --- | --- | ---: |
41
+ | Train | `train.jsonl` | 12,571 |
42
+ | Development/validation | `dev.jsonl` | 1,776 |
43
+ | Test | `test.jsonl` | 3,574 |
44
+ | **Total** | | **17,921** |
45
+
46
+ The development file is exposed as the Hugging Face `validation` split while
47
+ retaining the filename `dev.jsonl`.
48
+
49
+ ## Record format
50
+
51
+ The main fields are:
52
+
53
+ - `question_id`, `doc_id`: source identifiers.
54
+ - `source_type`: `single_document` or `document_cluster`.
55
+ - `question_family`: question-generation family.
56
+ - `groundability`: `groundable`, `partially_groundable`, or `non_groundable`.
57
+ - `system`: system message used for SFT.
58
+ - `instruction`: question and evidence in one augmented presentation.
59
+ - `response`: supervised assistant target.
60
+ - `selected_answer`: selected final answer before chat formatting.
61
+ - `cot_sample_index`: selected candidate index in the source pipeline.
62
+ - `split`, `split_group`: leakage-controlled split metadata.
63
+ - `cluster_id`: present for document-cluster examples.
64
+ - `augmentation`: deterministic augmentation provenance, including the original
65
+ parent ID, template, evidence layout, evidence-ID scheme, shuffle flag, and
66
+ system-prompt variant.
67
+
68
+ ## Augmentation policy
69
+
70
+ Instruction augmentation changes prompt wording, evidence presentation,
71
+ evidence order, and citation-label style. It does not paraphrase the supervised
72
+ answer. When the evidence-ID style changes, bracketed evidence citations in the
73
+ target are remapped so they continue to refer to the correct evidence blocks.
74
+
75
+ The augmentation seed is `42`. Exactly one augmented presentation is retained
76
+ per eligible parent in train, validation, and test.
77
+
78
+ ## Quality and leakage controls
79
+
80
+ The source split contained 18,743 rows. The SFT builder excluded 822 rows:
81
+
82
+ | Reason | Train | Validation | Test | Total |
83
+ | --- | ---: | ---: | ---: | ---: |
84
+ | Empty evidence | 474 | 78 | 159 | 711 |
85
+ | Incomplete target tags | 57 | 14 | 10 | 81 |
86
+ | Invalid target citations or XML | 18 | 5 | 7 | 30 |
87
+
88
+ Validation of this release found:
89
+
90
+ - valid UTF-8 JSONL for every row;
91
+ - one unique parent per row;
92
+ - valid and ordered `<raciocinio>`/`<resposta>` target tags;
93
+ - no response citations referring to unavailable evidence identifiers;
94
+ - zero parent-sample overlap across train, validation, and test;
95
+ - zero evidence-document overlap across train, validation, and test.
96
+
97
+ See `dataset_manifest.json` for split distributions, exclusions, augmentation
98
+ mix, and leakage-audit counts. See `SHA256SUMS` for release checksums.
99
+
100
+ ## Intended use
101
+
102
+ Use `train` for supervised fine-tuning, `validation` for model selection and
103
+ training diagnostics, and `test` only for final held-out evaluation. The model
104
+ should be trained to answer exclusively from the supplied evidence, cite the
105
+ evidence identifiers it uses, and explicitly state when the evidence is
106
+ insufficient.
107
+
108
+ ## Limitations
109
+
110
+ The examples are generated from scientific-document evidence and selected by
111
+ an automated self-consistency pipeline. They may retain OCR artifacts, source
112
+ document errors, or imperfect generated reasoning despite automated validation.
113
+ The dataset should not be treated as a substitute for expert review in medical,
114
+ engineering, or other high-stakes settings.
115
+
SHA256SUMS ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ 0089089414aa7d2c0eadbff38ed46f17a4f9da0d350ac193240eea25b332e190 train.jsonl
2
+ e3463dd658de33e0683089a90320e1771de608bf5f50780f6fa62c436ed64aab dev.jsonl
3
+ 532475e20b9184ac806dd2491a0f395eb06c1672f96e373a504d2d545ec8dbb7 test.jsonl
4
+ 540a43b543f37704bdfb85d59f6e01820cbfe40e80ca8d4c16fdb7f7a86ccdb5 dataset_manifest.json
dataset_manifest.json ADDED
@@ -0,0 +1,279 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "total_included": 17921,
3
+ "splits": {
4
+ "train": {
5
+ "records": 12571,
6
+ "groups": 12571,
7
+ "source_type": {
8
+ "single_document": 10051,
9
+ "document_cluster": 2520
10
+ },
11
+ "question_family": {
12
+ "method_result_reasoning": 10051,
13
+ "cross_document_synthesis": 2520
14
+ },
15
+ "groundability": {
16
+ "partially_groundable": 7556,
17
+ "groundable": 3290,
18
+ "non_groundable": 1725
19
+ },
20
+ "sample_kind": {
21
+ "answer_cot": 12571
22
+ }
23
+ },
24
+ "validation": {
25
+ "records": 1776,
26
+ "groups": 1776,
27
+ "source_type": {
28
+ "single_document": 1426,
29
+ "document_cluster": 350
30
+ },
31
+ "question_family": {
32
+ "method_result_reasoning": 1426,
33
+ "cross_document_synthesis": 350
34
+ },
35
+ "groundability": {
36
+ "groundable": 479,
37
+ "non_groundable": 226,
38
+ "partially_groundable": 1071
39
+ },
40
+ "sample_kind": {
41
+ "answer_cot": 1776
42
+ }
43
+ },
44
+ "test": {
45
+ "records": 3574,
46
+ "groups": 3574,
47
+ "source_type": {
48
+ "single_document": 2854,
49
+ "document_cluster": 720
50
+ },
51
+ "question_family": {
52
+ "method_result_reasoning": 2854,
53
+ "cross_document_synthesis": 720
54
+ },
55
+ "groundability": {
56
+ "non_groundable": 479,
57
+ "partially_groundable": 2155,
58
+ "groundable": 940
59
+ },
60
+ "sample_kind": {
61
+ "answer_cot": 3574
62
+ }
63
+ }
64
+ },
65
+ "excluded": {
66
+ "train:empty_evidence": 474,
67
+ "train:incomplete_tags": 57,
68
+ "train:invalid_target_citations_or_xml": 18,
69
+ "validation:empty_evidence": 78,
70
+ "validation:incomplete_tags": 14,
71
+ "validation:invalid_target_citations_or_xml": 5,
72
+ "test:empty_evidence": 159,
73
+ "test:incomplete_tags": 10,
74
+ "test:invalid_target_citations_or_xml": 7
75
+ },
76
+ "group_overlap_count": {
77
+ "train__validation": 0,
78
+ "train__test": 0,
79
+ "validation__test": 0
80
+ },
81
+ "group_overlaps": {
82
+ "train__validation": [],
83
+ "train__test": [],
84
+ "validation__test": []
85
+ },
86
+ "input_mode": "presplit_leakage_controlled",
87
+ "input_paths": {
88
+ "train": "data\\OpenSciReason-PT-v1\\openscireason_pt.train.jsonl",
89
+ "validation": "data\\OpenSciReason-PT-v1\\openscireason_pt.dev.jsonl",
90
+ "test": "data\\OpenSciReason-PT-v1\\openscireason_pt.test.jsonl"
91
+ },
92
+ "input_records": {
93
+ "train": 13120,
94
+ "validation": 1873,
95
+ "test": 3750
96
+ },
97
+ "excluded_records": {
98
+ "train:empty_evidence": 474,
99
+ "train:incomplete_tags": 57,
100
+ "train:invalid_target_citations_or_xml": 18,
101
+ "validation:empty_evidence": 78,
102
+ "validation:incomplete_tags": 14,
103
+ "validation:invalid_target_citations_or_xml": 5,
104
+ "test:empty_evidence": 159,
105
+ "test:incomplete_tags": 10,
106
+ "test:invalid_target_citations_or_xml": 7
107
+ },
108
+ "output_paths": {
109
+ "train": "training\\sft\\openscireason_pt.augmented.sft.train.jsonl",
110
+ "validation": "training\\sft\\openscireason_pt.augmented.sft.validation.jsonl",
111
+ "test": "training\\sft\\openscireason_pt.augmented.sft.test.jsonl"
112
+ },
113
+ "seed": 42,
114
+ "evidence_document_overlap_count": {
115
+ "train__validation": 0,
116
+ "train__test": 0,
117
+ "validation__test": 0
118
+ },
119
+ "parent_sample_overlap_count": {
120
+ "train__validation": 0,
121
+ "train__test": 0,
122
+ "validation__test": 0
123
+ },
124
+ "instruction_augmentation": {
125
+ "enabled": true,
126
+ "strategy": "single_all",
127
+ "source_rows_replaced": true,
128
+ "rows_per_eligible_parent": 1,
129
+ "augmented_splits": [
130
+ "train",
131
+ "validation",
132
+ "test"
133
+ ],
134
+ "created_records": 17921,
135
+ "skipped_records": {},
136
+ "realized_mix": {
137
+ "train": {
138
+ "records": 12571,
139
+ "augmented": 12571,
140
+ "unique_parents": 12571,
141
+ "sft_template_id": {
142
+ "T1_minimal": 3796,
143
+ "T5_concise": 968,
144
+ "T3_evidence_first": 2455,
145
+ "T4_rag_style": 1830,
146
+ "T6_detailed": 940,
147
+ "T2_explicit_short": 2582
148
+ },
149
+ "evidence_layout": {
150
+ "original": 8878,
151
+ "source_block": 648,
152
+ "bullet": 1184,
153
+ "compact": 1861
154
+ },
155
+ "evidence_id_scheme": {
156
+ "source": 1195,
157
+ "evidence": 8841,
158
+ "s": 1239,
159
+ "ev": 1296
160
+ },
161
+ "evidence_shuffled": {
162
+ "False": 10118,
163
+ "True": 2453
164
+ },
165
+ "format_reminder": {
166
+ "False": 7482,
167
+ "True": 5089
168
+ },
169
+ "system_prompt_variant": {
170
+ "False": 11963,
171
+ "True": 608
172
+ }
173
+ },
174
+ "validation": {
175
+ "records": 1776,
176
+ "augmented": 1776,
177
+ "unique_parents": 1776,
178
+ "sft_template_id": {
179
+ "T2_explicit_short": 348,
180
+ "T1_minimal": 555,
181
+ "T5_concise": 119,
182
+ "T4_rag_style": 249,
183
+ "T3_evidence_first": 366,
184
+ "T6_detailed": 139
185
+ },
186
+ "evidence_layout": {
187
+ "original": 1259,
188
+ "bullet": 166,
189
+ "compact": 253,
190
+ "source_block": 98
191
+ },
192
+ "evidence_id_scheme": {
193
+ "s": 182,
194
+ "evidence": 1251,
195
+ "ev": 162,
196
+ "source": 181
197
+ },
198
+ "evidence_shuffled": {
199
+ "False": 1423,
200
+ "True": 353
201
+ },
202
+ "format_reminder": {
203
+ "True": 724,
204
+ "False": 1052
205
+ },
206
+ "system_prompt_variant": {
207
+ "False": 1693,
208
+ "True": 83
209
+ }
210
+ },
211
+ "test": {
212
+ "records": 3574,
213
+ "augmented": 3574,
214
+ "unique_parents": 3574,
215
+ "sft_template_id": {
216
+ "T4_rag_style": 496,
217
+ "T1_minimal": 1059,
218
+ "T2_explicit_short": 749,
219
+ "T3_evidence_first": 722,
220
+ "T5_concise": 284,
221
+ "T6_detailed": 264
222
+ },
223
+ "evidence_layout": {
224
+ "original": 2525,
225
+ "source_block": 167,
226
+ "compact": 559,
227
+ "bullet": 323
228
+ },
229
+ "evidence_id_scheme": {
230
+ "evidence": 2510,
231
+ "ev": 382,
232
+ "source": 342,
233
+ "s": 340
234
+ },
235
+ "evidence_shuffled": {
236
+ "False": 2869,
237
+ "True": 705
238
+ },
239
+ "format_reminder": {
240
+ "False": 2160,
241
+ "True": 1414
242
+ },
243
+ "system_prompt_variant": {
244
+ "True": 173,
245
+ "False": 3401
246
+ }
247
+ }
248
+ },
249
+ "response_policy": "unchanged_except_for_bracketed_evidence_id_remapping",
250
+ "target_final_mix": {
251
+ "sft_template_id": {
252
+ "T1_minimal": 0.3,
253
+ "T2_explicit_short": 0.2,
254
+ "T3_evidence_first": 0.2,
255
+ "T4_rag_style": 0.15,
256
+ "T5_concise": 0.075,
257
+ "T6_detailed": 0.075
258
+ },
259
+ "system_prompt": {
260
+ "main": 0.95,
261
+ "variant": 0.05
262
+ },
263
+ "evidence_layout": {
264
+ "original": 0.7,
265
+ "compact": 0.15,
266
+ "bullet": 0.1,
267
+ "source_block": 0.05
268
+ },
269
+ "evidence_id_scheme": {
270
+ "evidence": 0.7,
271
+ "ev": 0.1,
272
+ "source": 0.1,
273
+ "s": 0.1
274
+ },
275
+ "evidence_shuffled": 0.2,
276
+ "format_reminder": 0.4
277
+ }
278
+ }
279
+ }
dev.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3463dd658de33e0683089a90320e1771de608bf5f50780f6fa62c436ed64aab
3
+ size 37713225
test.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:532475e20b9184ac806dd2491a0f395eb06c1672f96e373a504d2d545ec8dbb7
3
+ size 75041449
train.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0089089414aa7d2c0eadbff38ed46f17a4f9da0d350ac193240eea25b332e190
3
+ size 266194815