Datasets:
Update DiaBLa.py
Browse files
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']),
|