Datasets:
Update DiaBLa.py
Browse files
DiaBLa.py
CHANGED
@@ -103,7 +103,7 @@ class Diabla(datasets.GeneratorBasedBuilder):
|
|
103 |
'final_evaluation_user1', 'final_evaluation_user2']
|
104 |
for info_to_remove in ['eval-stage', 'useragent']:
|
105 |
for user in 'user1', 'user2':
|
106 |
-
if
|
107 |
del dialogue[user][info_to_remove]
|
108 |
dialogue_info = {k: dialogue[k] for k in dialogue_info_keys}
|
109 |
# Main data: the utterances
|
|
|
103 |
'final_evaluation_user1', 'final_evaluation_user2']
|
104 |
for info_to_remove in ['eval-stage', 'useragent']:
|
105 |
for user in 'user1', 'user2':
|
106 |
+
if info_to_remove in dialogue[user]:
|
107 |
del dialogue[user][info_to_remove]
|
108 |
dialogue_info = {k: dialogue[k] for k in dialogue_info_keys}
|
109 |
# Main data: the utterances
|