albertvillanova HF staff commited on
Commit
f7f098f
1 Parent(s): a3692ff

Remove deprecated tasks (#1)

Browse files

- Remove deprecated tasks (deab1122c9716d7ffccf67f385487fd1267ec201)

Files changed (1) hide show
  1. EnglishNLPDataset.py +1 -2
EnglishNLPDataset.py CHANGED
@@ -3,7 +3,7 @@
3
 
4
  import csv
5
  import datasets
6
- from datasets.tasks import TextClassification
7
 
8
  _CITATION = """\
9
  ----EnglishNLPDataset----
@@ -53,7 +53,6 @@ class EnglishNLPDataset(datasets.GeneratorBasedBuilder):
53
  # Homepage of the dataset for documentation
54
  homepage="https://github.com/BihterDass/EnglishTextClassificationDataset",
55
  citation=_CITATION,
56
- task_templates=[TextClassification(text_column="text", label_column="label")],
57
  )
58
 
59
  def _split_generators(self, dl_manager):
 
3
 
4
  import csv
5
  import datasets
6
+
7
 
8
  _CITATION = """\
9
  ----EnglishNLPDataset----
 
53
  # Homepage of the dataset for documentation
54
  homepage="https://github.com/BihterDass/EnglishTextClassificationDataset",
55
  citation=_CITATION,
 
56
  )
57
 
58
  def _split_generators(self, dl_manager):