rbawden commited on
Commit
feb6da4
1 Parent(s): 366bdeb

Update DiaBLa.py

Browse files
Files changed (1) hide show
  1. DiaBLa.py +20 -22
DiaBLa.py CHANGED
@@ -77,28 +77,26 @@ class Diabla(datasets.GeneratorBasedBuilder):
77
  }
78
  ),
79
 
80
- 'dialogue_history': datasets.features.Sequence(
81
- [
82
- datasets.features.Sequence(
83
- {
84
- 'id': datasets.Value('string'),
85
- 'orig': datasets.Value('string'),
86
- 'norm': datasets.Value('string'),
87
- 'mt': datasets.Value('string'),
88
- 'ref': datasets.Value('string'),
89
- 'utterance_meta': datasets.features.Sequence(
90
- {
91
- 'eval-judgment': datasets.Value("string"), # possible values = ['poor', 'medium', 'perfect']
92
- 'eval-verbatim': datasets.Value("string"),
93
- 'eval-problems': [
94
- datasets.Value("string"), # possible values = ['coherence', 'grammar', 'meaning', 'word choice', 'style', 'other']
95
- ],
96
- 'lang': datasets.Value("string"), # possible values = ['english', 'french']
97
- }
98
- ),
99
- }),
100
- ]
101
- )
102
  }
103
  ),
104
  # TODO?
 
77
  }
78
  ),
79
 
80
+ 'dialogue_history': [
81
+ datasets.features.Sequence(
82
+ {
83
+ 'id': datasets.Value('string'),
84
+ 'orig': datasets.Value('string'),
85
+ 'norm': datasets.Value('string'),
86
+ 'mt': datasets.Value('string'),
87
+ 'ref': datasets.Value('string'),
88
+ 'utterance_meta': datasets.features.Sequence(
89
+ {
90
+ 'eval-judgment': datasets.Value("string"), # possible values = ['poor', 'medium', 'perfect']
91
+ 'eval-verbatim': datasets.Value("string"),
92
+ 'eval-problems': [
93
+ datasets.Value("string"), # possible values = ['coherence', 'grammar', 'meaning', 'word choice', 'style', 'other']
94
+ ],
95
+ 'lang': datasets.Value("string"), # possible values = ['english', 'french']
96
+ }
97
+ )
98
+ })
99
+ ]
 
 
100
  }
101
  ),
102
  # TODO?