skyzhou06 commited on
Commit
5423576
·
verified ·
1 Parent(s): f0774cc

Release v0.3 safety and grounding quality dataset

Browse files
Files changed (4) hide show
  1. README.md +68 -14
  2. dataset_info.json +123 -50
  3. eval.jsonl +2 -2
  4. train.jsonl +2 -2
README.md CHANGED
@@ -3,7 +3,7 @@ pretty_name: LifeMultiTurnStreamingCoT
3
  language:
4
  - en
5
  license: apache-2.0
6
- version: "v0.1"
7
  task_categories:
8
  - text-generation
9
  tags:
@@ -22,24 +22,30 @@ configs:
22
  ---
23
  # LifeMultiTurnStreamingCoT
24
 
 
 
25
  LifeMultiTurnStreamingCoT is a text-to-text multi-turn life-domain dataset. Each row uses previous user-assistant dialogue turns as input, deterministic turn-level streaming state tracking as intermediate supervision, a compact final-state-based deep reasoning summary, and the next assistant turn as the answer.
26
 
27
- This version adds real task-oriented multi-turn dialogue data from MultiWOZ 2.2 and Taskmaster, alongside the existing DailyDialog source. The quality pipeline was upgraded with source-aware metadata, real-data checks, multi-turn validation, placeholder filtering, length checks, role-alternation checks, and task-oriented reasoning templates for slot/constraint tracking.
28
 
29
  ## Current Demo/Build Statistics
30
 
31
- - Version: v0.1
32
  - Total rows: 30000
33
- - Train rows: 24215
34
- - Eval rows: 5785
35
- - High-quality train rows: 20653
36
- - High-quality eval rows: 4899
37
- - Average input turns: 9.706
38
- - Average streaming chunks: 9.706
39
  - Source distribution: {"DailyDialog": 10000, "MultiWOZ": 10000, "Taskmaster": 10000}
40
- - Domain category distribution: {"customer_service": 204, "education_career": 2287, "finance_business": 180, "food_dining": 1263, "general_daily_life": 2879, "health_wellness": 220, "home_services": 227, "hospitality_lodging": 404, "personal_schedule": 683, "shopping_retail": 530, "social_relationship": 1986, "technology_support": 195, "travel_transportation": 18942}
41
- - Intent category distribution: {"booking_or_reservation": 15759, "confirmation_clarification": 2710, "customer_support": 1241, "emotional_support": 232, "information_request": 6236, "instruction_following": 26, "negotiation_decision": 139, "planning_coordination": 1461, "problem_solving": 445, "recommendation": 739, "small_talk": 1012}
42
- - Scenario category distribution: {"attraction_search": 455, "banking_support": 212, "customer_complaint": 218, "family_conversation": 603, "flight_booking": 9926, "food_ordering": 18, "friend_conversation": 459, "general_conversation": 3288, "home_repair": 97, "hotel_booking": 1557, "hotel_search": 184, "insurance_support": 95, "job_interview": 104, "medical_assistance": 290, "movie_ticketing": 218, "music_search": 141, "restaurant_booking": 1890, "restaurant_search": 819, "schedule_planning": 642, "school_life": 854, "shopping_assistance": 395, "taxi_booking": 1106, "technical_support": 460, "train_booking": 4317, "travel_planning": 252, "workplace_conversation": 1400}
 
 
 
 
43
  - Unknown/other taxonomy ratio: 0.0
44
  - Category distribution: {"daily_dialogue": 10000, "task_oriented_dialogue": 20000}
45
 
@@ -53,6 +59,30 @@ This version adds real task-oriented multi-turn dialogue data from MultiWOZ 2.2
53
 
54
  Rows contain `id`, `source_dataset`, `source_id`, `dialogue_id`, `domain`, `task_type`, `dialogue_history`, `streaming_chunks`, `deep_reasoning`, `answer`, `metadata`, `quality_flags`, `quality_score`, `is_high_quality`, and `split`. The final schema remains unified across sources; source-specific details such as source, category, domain/services, scenario, original split, and raw file are kept in `metadata`.
55
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  ## Category Taxonomy
57
 
58
  Each sample includes a coarse `metadata.category` and three additional taxonomy fields:
@@ -63,15 +93,39 @@ Each sample includes a coarse `metadata.category` and three additional taxonomy
63
 
64
  The taxonomy is deterministic and source-aware. MultiWOZ uses domain/service annotations, Taskmaster uses scenario/file metadata when available, and DailyDialog uses lightweight keyword and dialogue-pattern rules.
65
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  ## Reasoning
67
 
68
  Streaming reasoning is generated by deterministic rule-based state tracking over turn-level chunks. DailyDialog rows focus on daily intent, tone, and continuity. MultiWOZ and Taskmaster rows use task-oriented templates for goal, known constraints, missing information, scenario/domain, and next-step policy. Deep reasoning is a compact global summary from the final tracked state, dialogue history, and target answer. The answer is not rewritten by default; it comes from the original next assistant turn.
69
 
70
  ## Quality Filtering
71
 
72
- The quality checks are category-aware. Long task-oriented conversations are no longer penalized in the same way as short daily dialogues. Some heuristic checks, including weak final state and premature response detection, are kept as diagnostic warnings rather than hard filters.
73
 
74
- `quality_flags` and `metadata.quality_checks` support filtering by real-source status, multi-turn context, non-empty reasoning, placeholder detection, category-aware length checks, malformed-row checks, repetition checks, and role alternation. Raw external data is not committed to git; processed train/eval files are intended for upload to `skyzhou06/LifeMultiTurnStreamingCoT`.
75
 
76
  ## Leakage Control
77
 
 
3
  language:
4
  - en
5
  license: apache-2.0
6
+ version: "v0.3"
7
  task_categories:
8
  - text-generation
9
  tags:
 
22
  ---
23
  # LifeMultiTurnStreamingCoT
24
 
25
+ Version: v0.3 — Safety and Grounding Quality Release
26
+
27
  LifeMultiTurnStreamingCoT is a text-to-text multi-turn life-domain dataset. Each row uses previous user-assistant dialogue turns as input, deterministic turn-level streaming state tracking as intermediate supervision, a compact final-state-based deep reasoning summary, and the next assistant turn as the answer.
28
 
29
+ This v0.3 release keeps the real DailyDialog, MultiWOZ 2.2, and Taskmaster sources while improving training suitability through safety filtering, grounded slot sanity checks, target-answer usefulness checks, taxonomy confidence/evidence, and quality tiers.
30
 
31
  ## Current Demo/Build Statistics
32
 
33
+ - Version: v0.3 — Safety and Grounding Quality Release
34
  - Total rows: 30000
35
+ - Train rows: 24211
36
+ - Eval rows: 5789
37
+ - High-quality train rows: 8167
38
+ - High-quality eval rows: 1845
39
+ - Average input turns: 9.705
40
+ - Average streaming chunks: 9.705
41
  - Source distribution: {"DailyDialog": 10000, "MultiWOZ": 10000, "Taskmaster": 10000}
42
+ - Domain category distribution: {"customer_service": 204, "education_career": 2288, "finance_business": 180, "food_dining": 1262, "general_daily_life": 2881, "health_wellness": 221, "home_services": 226, "hospitality_lodging": 404, "personal_schedule": 688, "shopping_retail": 527, "social_relationship": 1984, "technology_support": 193, "travel_transportation": 18942}
43
+ - Intent category distribution: {"booking_or_reservation": 15758, "confirmation_clarification": 2710, "customer_support": 1241, "emotional_support": 232, "information_request": 6242, "instruction_following": 26, "negotiation_decision": 139, "planning_coordination": 1460, "problem_solving": 440, "recommendation": 739, "small_talk": 1013}
44
+ - Scenario category distribution: {"attraction_search": 455, "banking_support": 210, "customer_complaint": 218, "family_conversation": 600, "flight_booking": 9926, "food_ordering": 18, "friend_conversation": 456, "general_conversation": 3288, "home_repair": 101, "hotel_booking": 1557, "hotel_search": 184, "insurance_support": 95, "job_interview": 104, "medical_assistance": 291, "movie_ticketing": 218, "music_search": 141, "restaurant_booking": 1890, "restaurant_search": 819, "schedule_planning": 646, "school_life": 853, "shopping_assistance": 393, "taxi_booking": 1109, "technical_support": 453, "train_booking": 4317, "travel_planning": 253, "workplace_conversation": 1405}
45
+ - Taxonomy confidence distribution: {"high": 20850, "medium": 9150}
46
+ - Quality tier distribution: {"bronze": 2829, "drop": 17159, "gold": 6921, "silver": 3091}
47
+ - Safety category distribution: {"safe": 28743, "sensitive": 1257}
48
+ - Target answer quality distribution: {"drop": 3848, "strong": 15196, "usable": 6828, "weak": 4128}
49
  - Unknown/other taxonomy ratio: 0.0
50
  - Category distribution: {"daily_dialogue": 10000, "task_oriented_dialogue": 20000}
51
 
 
59
 
60
  Rows contain `id`, `source_dataset`, `source_id`, `dialogue_id`, `domain`, `task_type`, `dialogue_history`, `streaming_chunks`, `deep_reasoning`, `answer`, `metadata`, `quality_flags`, `quality_score`, `is_high_quality`, and `split`. The final schema remains unified across sources; source-specific details such as source, category, domain/services, scenario, original split, and raw file are kept in `metadata`.
61
 
62
+ ## Version History
63
+
64
+ ### v0.3 — Safety and Grounding Quality Release
65
+
66
+ - Added safety/content filtering for training suitability.
67
+ - Added grounded slot extraction checks.
68
+ - Added target answer usefulness checks.
69
+ - Added taxonomy confidence and evidence fields.
70
+ - Added quality tiers: gold, silver, bronze, and drop.
71
+ - Updated `is_high_quality` to use quality tiers.
72
+ - Removed or downgraded unsafe, ungrounded, malformed, or low-usefulness samples.
73
+
74
+ ### v0.2 — Taxonomy-Aware Quality Release
75
+
76
+ - Added `domain_category`, `intent_category`, and `scenario_category`.
77
+ - Added deterministic source-aware taxonomy rules.
78
+ - Improved category-aware quality thresholds.
79
+ - Reduced false penalties for long task-oriented dialogues.
80
+
81
+ ### v0.1 — Initial Real-Source Release
82
+
83
+ - Added real DailyDialog, MultiWOZ 2.2, and Taskmaster data.
84
+ - Built a balanced multi-source dataset with rule-based streaming/deep reasoning.
85
+
86
  ## Category Taxonomy
87
 
88
  Each sample includes a coarse `metadata.category` and three additional taxonomy fields:
 
93
 
94
  The taxonomy is deterministic and source-aware. MultiWOZ uses domain/service annotations, Taskmaster uses scenario/file metadata when available, and DailyDialog uses lightweight keyword and dialogue-pattern rules.
95
 
96
+ ## v0.3 Quality Metadata
97
+
98
+ Each row includes additional metadata fields:
99
+
100
+ - `metadata.safety_category`
101
+ - `metadata.safety_flags`
102
+ - `metadata.is_safe_for_training`
103
+ - `metadata.grounding_flags`
104
+ - `metadata.slot_grounding_score`
105
+ - `metadata.has_grounding_issue`
106
+ - `metadata.target_answer_flags`
107
+ - `metadata.target_answer_quality`
108
+ - `metadata.taxonomy_confidence`
109
+ - `metadata.taxonomy_evidence`
110
+ - `metadata.quality_tier`
111
+
112
+ Recommended default training filter:
113
+
114
+ ```python
115
+ row["is_high_quality"] is True
116
+ and row["metadata"]["is_safe_for_training"] is True
117
+ and row["metadata"]["quality_tier"] in ["gold", "silver"]
118
+ ```
119
+
120
  ## Reasoning
121
 
122
  Streaming reasoning is generated by deterministic rule-based state tracking over turn-level chunks. DailyDialog rows focus on daily intent, tone, and continuity. MultiWOZ and Taskmaster rows use task-oriented templates for goal, known constraints, missing information, scenario/domain, and next-step policy. Deep reasoning is a compact global summary from the final tracked state, dialogue history, and target answer. The answer is not rewritten by default; it comes from the original next assistant turn.
123
 
124
  ## Quality Filtering
125
 
126
+ The quality checks are category-aware and now include safety, grounding, target usefulness, and tiering. Long task-oriented conversations are no longer penalized in the same way as short daily dialogues. Some heuristic checks, including weak final state and premature response detection, are kept as diagnostic warnings rather than hard filters.
127
 
128
+ `quality_flags` and `metadata.quality_checks` support filtering by real-source status, multi-turn context, non-empty reasoning, placeholder detection, category-aware length checks, malformed-row checks, repetition checks, grounding checks, safety checks, target-answer checks, and role alternation. Raw external data is not committed to git; processed train/eval files are intended for upload to `skyzhou06/LifeMultiTurnStreamingCoT`.
129
 
130
  ## Leakage Control
131
 
dataset_info.json CHANGED
@@ -1,6 +1,26 @@
1
  {
2
- "avg_num_chunks": 9.706,
3
- "avg_num_turns": 9.706,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  "category_distribution": {
5
  "daily_dialogue": 10000,
6
  "task_oriented_dialogue": 20000
@@ -8,101 +28,154 @@
8
  "dataset_name": "LifeMultiTurnStreamingCoT",
9
  "domain_category_distribution": {
10
  "customer_service": 204,
11
- "education_career": 2287,
12
  "finance_business": 180,
13
- "food_dining": 1263,
14
- "general_daily_life": 2879,
15
- "health_wellness": 220,
16
- "home_services": 227,
17
  "hospitality_lodging": 404,
18
- "personal_schedule": 683,
19
- "shopping_retail": 530,
20
- "social_relationship": 1986,
21
- "technology_support": 195,
22
  "travel_transportation": 18942
23
  },
24
  "domain_distribution": {
25
- "cooking": 1027,
26
- "customer_service": 192,
27
- "daily_advice": 726,
28
  "emotional_support": 131,
29
- "fitness": 226,
30
  "health_routine": 221,
31
- "home": 535,
32
  "other_life": 2584,
33
  "personal_finance": 135,
34
- "schedule": 2908,
35
- "shopping": 1321,
36
- "social_planning": 409,
37
- "study": 1053,
38
- "travel": 18532
 
 
 
 
 
 
 
39
  },
40
- "eval_rows": 5785,
41
- "high_quality_eval_rows": 4899,
42
- "high_quality_percentage": 0.8517,
43
- "high_quality_rows": 25552,
44
- "high_quality_train_rows": 20653,
45
  "intent_category_distribution": {
46
- "booking_or_reservation": 15759,
47
  "confirmation_clarification": 2710,
48
  "customer_support": 1241,
49
  "emotional_support": 232,
50
- "information_request": 6236,
51
  "instruction_following": 26,
52
  "negotiation_decision": 139,
53
- "planning_coordination": 1461,
54
- "problem_solving": 445,
55
  "recommendation": 739,
56
- "small_talk": 1012
57
  },
58
  "quality_flag_distribution": {
59
- "answer_not_grounded": 1292,
60
  "deep_reasoning_too_long": 1,
61
  "excessive_repetition": 442,
62
- "generic_answer": 333,
63
- "premature_respond": 4690,
 
 
 
 
 
 
 
 
 
64
  "repeated_turns": 442,
 
 
65
  "target_leakage": 176,
66
  "too_many_turns": 262,
 
67
  "too_short_average_turn": 8,
68
- "weak_final_state": 8627,
69
- "weak_target_answer": 2756
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  },
71
  "scenario_category_distribution": {
72
  "attraction_search": 455,
73
- "banking_support": 212,
74
  "customer_complaint": 218,
75
- "family_conversation": 603,
76
  "flight_booking": 9926,
77
  "food_ordering": 18,
78
- "friend_conversation": 459,
79
  "general_conversation": 3288,
80
- "home_repair": 97,
81
  "hotel_booking": 1557,
82
  "hotel_search": 184,
83
  "insurance_support": 95,
84
  "job_interview": 104,
85
- "medical_assistance": 290,
86
  "movie_ticketing": 218,
87
  "music_search": 141,
88
  "restaurant_booking": 1890,
89
  "restaurant_search": 819,
90
- "schedule_planning": 642,
91
- "school_life": 854,
92
- "shopping_assistance": 395,
93
- "taxi_booking": 1106,
94
- "technical_support": 460,
95
  "train_booking": 4317,
96
- "travel_planning": 252,
97
- "workplace_conversation": 1400
98
  },
99
  "source_distribution": {
100
  "DailyDialog": 10000,
101
  "MultiWOZ": 10000,
102
  "Taskmaster": 10000
103
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  "total_rows": 30000,
105
- "train_rows": 24215,
106
  "unknown_other_ratio": 0.0,
107
- "version": "v0.1"
 
108
  }
 
1
  {
2
+ "avg_num_chunks": 9.705,
3
+ "avg_num_turns": 9.705,
4
+ "build_stats": {
5
+ "candidate_rows_before_limit": 215796,
6
+ "cleaned_dialogues": 40201,
7
+ "constructed_samples": 216519,
8
+ "filtered_dialogues": 77,
9
+ "raw_dialogues": 40278,
10
+ "released_rows": 30000,
11
+ "safety_filtered_reason_distribution": {
12
+ "dangerous_activity": 89,
13
+ "explicit_criminal_instruction": 340,
14
+ "financial_context": 8,
15
+ "illegal_drug_sale_or_purchase": 5,
16
+ "medical_or_health_context": 23,
17
+ "mild_violence_or_conflict_context": 27,
18
+ "self_harm_or_suicide": 3,
19
+ "sexual_or_adult_content": 7,
20
+ "weapons_or_violent_threat": 279
21
+ },
22
+ "safety_filtered_rows": 723
23
+ },
24
  "category_distribution": {
25
  "daily_dialogue": 10000,
26
  "task_oriented_dialogue": 20000
 
28
  "dataset_name": "LifeMultiTurnStreamingCoT",
29
  "domain_category_distribution": {
30
  "customer_service": 204,
31
+ "education_career": 2288,
32
  "finance_business": 180,
33
+ "food_dining": 1262,
34
+ "general_daily_life": 2881,
35
+ "health_wellness": 221,
36
+ "home_services": 226,
37
  "hospitality_lodging": 404,
38
+ "personal_schedule": 688,
39
+ "shopping_retail": 527,
40
+ "social_relationship": 1984,
41
+ "technology_support": 193,
42
  "travel_transportation": 18942
43
  },
44
  "domain_distribution": {
45
+ "cooking": 1026,
46
+ "customer_service": 195,
47
+ "daily_advice": 722,
48
  "emotional_support": 131,
49
+ "fitness": 229,
50
  "health_routine": 221,
51
+ "home": 538,
52
  "other_life": 2584,
53
  "personal_finance": 135,
54
+ "schedule": 2902,
55
+ "shopping": 1317,
56
+ "social_planning": 412,
57
+ "study": 1058,
58
+ "travel": 18530
59
+ },
60
+ "eval_rows": 5789,
61
+ "grounding_flag_distribution": {
62
+ "generic_number_misread_as_budget": 14672,
63
+ "percent_misread_as_budget": 8,
64
+ "suspicious_numeric_slot": 14679,
65
+ "weak_slot_evidence": 1625
66
  },
67
+ "high_quality_eval_rows": 1845,
68
+ "high_quality_percentage": 0.3337,
69
+ "high_quality_rows": 10012,
70
+ "high_quality_train_rows": 8167,
 
71
  "intent_category_distribution": {
72
+ "booking_or_reservation": 15758,
73
  "confirmation_clarification": 2710,
74
  "customer_support": 1241,
75
  "emotional_support": 232,
76
+ "information_request": 6242,
77
  "instruction_following": 26,
78
  "negotiation_decision": 139,
79
+ "planning_coordination": 1460,
80
+ "problem_solving": 440,
81
  "recommendation": 739,
82
+ "small_talk": 1013
83
  },
84
  "quality_flag_distribution": {
85
+ "answer_not_grounded": 1642,
86
  "deep_reasoning_too_long": 1,
87
  "excessive_repetition": 442,
88
+ "financial_context": 624,
89
+ "fragment_answer": 2611,
90
+ "generic_answer": 359,
91
+ "generic_number_misread_as_budget": 14672,
92
+ "grounding_issue": 14679,
93
+ "low_information_answer": 5011,
94
+ "medical_or_health_context": 327,
95
+ "mild_violence_or_conflict_context": 307,
96
+ "off_topic_answer": 534,
97
+ "percent_misread_as_budget": 8,
98
+ "premature_respond": 4693,
99
  "repeated_turns": 442,
100
+ "sensitive_content": 1257,
101
+ "suspicious_numeric_slot": 14679,
102
  "target_leakage": 176,
103
  "too_many_turns": 262,
104
+ "too_short_answer": 2759,
105
  "too_short_average_turn": 8,
106
+ "weak_final_state": 22334,
107
+ "weak_slot_evidence": 1625,
108
+ "weak_target_answer": 2759
109
+ },
110
+ "quality_tier_distribution": {
111
+ "bronze": 2829,
112
+ "drop": 17159,
113
+ "gold": 6921,
114
+ "silver": 3091
115
+ },
116
+ "safety_category_distribution": {
117
+ "safe": 28743,
118
+ "sensitive": 1257
119
+ },
120
+ "safety_flag_distribution": {
121
+ "financial_context": 624,
122
+ "medical_or_health_context": 327,
123
+ "mild_violence_or_conflict_context": 307
124
  },
125
  "scenario_category_distribution": {
126
  "attraction_search": 455,
127
+ "banking_support": 210,
128
  "customer_complaint": 218,
129
+ "family_conversation": 600,
130
  "flight_booking": 9926,
131
  "food_ordering": 18,
132
+ "friend_conversation": 456,
133
  "general_conversation": 3288,
134
+ "home_repair": 101,
135
  "hotel_booking": 1557,
136
  "hotel_search": 184,
137
  "insurance_support": 95,
138
  "job_interview": 104,
139
+ "medical_assistance": 291,
140
  "movie_ticketing": 218,
141
  "music_search": 141,
142
  "restaurant_booking": 1890,
143
  "restaurant_search": 819,
144
+ "schedule_planning": 646,
145
+ "school_life": 853,
146
+ "shopping_assistance": 393,
147
+ "taxi_booking": 1109,
148
+ "technical_support": 453,
149
  "train_booking": 4317,
150
+ "travel_planning": 253,
151
+ "workplace_conversation": 1405
152
  },
153
  "source_distribution": {
154
  "DailyDialog": 10000,
155
  "MultiWOZ": 10000,
156
  "Taskmaster": 10000
157
  },
158
+ "target_answer_flag_distribution": {
159
+ "answer_not_grounded": 1611,
160
+ "fragment_answer": 2611,
161
+ "generic_answer": 350,
162
+ "low_information_answer": 5011,
163
+ "off_topic_answer": 534,
164
+ "too_short_answer": 2759
165
+ },
166
+ "target_answer_quality_distribution": {
167
+ "drop": 3848,
168
+ "strong": 15196,
169
+ "usable": 6828,
170
+ "weak": 4128
171
+ },
172
+ "taxonomy_confidence_distribution": {
173
+ "high": 20850,
174
+ "medium": 9150
175
+ },
176
  "total_rows": 30000,
177
+ "train_rows": 24211,
178
  "unknown_other_ratio": 0.0,
179
+ "version": "v0.3",
180
+ "version_label": "v0.3 — Safety and Grounding Quality Release"
181
  }
eval.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dcdd49b0e1a177ea2f5d321c3eb358a6ca7cedb178c18a53119a7f8f0e1328b3
3
- size 82708681
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d72ae3fdaf48eab7f3776f9062d601cb835db334ff56bd4bfff195c7e34c4ee
3
+ size 86682090
train.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ec644e4690c4aa89f309dc77f80920c895b907237bb049691a6b76d5f3c4b0ab
3
- size 348843497
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5315c5db299e46157cc21429bdc53b33a9b801e2e39380c75443a565d47e5d49
3
+ size 365469434