rbawden commited on
Commit
b671eb0
1 Parent(s): 1548861

Update DiaBLa.py

Browse files
Files changed (1) hide show
  1. DiaBLa.py +1 -1
DiaBLa.py CHANGED
@@ -104,7 +104,7 @@ class Diabla(datasets.GeneratorBasedBuilder):
104
  dialogue_info = {k: dialogue[k] for k in dialogue_info_keys}
105
  # Main data: the utterances
106
  for utterance_id in dialogue['utterances']:
107
- utterance = utterances[utterance_id]
108
  # Meta-information attached to the utterance
109
  utterance_info_keys = ['judgment', 'verbatim', 'problems', 'user']
110
  utterance_info = {'eval-' + k: utterance['eval'][k] for k in utterance_info_keys}
 
104
  dialogue_info = {k: dialogue[k] for k in dialogue_info_keys}
105
  # Main data: the utterances
106
  for utterance_id in dialogue['utterances']:
107
+ utterance = dialogue['utterances'][utterance_id]
108
  # Meta-information attached to the utterance
109
  utterance_info_keys = ['judgment', 'verbatim', 'problems', 'user']
110
  utterance_info = {'eval-' + k: utterance['eval'][k] for k in utterance_info_keys}