skyzhou06 commited on
Commit
339d05b
·
verified ·
1 Parent(s): 0eb699d

v0.2 canonical: clean layout, data/{train,eval,high_quality}.parquet, natural-language reasoning

Browse files
README.md ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: LifeTextSingleTurnStreamingCoT
3
+ language:
4
+ - en
5
+ license: other
6
+ tags:
7
+ - streaming-cot
8
+ - chain-of-thought
9
+ - natural-language-reasoning
10
+ - single-turn
11
+ - text
12
+ - sft
13
+ version: v0.2
14
+ ---
15
+
16
+ # LifeTextSingleTurnStreamingCoT
17
+
18
+ **Version:** v0.2
19
+ **Modality:** text
20
+ **Turn type:** single_turn
21
+ **HF Repo:** [skyzhou06/LifeTextSingleTurnStreamingCoT](https://huggingface.co/datasets/skyzhou06/LifeTextSingleTurnStreamingCoT)
22
+
23
+ ## Dataset Overview
24
+
25
+ LifeTextSingleTurnStreamingCoT is a single-turn text dataset for streaming chain-of-thought (CoT) training. Each example simulates gradually revealed information — the model sees the input in chunks and must produce streaming reasoning that evolves as more context becomes available. The dataset is designed for supervised fine-tuning (SFT) of language models that need to reason step-by-step over incrementally disclosed user requests.
26
+
27
+ ## Intended Use
28
+
29
+ - Supervised fine-tuning of language models for streaming reasoning
30
+ - Training models to produce natural-language chain-of-thought over partial inputs
31
+ - Research on incremental understanding and progressive reasoning
32
+
33
+ ## Source Datasets and Licenses
34
+
35
+ | Source | Domain | Rows | License |
36
+ |--------|--------|------|---------|
37
+ | b-mc2/wikihow_lists | how_to_guidance | 622 | varies |
38
+ | pietrolesci/multiwoz_all_versions | task_oriented_assistant | 2,987 | varies |
39
+ | pixelsandpointers/better_daily_dialog | daily_dialogue | 3,713 | varies |
40
+ | pixelsandpointers/empathetic_dialogues_for_lm | emotional_support | 2,000 | varies |
41
+
42
+ This dataset inherits licenses from its upstream sources. Users are responsible for complying with source dataset terms.
43
+
44
+ ## Schema
45
+
46
+ Each row contains:
47
+
48
+ | Field | Type | Description |
49
+ |-------|------|-------------|
50
+ | `id` | string | Unique row identifier |
51
+ | `version` | string | Dataset version (`v0.2`) |
52
+ | `split` | string | `train` or `eval` |
53
+ | `modality` | string | `text` |
54
+ | `turn_type` | string | `single_turn` |
55
+ | `input` | object | Input fields (instruction, context, token count) |
56
+ | `output` | object | Target fields (deep_reasoning, answer) |
57
+ | `streaming` | object | Streaming reasoning and checkpoints |
58
+ | `taxonomy` | object | Category, subcategory, intent type |
59
+ | `quality` | object | Quality flags, score, high-quality marker |
60
+ | `metadata` | object | Source dataset, original version |
61
+
62
+ ### Input Fields
63
+
64
+ - `input.instruction`: Task instruction
65
+ - `input.context`: Full input context
66
+ - `input.input_token_count`: Approximate token count
67
+ - `input.length_bucket`: Length category
68
+
69
+ ### Output Fields (Recommended SFT Targets)
70
+
71
+ - `output.deep_reasoning`: **Natural-language deep reasoning** — summarizes the user goal, known constraints, missing information, and answer plan.
72
+ - `output.answer`: The final assistant response.
73
+
74
+ ### Streaming Fields
75
+
76
+ - `streaming.streaming_reasoning`: **Natural-language streaming reasoning** — describes how understanding evolves as each input chunk is revealed.
77
+ - `streaming.checkpoints`: Per-chunk checkpoints with individual reasoning.
78
+ - `streaming.trace`: Original slot-style trace (auxiliary, not recommended for training).
79
+
80
+ ### Legacy / Trace Fields
81
+
82
+ The original dataset (v0.4.1) used slot-style reasoning (e.g., `domain=restaurant; goal=search`). In v0.2, these have been converted to natural language. The original traces are preserved under:
83
+
84
+ - `streaming.trace`: Original slot-style streaming reasoning
85
+ - `output.deep_reasoning_trace`: Original slot-style deep reasoning
86
+
87
+ These trace fields are **not recommended** as SFT targets.
88
+
89
+ ## Recommended Fields for SFT
90
+
91
+ For supervised fine-tuning:
92
+
93
+ - **Input:** `input.context`
94
+ - **Streaming reasoning:** `streaming.streaming_reasoning` or `streaming.checkpoints[*].streaming_reasoning`
95
+ - **Deep reasoning:** `output.deep_reasoning`
96
+ - **Answer:** `output.answer`
97
+
98
+ ## Natural-Language Reasoning (v0.2)
99
+
100
+ v0.2 uses **natural-language reasoning** as the primary training target. All slot-style reasoning has been converted to flowing natural language.
101
+
102
+ ## Quality Filters
103
+
104
+ - `quality.is_high_quality`: Boolean, stricter quality checks
105
+ - `quality.quality_score`: Numeric score (0.0–1.0)
106
+ - `quality.quality_flags`: List of quality flags
107
+ - High-quality subsets: `high_quality_train.parquet`, `high_quality_eval.parquet`
108
+
109
+ ## Split Counts
110
+
111
+ | Split | Rows |
112
+ |-------|------|
113
+ | train | 7,457 |
114
+ | eval | 1,865 |
115
+ | high_quality_train | 2,570 |
116
+ | high_quality_eval | 634 |
117
+ | **Total** | **9,322** |
118
+
119
+ ## Category Distribution
120
+
121
+ | Category | Rows |
122
+ |----------|------|
123
+ | social_communication | 5,713 |
124
+ | daily_life | 2,987 |
125
+ | information_extraction | 622 |
126
+
127
+ ## Known Limitations
128
+
129
+ - Primarily rule-based. Reasoning quality varies with source data.
130
+ - The high-quality subset is recommended for serious SFT experiments.
131
+ - Some source datasets are dialogue-style and may not match ideal assistant behavior.
132
+ - Not intended for expert medical, legal, financial, or safety-critical advice.
133
+
134
+ ## How to Load
135
+
136
+ ```python
137
+ from datasets import load_dataset
138
+
139
+ dataset = load_dataset("skyzhou06/LifeTextSingleTurnStreamingCoT", split="train")
140
+ print(dataset[0])
141
+ ```
142
+
143
+ ## How to Map to SFT
144
+
145
+ ```python
146
+ def format_sft_sample(row):
147
+ return {
148
+ "messages": [
149
+ {"role": "user", "content": row["input"]["context"]},
150
+ {"role": "assistant", "content": row["output"]["deep_reasoning"] + "\n\n" + row["output"]["answer"]}
151
+ ]
152
+ }
153
+ ```
data/eval.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3945706b6817f157201baa0fab37e99921f88183f16f60c941565f17087ebb0d
3
+ size 2750452
data/high_quality.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:415bada04e038cb915aa15baaa20628a0ee835bf57bdd604897782913afd4801
3
+ size 4386121
data/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:776cbf3a3ba79ae1d6627de0f5f83be06f60274ab6e4fd20ac7fe8feb5fded13
3
+ size 10983685
reports/build_report.json ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "LifeTextSingleTurnStreamingCoT",
3
+ "version": "v0.2",
4
+ "modality": "text",
5
+ "turn_type": "single_turn",
6
+ "build_timestamp": "2026-06-06T22:01:31.021319",
7
+ "row_counts": {
8
+ "train": 7457,
9
+ "eval": 1865,
10
+ "high_quality_train": 2570,
11
+ "high_quality_eval": 634,
12
+ "high_quality_total": 3204,
13
+ "total": 9322
14
+ },
15
+ "reasoning_conversion": {
16
+ "slot_style_sr_before": 200,
17
+ "slot_style_dr_before": 62,
18
+ "slot_style_sr_after": 0,
19
+ "slot_style_dr_after": 0,
20
+ "natural_language_pass": true
21
+ },
22
+ "schema_changes": {
23
+ "fields_removed": [
24
+ "reasoning_token_budget",
25
+ "chunk_labels",
26
+ "skip_chunks",
27
+ "skip_reasons",
28
+ "chunk_split_count",
29
+ "original_num_chunks",
30
+ "generation_method",
31
+ "reasoning_policy",
32
+ "chunking_method",
33
+ "refinement_method",
34
+ "llm_augmented",
35
+ "llm_augmentation_model",
36
+ "state_tracking_confidence",
37
+ "rejected_reason"
38
+ ],
39
+ "fields_before_count": 40,
40
+ "fields_after_count": 23,
41
+ "fields_before": [
42
+ "answer",
43
+ "chunk_labels",
44
+ "chunk_split_count",
45
+ "chunking_method",
46
+ "context",
47
+ "context_chunks",
48
+ "deep_reasoning",
49
+ "domain",
50
+ "generation_method",
51
+ "id",
52
+ "input",
53
+ "instruction",
54
+ "is_high_quality",
55
+ "language",
56
+ "llm_augmentation_model",
57
+ "llm_augmented",
58
+ "messages",
59
+ "modality",
60
+ "num_chunks",
61
+ "original_num_chunks",
62
+ "output",
63
+ "quality",
64
+ "quality_flags",
65
+ "quality_score",
66
+ "reasoning_policy",
67
+ "reasoning_token_budget",
68
+ "refinement_method",
69
+ "rejected_reason",
70
+ "response",
71
+ "skip_chunks",
72
+ "skip_reasons",
73
+ "source_dataset",
74
+ "split",
75
+ "state_tracking_confidence",
76
+ "streaming",
77
+ "streaming_reasoning",
78
+ "taxonomy",
79
+ "text",
80
+ "turn_type",
81
+ "version"
82
+ ],
83
+ "fields_after": [
84
+ "answer",
85
+ "context",
86
+ "deep_reasoning",
87
+ "domain",
88
+ "id",
89
+ "input",
90
+ "instruction",
91
+ "is_high_quality",
92
+ "language",
93
+ "messages",
94
+ "metadata",
95
+ "modality",
96
+ "output",
97
+ "quality",
98
+ "quality_flags",
99
+ "quality_score",
100
+ "source_dataset",
101
+ "split",
102
+ "streaming",
103
+ "streaming_reasoning",
104
+ "taxonomy",
105
+ "turn_type",
106
+ "version"
107
+ ]
108
+ },
109
+ "source_distribution": {
110
+ "pixelsandpointers/better_daily_dialog": 3713,
111
+ "pietrolesci/multiwoz_all_versions": 2987,
112
+ "pixelsandpointers/empathetic_dialogues_for_lm": 2000,
113
+ "b-mc2/wikihow_lists": 622
114
+ },
115
+ "hq_before_vs_after": {
116
+ "before": 3204,
117
+ "after": 3204
118
+ }
119
+ }
reports/inspect_report.json ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "LifeTextSingleTurnStreamingCoT",
3
+ "version": "v0.2",
4
+ "modality": "text",
5
+ "turn_type": "single_turn",
6
+ "inspect_timestamp": "2026-06-06T22:09:59.314820",
7
+ "checks": {
8
+ "data_load": {
9
+ "status": "PASS",
10
+ "train_rows": 7457,
11
+ "eval_rows": 1865,
12
+ "total_rows": 9322
13
+ },
14
+ "required_fields": {
15
+ "status": "PASS",
16
+ "missing": [],
17
+ "total_fields": 23,
18
+ "all_fields": [
19
+ "answer",
20
+ "context",
21
+ "deep_reasoning",
22
+ "domain",
23
+ "id",
24
+ "input",
25
+ "instruction",
26
+ "is_high_quality",
27
+ "language",
28
+ "messages",
29
+ "metadata",
30
+ "modality",
31
+ "output",
32
+ "quality",
33
+ "quality_flags",
34
+ "quality_score",
35
+ "source_dataset",
36
+ "split",
37
+ "streaming",
38
+ "streaming_reasoning",
39
+ "taxonomy",
40
+ "turn_type",
41
+ "version"
42
+ ]
43
+ },
44
+ "forbidden_fields": {
45
+ "status": "PASS",
46
+ "forbidden_found": []
47
+ },
48
+ "answer_nonempty": {
49
+ "status": "PASS",
50
+ "train_nonempty": 7457,
51
+ "train_empty": 0,
52
+ "eval_nonempty": 1865,
53
+ "eval_empty": 0
54
+ },
55
+ "natural_language_reasoning": {
56
+ "status": "PASS",
57
+ "streaming_slot_style_count": 0,
58
+ "deep_slot_style_count": 0,
59
+ "sample_size": 500,
60
+ "streaming_pass": true,
61
+ "deep_pass": true
62
+ },
63
+ "sft_readiness": {
64
+ "status": "PASS",
65
+ "has_input_field": true,
66
+ "has_output_field": true,
67
+ "has_deep_reasoning_in_output": true
68
+ },
69
+ "quality_fields": {
70
+ "status": "PASS",
71
+ "has_is_high_quality": true,
72
+ "has_quality_score": true
73
+ },
74
+ "source_license": {
75
+ "status": "PASS",
76
+ "has_source": true,
77
+ "has_license": true
78
+ },
79
+ "taxonomy": {
80
+ "status": "PASS",
81
+ "has_taxonomy_field": true,
82
+ "category_nonempty_pct": 100
83
+ },
84
+ "splits": {
85
+ "train_split_distribution": {
86
+ "train": 7457
87
+ },
88
+ "eval_split_distribution": {
89
+ "eval": 1865
90
+ }
91
+ },
92
+ "high_quality": {
93
+ "has_high_quality_split": true,
94
+ "high_quality_rows": 3204
95
+ }
96
+ },
97
+ "publishability_status": "PASS",
98
+ "publishability_limitations": []
99
+ }