Datasets:
Update DiaBLa.py
Browse files
DiaBLa.py
CHANGED
@@ -77,28 +77,26 @@ class Diabla(datasets.GeneratorBasedBuilder):
|
|
77 |
}
|
78 |
),
|
79 |
|
80 |
-
'dialogue_history':
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
'
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
]
|
101 |
-
)
|
102 |
}
|
103 |
),
|
104 |
# TODO?
|
|
|
77 |
}
|
78 |
),
|
79 |
|
80 |
+
'dialogue_history': [
|
81 |
+
datasets.features.Sequence(
|
82 |
+
{
|
83 |
+
'id': datasets.Value('string'),
|
84 |
+
'orig': datasets.Value('string'),
|
85 |
+
'norm': datasets.Value('string'),
|
86 |
+
'mt': datasets.Value('string'),
|
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 |
}
|
101 |
),
|
102 |
# TODO?
|