rbawden commited on
Commit
f92ffdb
1 Parent(s): 7536d02

Update DiaBLa.py

Browse files
Files changed (1) hide show
  1. DiaBLa.py +2 -3
DiaBLa.py CHANGED
@@ -73,7 +73,7 @@ class Diabla(datasets.GeneratorBasedBuilder):
73
  'eval-verbatim': datasets.Value('string'),
74
  'eval-problems': datasets.features.Sequence(
75
  [
76
- ClassLabel(num_classes=5, names=['coherence', 'grammar', 'meaning', 'word choice', 'style'])
77
  ]
78
  ),
79
  'lang': ClassLabel(num_classes=2, names=['en', 'fr']),
@@ -152,8 +152,7 @@ class Diabla(datasets.GeneratorBasedBuilder):
152
  'eval-verbatim': datasets.Value("string"),
153
  'eval-problems': datasets.features.Sequence(
154
  [
155
- ClassLabel(num_classes=5,
156
- names=['coherence', 'grammar', 'meaning', 'word choice', 'style'])
157
  ]
158
  ),
159
  'lang': ClassLabel(num_classes=2, names=['en', 'fr']),
 
73
  'eval-verbatim': datasets.Value('string'),
74
  'eval-problems': datasets.features.Sequence(
75
  [
76
+ ClassLabel(num_classes=5, names=['coherence', 'grammar', 'meaning', 'word choice', 'style', 'other'])
77
  ]
78
  ),
79
  'lang': ClassLabel(num_classes=2, names=['en', 'fr']),
 
152
  'eval-verbatim': datasets.Value("string"),
153
  'eval-problems': datasets.features.Sequence(
154
  [
155
+ ClassLabel(num_classes=5, names=['coherence', 'grammar', 'meaning', 'word choice', 'style', 'other'])
 
156
  ]
157
  ),
158
  'lang': ClassLabel(num_classes=2, names=['en', 'fr']),