Datasets:
Update DiaBLa.py
Browse files
DiaBLa.py
CHANGED
@@ -193,8 +193,9 @@ class Diabla(datasets.GeneratorBasedBuilder):
|
|
193 |
for info_to_remove in ['interface','verbatim_quality',
|
194 |
'particular_problems', 'tech',
|
195 |
'would_use', 'timestamp', 'technical_issue']:
|
196 |
-
|
197 |
-
|
|
|
198 |
|
199 |
# Main data: the utterances
|
200 |
for utterance_id in dialogue['utterances']:
|
|
|
193 |
for info_to_remove in ['interface','verbatim_quality',
|
194 |
'particular_problems', 'tech',
|
195 |
'would_use', 'timestamp', 'technical_issue']:
|
196 |
+
for final_eval in 'final_evaluation_user1', 'final_evaluation_user2':
|
197 |
+
if info_to_remove in dialogue_info[final_eval]:
|
198 |
+
del dialogue_info[final_eval][info_to_remove]
|
199 |
|
200 |
# Main data: the utterances
|
201 |
for utterance_id in dialogue['utterances']:
|