Datasets:
Update DiaBLa.py
Browse files
DiaBLa.py
CHANGED
@@ -146,7 +146,7 @@ class Diabla(datasets.GeneratorBasedBuilder):
|
|
146 |
}
|
147 |
|
148 |
# add to history (without dialogue info and history)
|
149 |
-
|
150 |
#utterance_instance['dialogue_meta'] = dialogue_info
|
151 |
-
utterance_instance['dialogue_history'] = dialogue_history
|
152 |
yield id_, utterance_instance
|
|
|
146 |
}
|
147 |
|
148 |
# add to history (without dialogue info and history)
|
149 |
+
dialogue_history.append(utterance_instance.copy())
|
150 |
#utterance_instance['dialogue_meta'] = dialogue_info
|
151 |
+
#utterance_instance['dialogue_history'] = dialogue_history
|
152 |
yield id_, utterance_instance
|