Datasets:
Update DiaBLa.py
Browse files
DiaBLa.py
CHANGED
@@ -195,6 +195,6 @@ class Diabla(datasets.GeneratorBasedBuilder):
|
|
195 |
}
|
196 |
# add to history (without dialogue info and history)
|
197 |
dialogue_history.append(utterance_instance.copy())
|
198 |
-
utterance_instance['dialogue_meta'] =
|
199 |
utterance_instance['dialogue_history'] = dialogue_history
|
200 |
yield id_, utterance_instance
|
|
|
195 |
}
|
196 |
# add to history (without dialogue info and history)
|
197 |
dialogue_history.append(utterance_instance.copy())
|
198 |
+
utterance_instance['dialogue_meta'] = dialogue_info
|
199 |
utterance_instance['dialogue_history'] = dialogue_history
|
200 |
yield id_, utterance_instance
|