Datasets:
Update DiaBLa.py
Browse files
DiaBLa.py
CHANGED
@@ -205,6 +205,6 @@ class Diabla(datasets.GeneratorBasedBuilder):
|
|
205 |
# add to history (without dialogue info and history)
|
206 |
minimal_utterance = utterance_instance.copy()
|
207 |
utterance_instance['dialogue_meta'] = dialogue_info
|
208 |
-
utterance_instance['dialogue_history'] = dialogue_history
|
209 |
dialogue_history.append(minimal_utterance)
|
210 |
yield id_, utterance_instance
|
|
|
205 |
# add to history (without dialogue info and history)
|
206 |
minimal_utterance = utterance_instance.copy()
|
207 |
utterance_instance['dialogue_meta'] = dialogue_info
|
208 |
+
utterance_instance['dialogue_history'] = dialogue_history.copy()
|
209 |
dialogue_history.append(minimal_utterance)
|
210 |
yield id_, utterance_instance
|