MinervaCYY commited on
Commit
f5b95d2
·
verified ·
1 Parent(s): 7d07da6

Clarify v0.2 SFT method terminology

Browse files

Document the Vanilla-SFT, LIMO, and ContrastiveLIMO mappings while preserving all 15 dataset configurations, scientific JSONL resources, provenance notes, and historical checksum inventories.

Files changed (2) hide show
  1. DATA_DICTIONARY.md +25 -11
  2. README.md +30 -18
DATA_DICTIONARY.md CHANGED
@@ -1,8 +1,8 @@
1
- # PathFACT v0.2 Data Dictionary
2
 
3
  Source attribution for examples: PathFACT Dataset v0.1, MinervaCYY/PathFACT, [fixed revision `3d20d452e1efe21c80d55185f5176ca3fc5e4f9f`](https://huggingface.co/datasets/MinervaCYY/PathFACT/tree/3d20d452e1efe21c80d55185f5176ca3fc5e4f9f). Dataset excerpts are subject to the release's limited CC BY 4.0 scope and exclusions described in the [Hugging Face Dataset Card](https://huggingface.co/datasets/MinervaCYY/PathFACT). The repository's MIT licence applies to software, not automatically to dataset content.
4
 
5
- The following legacy sections describe the 13 v0.1 JSONL files in `pathfact-v0.1-hf-upload`, checked against every local row on 2026-11-04 and the implementation in `src/pathfact/datasets/public.py`, `derived.py`, `historical_vsp.py`, and `graphs/canonical.py`. JSON types below are observed types; `null` means JSON null. All listed ordinary fields were present on every row unless an optionality note says otherwise. Node IDs are graph-map keys, not schema fields.
6
 
7
  ## G00 task records: `tasks/g00_tasks.jsonl`
8
 
@@ -336,13 +336,25 @@ Prompt hashes and labels describe provenance; G05 does not include the original
336
  prompt text. Interpret target text together with its validation fields and
337
  their stated limits.
338
 
339
- ## G06 prompt/completion resources (four files)
340
 
341
- G06 contains four frozen supervised fine-tuning (SFT) files: Gold Train-200,
342
- Contrastive Train-200, Gold LossVal-44, and Contrastive LossVal-44. Each record
343
- is one prompt paired with a target completion. The two conditions share case
344
- IDs, so they are paired views of the same tasks rather than independent task
345
- samples.
 
 
 
 
 
 
 
 
 
 
 
 
346
 
347
  ### A. What Is a G06 Training Example?
348
 
@@ -391,7 +403,7 @@ non-null in the released records.
391
  | Original field | Human-readable display name | JSON type | Plain-English explanation | Research use and interpretation caveat |
392
  |---|---|---|---|---|
393
  | `production_case_id` | Case ID | string | Identifies the graph task paired with this example. | Join to the matching G05/G00 case and align Gold with Contrastive. A shared ID means the same task, not an independent example. |
394
- | `condition` | Supervision condition | string | Either `gold` or `contrastive`, naming the target condition. | Separate or compare the two SFT conditions. It is not a split label; Train versus LossVal is identified by the file. |
395
  | `prompt` | Model input prompt | string | Frozen input text, including the graph/task request; Contrastive prompts also include the frozen incorrect Student reasoning trace and corrective instructions. | Feed this text as model input. Do not confuse the included Student reasoning in Contrastive with the Student's submitted final answer, or with the Teacher completion. |
396
  | `prompt_sha256` | Prompt text fingerprint | string (64-character hexadecimal SHA-256) | Hash of the exact UTF-8 prompt string. | Check that prompt bytes/text have not changed. A hash is an integrity check, not a model-quality measure. |
397
  | `completion` | Target completion | string | Frozen SFT target: Teacher reasoning text followed by the verified answer path. | Use as the target for supervised fine-tuning or loss calculation. It is a target, not an observed output from a model trained on G06. |
@@ -1126,10 +1138,12 @@ reasoning trace. `prompt_sha256` and `completion_sha256` are SHA-256 hashes of
1126
  the corresponding exact UTF-8 strings. `production_case_id` identifies the
1127
  case, and `condition` is `vanilla`. The case IDs, order, prompts, and answers
1128
  are validated against frozen G06 Gold supervision. Train and LossVal case
1129
- sets are disjoint.
 
 
1130
 
1131
  The public files are reconstructed from validated frozen G06 Gold records;
1132
  they are not byte-identical to the historical Stage C files. Historical
1133
  answer-only supervision exists for these splits, but no claim is made that a
1134
  historical model checkpoint has been matched to an exact training-file
1135
- SHA-256. See [Source Provenance](docs/SOURCE_PROVENANCE.md) for details.
 
1
+ # PathFACT Dataset Data Dictionary (v0.2)
2
 
3
  Source attribution for examples: PathFACT Dataset v0.1, MinervaCYY/PathFACT, [fixed revision `3d20d452e1efe21c80d55185f5176ca3fc5e4f9f`](https://huggingface.co/datasets/MinervaCYY/PathFACT/tree/3d20d452e1efe21c80d55185f5176ca3fc5e4f9f). Dataset excerpts are subject to the release's limited CC BY 4.0 scope and exclusions described in the [Hugging Face Dataset Card](https://huggingface.co/datasets/MinervaCYY/PathFACT). The repository's MIT licence applies to software, not automatically to dataset content.
4
 
5
+ The G00, G05, G06 Teacher-reasoning, evaluation, and Derived sections below describe the 13 scientific JSONL files first released in v0.1, checked against every local row on 2026-11-04 and the implementation in `src/pathfact/datasets/public.py`, `derived.py`, `historical_vsp.py`, and `graphs/canonical.py`. PathFACT v0.2 preserves those resources and adds the two Vanilla-SFT files documented at the end. JSON types below are observed types; `null` means JSON null. All listed ordinary fields were present on every row unless an optionality note says otherwise. Node IDs are graph-map keys, not schema fields.
6
 
7
  ## G00 task records: `tasks/g00_tasks.jsonl`
8
 
 
336
  prompt text. Interpret target text together with its validation fields and
337
  their stated limits.
338
 
339
+ ## G06 prompt/completion resources
340
 
341
+ The original v0.1 release contains four frozen Teacher-reasoning SFT files:
342
+ Gold Train-200, Contrastive Train-200, Gold LossVal-44, and Contrastive
343
+ LossVal-44. The v0.2 release adds Vanilla-SFT Train-200 and LossVal-44 files.
344
+ Each record is one prompt paired with a target completion. The conditions
345
+ share case IDs within each split, so they are paired views of the same tasks
346
+ rather than independent task samples.
347
+
348
+ ### SFT methods and dataset identifiers
349
+
350
+ | Method | Dataset identifier | Files | Supervision |
351
+ |---|---|---|---|
352
+ | Vanilla-SFT | Historical filename prefix `answer_only`; generated-record condition `vanilla` | `answer_only_train_200_prompt_completion_v1.jsonl`; `answer_only_loss_val_44_prompt_completion_v1.jsonl` | Final answer only, without a reasoning trace. |
353
+ | LIMO | `gold` | `gold_train_200_prompt_completion_v1.jsonl`; `gold_loss_val_44_prompt_completion_v1.jsonl` | Ordinary Teacher reasoning and verified answer. |
354
+ | ContrastiveLIMO | `contrastive` | `contrastive_train_200_prompt_completion_v1.jsonl`; `contrastive_loss_val_44_prompt_completion_v1.jsonl` | Failure-conditioned corrective Teacher reasoning and verified answer. |
355
+
356
+ `gold` and `contrastive` identify supervision conditions, not method names.
357
+ The existing Hub configurations, filenames, and record values are retained.
358
 
359
  ### A. What Is a G06 Training Example?
360
 
 
403
  | Original field | Human-readable display name | JSON type | Plain-English explanation | Research use and interpretation caveat |
404
  |---|---|---|---|---|
405
  | `production_case_id` | Case ID | string | Identifies the graph task paired with this example. | Join to the matching G05/G00 case and align Gold with Contrastive. A shared ID means the same task, not an independent example. |
406
+ | `condition` | Supervision condition | string | For these original four files, `gold` or `contrastive` names the target condition. The v0.2 Vanilla files use `vanilla`. | Separate or compare the SFT methods. It is not a split label; Train versus LossVal is identified by the file. |
407
  | `prompt` | Model input prompt | string | Frozen input text, including the graph/task request; Contrastive prompts also include the frozen incorrect Student reasoning trace and corrective instructions. | Feed this text as model input. Do not confuse the included Student reasoning in Contrastive with the Student's submitted final answer, or with the Teacher completion. |
408
  | `prompt_sha256` | Prompt text fingerprint | string (64-character hexadecimal SHA-256) | Hash of the exact UTF-8 prompt string. | Check that prompt bytes/text have not changed. A hash is an integrity check, not a model-quality measure. |
409
  | `completion` | Target completion | string | Frozen SFT target: Teacher reasoning text followed by the verified answer path. | Use as the target for supervised fine-tuning or loss calculation. It is a target, not an observed output from a model trained on G06. |
 
1138
  the corresponding exact UTF-8 strings. `production_case_id` identifies the
1139
  case, and `condition` is `vanilla`. The case IDs, order, prompts, and answers
1140
  are validated against frozen G06 Gold supervision. Train and LossVal case
1141
+ sets are disjoint. In method terminology, these are the Vanilla-SFT files;
1142
+ the `answer_only` prefix remains in the historical filenames and `vanilla`
1143
+ remains the record condition identifier.
1144
 
1145
  The public files are reconstructed from validated frozen G06 Gold records;
1146
  they are not byte-identical to the historical Stage C files. Historical
1147
  answer-only supervision exists for these splits, but no claim is made that a
1148
  historical model checkpoint has been matched to an exact training-file
1149
+ SHA-256. See [Source Provenance](https://github.com/MinervaCyy/PathFACT/blob/main/docs/SOURCE_PROVENANCE.md) for details.
README.md CHANGED
@@ -75,7 +75,7 @@ configs:
75
 
76
 
77
 
78
- # PathFACT v0.1
79
 
80
  ## Contents
81
 
@@ -86,7 +86,7 @@ configs:
86
  - [Data Dictionary and Provenance](#data-dictionary-and-provenance)
87
  - [G00 task records](#g00-task-records-tasksg00_tasksjsonl)
88
  - [G05 genuine Student–Teacher pairs](#genuine-studentteacher-pairs-g05)
89
- - [G06 prompt/completion resources](#g06-promptcompletion-resources-four-files)
90
  - [G08/G09 evaluation resources](#g08g09-evaluation-resources-four-files)
91
  - [Derived graph resources](#derived-graph-resources)
92
  - [Counterfactual triples (354 rows)](#counterfactualcounterfactual_triplesjsonl-354-rows)
@@ -143,7 +143,7 @@ Researchers can use the released datasets directly, build on the supported CPU w
143
 
144
  Source attribution for examples: PathFACT Dataset v0.1, MinervaCYY/PathFACT, [fixed scientific revision `3d20d452e1efe21c80d55185f5176ca3fc5e4f9f`](https://huggingface.co/datasets/MinervaCYY/PathFACT/tree/3d20d452e1efe21c80d55185f5176ca3fc5e4f9f). Dataset excerpts are subject to the release's limited CC BY 4.0 scope and exclusions described in the [Dataset Licensing guide](https://github.com/MinervaCyy/PathFACT/blob/main/docs/DATASET_LICENSE.md). The repository's MIT licence applies to software, not automatically to dataset content.
145
 
146
- This dictionary describes the 13 released JSONL files in `pathfact-v0.1-hf-upload`, checked against every local row on 2026-11-04 and the implementation in `src/pathfact/datasets/public.py`, `derived.py`, `historical_vsp.py`, and `graphs/canonical.py`.
147
 
148
  JSON types below are observed types; `null` means JSON null. All listed ordinary fields were present on every row unless an optionality note says otherwise. Node IDs are graph-map keys, not schema fields.
149
 
@@ -479,21 +479,32 @@ Prompt hashes and labels describe provenance; G05 does not include the original
479
  prompt text. Interpret target text together with its validation fields and
480
  their stated limits.
481
 
482
- ## G06 prompt/completion resources (four files)
483
 
484
- G06 contains four frozen supervised fine-tuning (SFT) files: Gold Train-200,
485
- Contrastive Train-200, Gold LossVal-44, and Contrastive LossVal-44. Each record
486
- is one prompt paired with a target completion. The two conditions share case
487
- IDs, so they are paired views of the same tasks rather than independent task
488
- samples.
 
 
 
 
 
 
 
 
 
 
489
 
490
  ### A. What Is a G06 Training Example?
491
 
492
  A G06 record gives a model a **prompt** and the **completion** it is trained to
493
  produce. The prompt is the input; the completion is the target text, formatted
494
- with a reasoning block and a verified shortest-path answer. G06 is a frozen
495
- historical SFT resource: it contains examples, not model weights, trained
496
- checkpoints, or observed model performance.
 
497
 
498
  G06 records are linked to G05 by `production_case_id`. The task prompt comes
499
  from the task-only prompt source. The Gold completion uses the matched G05
@@ -528,13 +539,13 @@ and append `Answer: [verified path]`.
528
 
529
  ### C. Field-by-Field Data Dictionary
530
 
531
- Every row in all four files has the following six fields. All are present and
532
- non-null in the released records.
533
 
534
  | Original field | Human-readable display name | JSON type | Plain-English explanation | Research use and interpretation caveat |
535
  |---|---|---|---|---|
536
  | `production_case_id` | Case ID | string | Identifies the graph task paired with this example. | Join to the matching G05/G00 case and align Gold with Contrastive. A shared ID means the same task, not an independent example. |
537
- | `condition` | Supervision condition | string | Either `gold` or `contrastive`, naming the target condition. | Separate or compare the two SFT conditions. It is not a split label; Train versus LossVal is identified by the file. |
538
  | `prompt` | Model input prompt | string | Frozen input text, including the graph/task request; Contrastive prompts also include the frozen incorrect Student reasoning trace and corrective instructions. | Feed this text as model input. Do not confuse the included Student reasoning in Contrastive with the Student's submitted final answer, or with the Teacher completion. |
539
  | `prompt_sha256` | Prompt text fingerprint | string (64-character hexadecimal SHA-256) | Hash of the exact UTF-8 prompt string. | Check that prompt bytes/text have not changed. A hash is an integrity check, not a model-quality measure. |
540
  | `completion` | Target completion | string | Frozen SFT target: Teacher reasoning text followed by the verified answer path. | Use as the target for supervised fine-tuning or loss calculation. It is a target, not an observed output from a model trained on G06. |
@@ -545,8 +556,9 @@ non-null in the released records.
545
  - The two Train files each contain **200 cases**; their case-ID sets match.
546
  - The two LossVal files each contain **44 cases**; their case-ID sets match.
547
  - Train and LossVal are disjoint and together cover the 244 G05 parent cases.
548
- - Both conditions use the same partition: a case is in Gold Train and
549
- Contrastive Train, or in Gold LossVal and Contrastive LossVal.
 
550
 
551
  LossVal-44 is held out from the Train-200 examples for loss validation during
552
  SFT work. It is not a held-out task-solving evaluation: its prompt is paired
@@ -1260,4 +1272,4 @@ solely from a key name where the code/provenance does not define them.
1260
 
1261
  The two added G06 resources provide answer-only prompt/completion supervision for the same 200 Train and 44 LossVal cases represented by the frozen G06 Gold splits. Each target contains only the final shortest-path answer (`Answer: [node, ...]`) without a reasoning trace. Completion hashes are regenerated from the visible answer-only text. The public files are reconstructed from validated frozen G06 Gold supervision; the historical Stage C files remain unchanged. Historical answer-only supervision is supported by the available records, but no exact training-file SHA-256 is claimed for any historical model checkpoint.
1262
 
1263
- The complete field definitions are also available in [`DATA_DICTIONARY.md`](DATA_DICTIONARY.md). The separate `metadata/SHA256SUMS-v0.2.txt` inventory records hashes for all 15 published scientific JSONL resources; historical v0.1 checksum records are retained unchanged.
 
75
 
76
 
77
 
78
+ # PathFACT v0.2
79
 
80
  ## Contents
81
 
 
86
  - [Data Dictionary and Provenance](#data-dictionary-and-provenance)
87
  - [G00 task records](#g00-task-records-tasksg00_tasksjsonl)
88
  - [G05 genuine Student–Teacher pairs](#genuine-studentteacher-pairs-g05)
89
+ - [G06 prompt/completion resources](#g06-promptcompletion-resources-six-files)
90
  - [G08/G09 evaluation resources](#g08g09-evaluation-resources-four-files)
91
  - [Derived graph resources](#derived-graph-resources)
92
  - [Counterfactual triples (354 rows)](#counterfactualcounterfactual_triplesjsonl-354-rows)
 
143
 
144
  Source attribution for examples: PathFACT Dataset v0.1, MinervaCYY/PathFACT, [fixed scientific revision `3d20d452e1efe21c80d55185f5176ca3fc5e4f9f`](https://huggingface.co/datasets/MinervaCYY/PathFACT/tree/3d20d452e1efe21c80d55185f5176ca3fc5e4f9f). Dataset excerpts are subject to the release's limited CC BY 4.0 scope and exclusions described in the [Dataset Licensing guide](https://github.com/MinervaCyy/PathFACT/blob/main/docs/DATASET_LICENSE.md). The repository's MIT licence applies to software, not automatically to dataset content.
145
 
146
+ The following legacy field descriptions cover the 13 scientific JSONL files first released in v0.1, checked against every local row on 2026-11-04 and the implementation in `src/pathfact/datasets/public.py`, `derived.py`, `historical_vsp.py`, and `graphs/canonical.py`. The two v0.2 Vanilla-SFT resources are described in the section at the end of this card.
147
 
148
  JSON types below are observed types; `null` means JSON null. All listed ordinary fields were present on every row unless an optionality note says otherwise. Node IDs are graph-map keys, not schema fields.
149
 
 
479
  prompt text. Interpret target text together with its validation fields and
480
  their stated limits.
481
 
482
+ ## G06 prompt/completion resources (six files)
483
 
484
+ The v0.1 release contains four Teacher-reasoning SFT files: Gold Train-200,
485
+ Contrastive Train-200, Gold LossVal-44, and Contrastive LossVal-44. The v0.2
486
+ release adds Vanilla-SFT Train-200 and LossVal-44, for six G06 files total.
487
+ Each record is one prompt paired with a target completion. The methods share
488
+ case IDs within each split, so they are paired views of the same tasks rather
489
+ than independent task samples.
490
+
491
+ | Method | Dataset identifier | Files | Supervision |
492
+ |---|---|---|---|
493
+ | Vanilla-SFT | Historical filename prefix `answer_only`; generated-record condition `vanilla` | `answer_only_train_200_prompt_completion_v1.jsonl`; `answer_only_loss_val_44_prompt_completion_v1.jsonl` | Final answer only, without a reasoning trace. |
494
+ | LIMO | `gold` | `gold_train_200_prompt_completion_v1.jsonl`; `gold_loss_val_44_prompt_completion_v1.jsonl` | Ordinary Teacher reasoning and verified answer. |
495
+ | ContrastiveLIMO | `contrastive` | `contrastive_train_200_prompt_completion_v1.jsonl`; `contrastive_loss_val_44_prompt_completion_v1.jsonl` | Failure-conditioned corrective Teacher reasoning and verified answer. |
496
+
497
+ Gold and Contrastive name data conditions, not the SFT methods. Vanilla-SFT,
498
+ LIMO, and ContrastiveLIMO are the method names.
499
 
500
  ### A. What Is a G06 Training Example?
501
 
502
  A G06 record gives a model a **prompt** and the **completion** it is trained to
503
  produce. The prompt is the input; the completion is the target text, formatted
504
+ with a reasoning block and a verified shortest-path answer in the four
505
+ Teacher-reasoning files; the two v0.2 Vanilla-SFT files contain only the final
506
+ answer. The dataset contains examples, not model weights, trained checkpoints,
507
+ or observed model performance.
508
 
509
  G06 records are linked to G05 by `production_case_id`. The task prompt comes
510
  from the task-only prompt source. The Gold completion uses the matched G05
 
539
 
540
  ### C. Field-by-Field Data Dictionary
541
 
542
+ Every row in the four v0.1 Teacher-reasoning files has the following six
543
+ fields. All are present and non-null in those records.
544
 
545
  | Original field | Human-readable display name | JSON type | Plain-English explanation | Research use and interpretation caveat |
546
  |---|---|---|---|---|
547
  | `production_case_id` | Case ID | string | Identifies the graph task paired with this example. | Join to the matching G05/G00 case and align Gold with Contrastive. A shared ID means the same task, not an independent example. |
548
+ | `condition` | Supervision condition | string | For these four files, either `gold` or `contrastive` names the target condition; the v0.2 Vanilla files use `vanilla`. | Distinguish the three SFT methods. It is not a split label; Train versus LossVal is identified by the file. |
549
  | `prompt` | Model input prompt | string | Frozen input text, including the graph/task request; Contrastive prompts also include the frozen incorrect Student reasoning trace and corrective instructions. | Feed this text as model input. Do not confuse the included Student reasoning in Contrastive with the Student's submitted final answer, or with the Teacher completion. |
550
  | `prompt_sha256` | Prompt text fingerprint | string (64-character hexadecimal SHA-256) | Hash of the exact UTF-8 prompt string. | Check that prompt bytes/text have not changed. A hash is an integrity check, not a model-quality measure. |
551
  | `completion` | Target completion | string | Frozen SFT target: Teacher reasoning text followed by the verified answer path. | Use as the target for supervised fine-tuning or loss calculation. It is a target, not an observed output from a model trained on G06. |
 
556
  - The two Train files each contain **200 cases**; their case-ID sets match.
557
  - The two LossVal files each contain **44 cases**; their case-ID sets match.
558
  - Train and LossVal are disjoint and together cover the 244 G05 parent cases.
559
+ - The v0.1 conditions use the same partition: a case is in Gold Train and
560
+ Contrastive Train, or in Gold LossVal and Contrastive LossVal. The two v0.2
561
+ Vanilla files use the corresponding same-split case IDs and ordering.
562
 
563
  LossVal-44 is held out from the Train-200 examples for loss validation during
564
  SFT work. It is not a held-out task-solving evaluation: its prompt is paired
 
1272
 
1273
  The two added G06 resources provide answer-only prompt/completion supervision for the same 200 Train and 44 LossVal cases represented by the frozen G06 Gold splits. Each target contains only the final shortest-path answer (`Answer: [node, ...]`) without a reasoning trace. Completion hashes are regenerated from the visible answer-only text. The public files are reconstructed from validated frozen G06 Gold supervision; the historical Stage C files remain unchanged. Historical answer-only supervision is supported by the available records, but no exact training-file SHA-256 is claimed for any historical model checkpoint.
1274
 
1275
+ The Hub configuration identifiers remain `g06_vanilla_train_200`, `g06_vanilla_loss_val_44`, `g06_gold_train_200`, `g06_gold_loss_val_44`, `g06_contrastive_train_200`, and `g06_contrastive_loss_val_44`; filenames and paths are unchanged. See [`DATA_DICTIONARY.md`](DATA_DICTIONARY.md) for all field definitions. `metadata/SHA256SUMS-v0.2.txt` inventories all 15 published scientific JSONL resources; historical v0.1 checksum records are retained unchanged.