Datasets:
Delete README.md with huggingface_hub
Browse files
README.md
DELETED
|
@@ -1,153 +0,0 @@
|
|
| 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 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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