Datasets:
Update DiaBLa.py
Browse files
DiaBLa.py
CHANGED
@@ -73,9 +73,7 @@ class Diabla(datasets.GeneratorBasedBuilder):
|
|
73 |
'verbatim': datasets.Value("string"),
|
74 |
'problems': datasets.features.Sequence(
|
75 |
[
|
76 |
-
ClassLabel(num_classes=5,
|
77 |
-
names=['coherence', 'grammar', 'meaning', 'word choice', 'style']
|
78 |
-
)
|
79 |
]
|
80 |
),
|
81 |
'lang': ClassLabel(num_classes=2, names=['en', 'fr']),
|
@@ -84,7 +82,7 @@ class Diabla(datasets.GeneratorBasedBuilder):
|
|
84 |
'dialogue_meta': datasets.features.Sequence(
|
85 |
{
|
86 |
'start_time': datasets.Value("string"),
|
87 |
-
'end_time'
|
88 |
'translation_model': datasets.Value("string"),
|
89 |
'final_evaluation_user1': datasets.Value("string"),
|
90 |
'final_evaluation_user2': datasets.Value("string"),
|
|
|
73 |
'verbatim': datasets.Value("string"),
|
74 |
'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']),
|
|
|
82 |
'dialogue_meta': datasets.features.Sequence(
|
83 |
{
|
84 |
'start_time': datasets.Value("string"),
|
85 |
+
'end_time' : datasets.Value("string"),
|
86 |
'translation_model': datasets.Value("string"),
|
87 |
'final_evaluation_user1': datasets.Value("string"),
|
88 |
'final_evaluation_user2': datasets.Value("string"),
|