albertvillanova HF staff commited on
Commit
b2fbfea
1 Parent(s): 322604b

Remove deprecated tasks (#5)

Browse files

- Remove deprecated tasks (6a0cc2d57c0bff0585ecc3a11a53586081ea1dee)

Files changed (1) hide show
  1. ArabicNLPDataset.py +1 -2
ArabicNLPDataset.py CHANGED
@@ -3,7 +3,7 @@
3
 
4
  import csv
5
  import datasets
6
- from datasets.tasks import TextClassification
7
 
8
  _CITATION = """\
9
  ----ArabicNLPDataset----
@@ -53,7 +53,6 @@ class ArabicNLPDataset(datasets.GeneratorBasedBuilder):
53
  # Homepage of the dataset for documentation
54
  homepage="https://github.com/BihterDass/ArabicTextClassificationDataset",
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
  ----ArabicNLPDataset----
 
53
  # Homepage of the dataset for documentation
54
  homepage="https://github.com/BihterDass/ArabicTextClassificationDataset",
55
  citation=_CITATION,
 
56
  )
57
 
58
  def _split_generators(self, dl_manager):