Datasets:
Update magpie.py
Browse files
magpie.py
CHANGED
@@ -93,7 +93,7 @@ class Magpie(datasets.GeneratorBasedBuilder):
|
|
93 |
features["pos_tags"] = datasets.features.Sequence(datasets.Value("string"))
|
94 |
return datasets.DatasetInfo(
|
95 |
description=_DESCRIPTION,
|
96 |
-
features=features,
|
97 |
supervised_keys=None,
|
98 |
homepage=_HOMEPAGE,
|
99 |
citation=_CITATION,
|
|
|
93 |
features["pos_tags"] = datasets.features.Sequence(datasets.Value("string"))
|
94 |
return datasets.DatasetInfo(
|
95 |
description=_DESCRIPTION,
|
96 |
+
features=datasets.Features(features),
|
97 |
supervised_keys=None,
|
98 |
homepage=_HOMEPAGE,
|
99 |
citation=_CITATION,
|