Dr. Jorge Abreu Vicente commited on
Commit
a2b166b
1 Parent(s): 0ecdee3

Update sd-nlp-non-tokenized.py

Browse files
Files changed (1) hide show
  1. sd-nlp-non-tokenized.py +1 -1
sd-nlp-non-tokenized.py CHANGED
@@ -95,7 +95,7 @@ class SourceDataNLP(datasets.GeneratorBasedBuilder):
95
  features = datasets.Features(
96
  {
97
  "words": datasets.Sequence(feature=datasets.Value("string")),
98
- "label_ids": datasets.Sequence(
99
  feature=datasets.ClassLabel(num_classes=len(self._NER_LABEL_NAMES), names=self._NER_LABEL_NAMES)
100
  ),
101
  }
 
95
  features = datasets.Features(
96
  {
97
  "words": datasets.Sequence(feature=datasets.Value("string")),
98
+ "labels": datasets.Sequence(
99
  feature=datasets.ClassLabel(num_classes=len(self._NER_LABEL_NAMES), names=self._NER_LABEL_NAMES)
100
  ),
101
  }