Hugo Abonizio commited on
Commit
b231ce5
1 Parent(s): 5686df4

Fix label name

Browse files
Files changed (1) hide show
  1. imdb_pt.py +1 -1
imdb_pt.py CHANGED
@@ -53,7 +53,7 @@ class Imdb(datasets.GeneratorBasedBuilder):
53
  return datasets.DatasetInfo(
54
  description=_DESCRIPTION,
55
  features=datasets.Features(
56
- {"text": datasets.Value("string"), "label": datasets.features.ClassLabel(names=["negativo", "posisivo"])}
57
  ),
58
  supervised_keys=None,
59
  homepage="http://ai.stanford.edu/~amaas/data/sentiment/",
 
53
  return datasets.DatasetInfo(
54
  description=_DESCRIPTION,
55
  features=datasets.Features(
56
+ {"text": datasets.Value("string"), "label": datasets.features.ClassLabel(names=["negativo", "positivo"])}
57
  ),
58
  supervised_keys=None,
59
  homepage="http://ai.stanford.edu/~amaas/data/sentiment/",