Datasets:

Modalities:
Text
Languages:
Icelandic
Libraries:
Datasets
License:
vesteinn commited on
Commit
0b0f2c2
·
1 Parent(s): a0ac7d9

Corrected features definition

Browse files
Files changed (1) hide show
  1. icelandic-error-corpus-IceEC.py +2 -2
icelandic-error-corpus-IceEC.py CHANGED
@@ -817,8 +817,8 @@ class IceEC(datasets.GeneratorBasedBuilder):
817
  features=datasets.Features(
818
  {
819
  "id": datasets.Value("string"),
820
- "sentence": datasets.features.List("string"),
821
- "errors": datasets.features.List("string")
822
  }
823
  ),
824
  # No default supervised_keys (as we have to pass both question
 
817
  features=datasets.Features(
818
  {
819
  "id": 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