Update README.md
Browse files
README.md
CHANGED
@@ -41,3 +41,128 @@ configs:
|
|
41 |
- split: train
|
42 |
path: data/train-*
|
43 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
- split: train
|
42 |
path: data/train-*
|
43 |
---
|
44 |
+
|
45 |
+
## Taskmaster-1 Enriched Dialog Dataset (Combined)
|
46 |
+
## Overview
|
47 |
+
|
48 |
+
This dataset is a combined, enriched version of the self_dialog and woz_dialog splits from the Taskmaster-1 dataset. It consists of multi-turn, human-human and human-simulated conversations with systematic enhancements for machine learning workflows—especially dialog modeling, generation, and fine-grained evaluation.
|
49 |
+
|
50 |
+
All conversations are structured in a JSON format with consistent schema and include added semantic, linguistic, and behavioral annotations.
|
51 |
+
|
52 |
+
## Enrichments Included
|
53 |
+
1. Role Embedding
|
54 |
+
|
55 |
+
Each turn includes a binary role embedding:
|
56 |
+
|
57 |
+
[1, 0] for USER
|
58 |
+
|
59 |
+
[0, 1] for ASSISTANT
|
60 |
+
|
61 |
+
This makes it easier for sequence models to learn speaker turns without relying on string labels.
|
62 |
+
|
63 |
+
Use case: Improves model performance in transformer-based dialog agents by allowing role-aware generation and classification.
|
64 |
+
|
65 |
+
|
66 |
+
2. Response Candidates
|
67 |
+
|
68 |
+
Each user turn is enriched with nb_response_candidates — 2 to 4 plausible assistant responses sampled from the dataset. These are not ground truth but plausible continuations.
|
69 |
+
|
70 |
+
Use case: Ideal for retrieval-based dialog training or negative sampling in response ranking tasks.
|
71 |
+
|
72 |
+
3. Readability Score
|
73 |
+
|
74 |
+
Computed using Flesch-Kincaid metrics and other NLP readability formulas. Stored as readability (0–100 scale, higher = easier).
|
75 |
+
|
76 |
+
Use case: Enables analysis of language complexity and training adaptive LLMs for education, accessibility, or voice interfaces.
|
77 |
+
|
78 |
+
4. Readability Grade Score
|
79 |
+
|
80 |
+
Stored as readability_score on a U.S. grade level (lower = easier to read). Especially relevant for UX tuning.
|
81 |
+
|
82 |
+
Use case: Allows controlling reading level in generation tasks or selecting user-appropriate training samples.
|
83 |
+
|
84 |
+
5. Context Embedding
|
85 |
+
|
86 |
+
Each turn is augmented with a context_embedding vector (384-dim, Sentence-BERT). Represents the semantic context of the turn.
|
87 |
+
|
88 |
+
Use case: Enables plug-and-play use with FAISS-based semantic search, response reranking, and memory-augmented generation.
|
89 |
+
|
90 |
+
6. Speaker Role Flags
|
91 |
+
|
92 |
+
An is_user flag is included for each turn (1 = user, 0 = assistant).
|
93 |
+
|
94 |
+
Use case: Simplifies filtering, evaluation, or role-specific metric computation.
|
95 |
+
|
96 |
+
7. Utterance Length Bucketing
|
97 |
+
|
98 |
+
Each turn is labeled as:
|
99 |
+
|
100 |
+
short (<= 5 tokens)
|
101 |
+
|
102 |
+
medium (6–15 tokens)
|
103 |
+
|
104 |
+
long (> 15 tokens)
|
105 |
+
|
106 |
+
Use case: Enables sampling, curriculum learning, or model analysis across turn complexity.
|
107 |
+
|
108 |
+
8. Bigram Overlap with Previous Turn
|
109 |
+
|
110 |
+
Computed as bigram_overlap_prev (float between 0 and 1). Measures lexical repetition with the preceding utterance.
|
111 |
+
|
112 |
+
Use case: Useful for:
|
113 |
+
|
114 |
+
Dialogue coherence metrics
|
115 |
+
|
116 |
+
Detecting stagnation or repetition in generated responses
|
117 |
+
|
118 |
+
Analyzing repair-based utterances
|
119 |
+
|
120 |
+
9. Sentiment Polarity
|
121 |
+
|
122 |
+
Computed using a sentiment analyzer. Stored as sentiment_polarity:
|
123 |
+
|
124 |
+
Ranges from –1 (strongly negative) to +1 (strongly positive)
|
125 |
+
|
126 |
+
Use case: Enables emotion-aware generation, tone control, or training sentiment-conditioned agents.
|
127 |
+
|
128 |
+
10. Format Summary
|
129 |
+
|
130 |
+
Each conversation has:
|
131 |
+
|
132 |
+
dialog_id: Unique identifier
|
133 |
+
|
134 |
+
turns: List of enriched utterances
|
135 |
+
|
136 |
+
Each turn includes:
|
137 |
+
|
138 |
+
{ "speaker": "USER", "text": "I’d like to book a table for 2", "role_embedding": [1, 0], "intent_label": "request", "nb_response_candidates": [...], "readability_score": 4.5, "context_embedding": [...], "readability": 85.6, "is_user": 1, "length_bucket": "medium", "bigram_overlap_prev": 0.2, "sentiment_polarity": 0.1 }
|
139 |
+
|
140 |
+
## Suggested Use Cases
|
141 |
+
|
142 |
+
Fine-tuning LLMs for goal-oriented dialog
|
143 |
+
|
144 |
+
Training dialog state trackers and response rankers
|
145 |
+
|
146 |
+
Evaluating model outputs with context-aware metrics
|
147 |
+
|
148 |
+
Curriculum learning based on length or readability
|
149 |
+
|
150 |
+
Emotion- and intent-conditioned dialog modeling
|
151 |
+
|
152 |
+
Semantic retrieval and reranking systems
|
153 |
+
|
154 |
+
## Citation
|
155 |
+
|
156 |
+
@inproceedings{48484,
|
157 |
+
title = {Taskmaster-1: Toward a Realistic and Diverse Dialog Dataset},
|
158 |
+
author = {Bill Byrne and Karthik Krishnamoorthi and Chinnadhurai Sankar and Arvind Neelakantan and Daniel Duckworth and Semih Yavuz and Ben Goodrich and Amit Dubey and Kyu-Young Kim and Andy Cedilnik},
|
159 |
+
year = {2019}
|
160 |
+
}
|
161 |
+
|
162 |
+
## Taskmaster-1: Towards a Realistic Goal-Oriented Dialogue Dataset (Google-Research-Datasets)
|
163 |
+
|
164 |
+
## Original base dataset: @patil-suraj (Original contributor)
|
165 |
+
|
166 |
+
## Enrichments and combined version by: GenAIDevTOProd (Adithya)
|
167 |
+
|
168 |
+
## License: Same as Taskmaster-1 (if public domain or open license)
|