Datasets:
Update DiaBLa.py
Browse files
DiaBLa.py
CHANGED
@@ -230,6 +230,6 @@ class Diabla(datasets.GeneratorBasedBuilder):
|
|
230 |
|
231 |
# add to history (without dialogue info and history)
|
232 |
dialogue_history.append(utterance_instance.copy())
|
233 |
-
|
234 |
-
|
235 |
yield id_, utterance_instance
|
|
|
230 |
|
231 |
# add to history (without dialogue info and history)
|
232 |
dialogue_history.append(utterance_instance.copy())
|
233 |
+
utterance_instance['dialogue_meta'] = dialogue_info
|
234 |
+
utterance_instance['dialogue_history'] = dialogue_history
|
235 |
yield id_, utterance_instance
|