drAbreu commited on
Commit
6b7cdd4
1 Parent(s): 48d76b0

Update sd-nlp-v2.py

Browse files
Files changed (1) hide show
  1. sd-nlp-v2.py +1 -1
sd-nlp-v2.py CHANGED
@@ -137,7 +137,7 @@ class SourceDataNLP(datasets.GeneratorBasedBuilder):
137
  features = datasets.Features(
138
  {
139
  "words": datasets.Sequence(feature=datasets.Value("string")),
140
- "text": Value("string"),
141
  "labels": datasets.Sequence(
142
  feature=datasets.ClassLabel(num_classes=len(self._PANEL_START_NAMES),
143
  names=self._PANEL_START_NAMES)
 
137
  features = datasets.Features(
138
  {
139
  "words": datasets.Sequence(feature=datasets.Value("string")),
140
+ "text": datasets.Value("string"),
141
  "labels": datasets.Sequence(
142
  feature=datasets.ClassLabel(num_classes=len(self._PANEL_START_NAMES),
143
  names=self._PANEL_START_NAMES)