Datasets:
Update DiaBLa.py
Browse files
DiaBLa.py
CHANGED
@@ -191,8 +191,7 @@ class Diabla(datasets.GeneratorBasedBuilder):
|
|
191 |
'user1', 'user2', 'translation_model',
|
192 |
'final_evaluation_user1', 'final_evaluation_user2']
|
193 |
for user in 'user1', 'user2':
|
194 |
-
|
195 |
-
for info_to_remove in ['eval-stage', 'useragent', 'language']:
|
196 |
if info_to_remove in dialogue[user]:
|
197 |
del dialogue[user][info_to_remove]
|
198 |
dialogue_info = {k: dialogue[k] for k in dialogue_info_keys}
|
|
|
191 |
'user1', 'user2', 'translation_model',
|
192 |
'final_evaluation_user1', 'final_evaluation_user2']
|
193 |
for user in 'user1', 'user2':
|
194 |
+
for info_to_remove in ['eval-stage', 'useragent']:
|
|
|
195 |
if info_to_remove in dialogue[user]:
|
196 |
del dialogue[user][info_to_remove]
|
197 |
dialogue_info = {k: dialogue[k] for k in dialogue_info_keys}
|