skyzhou06 commited on
Commit
6cec614
·
verified ·
1 Parent(s): d95d515

Delete README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +0 -154
README.md DELETED
@@ -1,154 +0,0 @@
1
- ---
2
- pretty_name: LifeTextMultiTurnStreamingCoT
3
- language:
4
- - en
5
- license: other
6
- tags:
7
- - streaming-cot
8
- - chain-of-thought
9
- - natural-language-reasoning
10
- - multi-turn
11
- - dialogue
12
- - text
13
- - sft
14
- version: v0.2
15
- ---
16
-
17
- # LifeTextMultiTurnStreamingCoT
18
-
19
- **Version:** v0.2
20
- **Modality:** text
21
- **Turn type:** multi_turn
22
- **HF Repo:** [skyzhou06/LifeTextMultiTurnStreamingCoT](https://huggingface.co/datasets/skyzhou06/LifeTextMultiTurnStreamingCoT)
23
-
24
- ## Dataset Overview
25
-
26
- LifeTextMultiTurnStreamingCoT is a multi-turn text dataset for streaming chain-of-thought (CoT) training. Each example contains a dialogue history where the model produces turn-by-turn streaming reasoning that evolves as the conversation progresses, plus a final deep reasoning summary and answer that responds to the latest user request.
27
-
28
- ## Intended Use
29
-
30
- - Supervised fine-tuning of language models for multi-turn streaming reasoning
31
- - Training models to track dialogue state and user intent across turns
32
- - Research on incremental dialogue understanding
33
-
34
- ## Source Datasets and Licenses
35
-
36
- | Source | Rows | License |
37
- |--------|------|---------|
38
- | DailyDialog | 3,334 | varies |
39
- | MultiWOZ | 3,333 | varies |
40
- | Taskmaster | 3,333 | varies |
41
-
42
- This dataset inherits licenses from its upstream sources.
43
-
44
- ## Schema
45
-
46
- | Field | Type | Description |
47
- |-------|------|-------------|
48
- | `id` | string | Unique row identifier |
49
- | `version` | string | Dataset version (`v0.2`) |
50
- | `split` | string | `train` or `eval` |
51
- | `modality` | string | `text` |
52
- | `turn_type` | string | `multi_turn` |
53
- | `input` | object | Dialogue, transcript, token count |
54
- | `output` | object | Deep reasoning, answer |
55
- | `streaming` | object | Turn-level checkpoints and streaming reasoning |
56
- | `taxonomy` | object | Category, subcategory |
57
- | `quality` | object | Quality flags, score, multi-turn quality |
58
- | `metadata` | object | Source info, construction metadata |
59
-
60
- ### Input Fields
61
-
62
- - `input.dialogue`: List of dialogue turns with speaker, text, turn_id
63
- - `input.num_turns`: Number of dialogue turns
64
- - `input.context_transcript`: Formatted dialogue transcript
65
- - `input.input_token_count`: Approximate token count
66
-
67
- ### Output Fields (Recommended SFT Targets)
68
-
69
- - `output.deep_reasoning`: **Natural-language deep reasoning** — final dialogue context, latest user need, relevant previous context, and answer plan.
70
- - `output.answer`: The assistant response to the latest user request.
71
-
72
- ### Streaming Fields
73
-
74
- - `streaming.turn_checkpoints`: Per-turn checkpoints with `streaming_reasoning` in natural language.
75
- - `streaming.num_checkpoints`: Number of turn checkpoints.
76
- - `streaming.trace`: Original slot-style trace (auxiliary).
77
-
78
- ### Legacy / Trace Fields
79
-
80
- The original v0.4 dataset used per-turn state deltas with slot tracking. In v0.2, these have been converted to natural language and the original traces are preserved under:
81
-
82
- - `streaming.trace`: Original turn-level state tracking
83
- - `output.deep_reasoning_trace`: Original deep reasoning trace
84
-
85
- These are **not recommended** as SFT targets.
86
-
87
- ## Recommended Fields for SFT
88
-
89
- - **Input:** `input.dialogue` or `input.context_transcript`
90
- - **Streaming reasoning:** `streaming.turn_checkpoints[*].streaming_reasoning`
91
- - **Deep reasoning:** `output.deep_reasoning`
92
- - **Answer:** `output.answer`
93
-
94
- ## Natural-Language Reasoning (v0.2)
95
-
96
- v0.2 converts per-turn slot-state traces into natural-language streaming reasoning that describes how the dialogue state evolves without exposing internal slot mechanics.
97
-
98
- ## Quality Filters
99
-
100
- - `quality.is_high_quality`: Boolean
101
- - `quality.quality_score`: Numeric score (0.0–1.0)
102
- - `quality.quality_flags`: List of quality flags
103
- - `quality.multi_turn_quality`: `high` or `standard`
104
- - High-quality subsets: `high_quality_train.parquet`, `high_quality_eval.parquet`
105
-
106
- ## Split Counts
107
-
108
- | Split | Rows |
109
- |-------|------|
110
- | train | 7,955 |
111
- | eval | 2,045 |
112
- | high_quality_train | ~4,690 |
113
- | high_quality_eval | ~1,233 |
114
- | **Total** | **10,000** |
115
-
116
- ## Category Distribution
117
-
118
- | Category | Rows |
119
- |----------|------|
120
- | travel | 6,511 |
121
- | daily_life | 1,644 |
122
- | education | 730 |
123
- | social_communication | 539 |
124
- | finance_consumer | 332 |
125
- | tech_support | 138 |
126
- | health_wellness_safe | 106 |
127
-
128
- ## Known Limitations
129
-
130
- - Primarily rule-based reasoning generation.
131
- - Some dialogue turns may contain safety-sensitive content flagged in quality.
132
- - The dataset inherits upstream source licenses.
133
-
134
- ## How to Load
135
-
136
- ```python
137
- from datasets import load_dataset
138
-
139
- dataset = load_dataset("skyzhou06/LifeTextMultiTurnStreamingCoT", split="train")
140
- print(dataset[0])
141
- ```
142
-
143
- ## How to Map to SFT
144
-
145
- ```python
146
- def format_sft_sample(row):
147
- dialogue_text = row["input"]["context_transcript"]
148
- return {
149
- "messages": [
150
- {"role": "user", "content": dialogue_text},
151
- {"role": "assistant", "content": row["output"]["deep_reasoning"] + "\n\n" + row["output"]["answer"]}
152
- ]
153
- }
154
- ```