Set error feature as sequence of sequences
Browse files
icelandic-error-corpus-IceEC.py
CHANGED
@@ -818,7 +818,7 @@ class IceEC(datasets.GeneratorBasedBuilder):
|
|
818 |
{
|
819 |
"idx": datasets.Value("string"),
|
820 |
"sentence": datasets.Sequence(datasets.Value("string")),
|
821 |
-
"errors": datasets.Sequence(datasets.Value("string"))
|
822 |
}
|
823 |
),
|
824 |
# No default supervised_keys (as we have to pass both question
|
|
|
818 |
{
|
819 |
"idx": datasets.Value("string"),
|
820 |
"sentence": datasets.Sequence(datasets.Value("string")),
|
821 |
+
"errors": datasets.Sequence(datasets.Sequence(datasets.Value("string")))
|
822 |
}
|
823 |
),
|
824 |
# No default supervised_keys (as we have to pass both question
|