Datasets:

Modalities:
Text
Languages:
Icelandic
Libraries:
Datasets
License:
vesteinn commited on
Commit
df4c831
·
1 Parent(s): 20218bd

Set error feature as sequence of sequences

Browse files
Files changed (1) hide show
  1. icelandic-error-corpus-IceEC.py +1 -1
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