Datasets:
Update DiaBLa.py
Browse files
DiaBLa.py
CHANGED
@@ -86,20 +86,20 @@ class Diabla(datasets.GeneratorBasedBuilder):
|
|
86 |
'translation_model': datasets.Value('string'),
|
87 |
'final_evaluation_user1': datasets.features.Sequence(
|
88 |
{
|
89 |
-
'style': ClassLabel(num_classes=
|
90 |
-
'coherence': ClassLabel(num_classes=
|
91 |
-
'grammaticality': ClassLabel(num_classes=
|
92 |
-
'meaning': ClassLabel(num_classes=
|
93 |
-
'word_choice': ClassLabel(num_classes=
|
94 |
}
|
95 |
),
|
96 |
'final_evaluation_user2': datasets.features.Sequence(
|
97 |
{
|
98 |
-
'style': ClassLabel(num_classes=
|
99 |
-
'coherence': ClassLabel(num_classes=
|
100 |
-
'grammaticality': ClassLabel(num_classes=
|
101 |
-
'meaning': ClassLabel(num_classes=
|
102 |
-
'word_choice': ClassLabel(num_classes=
|
103 |
}
|
104 |
),
|
105 |
'scenario': datasets.features.Sequence(
|
|
|
86 |
'translation_model': datasets.Value('string'),
|
87 |
'final_evaluation_user1': datasets.features.Sequence(
|
88 |
{
|
89 |
+
'style': ClassLabel(num_classes=4, names=['poor', 'average', 'good', 'excellent']),
|
90 |
+
'coherence': ClassLabel(num_classes=4, names=['poor', 'average', 'good', 'excellent']),
|
91 |
+
'grammaticality': ClassLabel(num_classes=4, names=['poor', 'average', 'good', 'excellent']),
|
92 |
+
'meaning': ClassLabel(num_classes=4, names=['poor', 'average', 'good', 'excellent']),
|
93 |
+
'word_choice': ClassLabel(num_classes=4, names=['poor', 'average', 'good', 'excellent'])
|
94 |
}
|
95 |
),
|
96 |
'final_evaluation_user2': datasets.features.Sequence(
|
97 |
{
|
98 |
+
'style': ClassLabel(num_classes=4, names=['poor', 'average', 'good', 'excellent']),
|
99 |
+
'coherence': ClassLabel(num_classes=4, names=['poor', 'average', 'good', 'excellent']),
|
100 |
+
'grammaticality': ClassLabel(num_classes=4, names=['poor', 'average', 'good', 'excellent']),
|
101 |
+
'meaning': ClassLabel(num_classes=4, names=['poor', 'average', 'good', 'excellent']),
|
102 |
+
'word_choice': ClassLabel(num_classes=4, names=['poor', 'average', 'good', 'excellent'])
|
103 |
}
|
104 |
),
|
105 |
'scenario': datasets.features.Sequence(
|