rbawden commited on
Commit
79b7073
1 Parent(s): 49cfdd1

Update DiaBLa.py

Browse files
Files changed (1) hide show
  1. DiaBLa.py +12 -10
DiaBLa.py CHANGED
@@ -68,12 +68,12 @@ class Diabla(datasets.GeneratorBasedBuilder):
68
  'ref': datasets.Value('string'),
69
  'utterance_meta': datasets.features.Sequence(
70
  {
71
- 'eval-judgment': datasets.Value("string"), # possible values = ['poor', 'medium', 'perfect']),
72
  'eval-verbatim': datasets.Value('string'),
73
  'eval-problems': [
74
- datasets.Value("string") # possible values = ['coherence', 'grammar', 'meaning', 'word choice', 'style', 'other']
75
  ],
76
- 'lang': datasets.Value("string"), # possible values = ['english', 'french']
77
  }
78
  ),
79
 
@@ -87,14 +87,16 @@ class Diabla(datasets.GeneratorBasedBuilder):
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
  ),
 
68
  'ref': datasets.Value('string'),
69
  'utterance_meta': datasets.features.Sequence(
70
  {
71
+ 'eval-judgment': datasets.Value("string"),
72
  'eval-verbatim': datasets.Value('string'),
73
  'eval-problems': [
74
+ datasets.Value("string")
75
  ],
76
+ 'lang': datasets.Value("string")
77
  }
78
  ),
79
 
 
87
  'ref': datasets.Value('string'),
88
  'utterance_meta': datasets.features.Sequence(
89
  {
90
+ 'eval-judgment': datasets.Value("string"),
91
+ 'eval-verbatim': datasets.Value("string"),
92
+ 'eval-problems': [
93
+ datasets.Value("string")
94
  ],
95
+ 'lang': datasets.Value("string"),
96
+ }
97
+ )
98
+ }
99
+ )
100
  ]
101
  }
102
  ),