albertvillanova HF staff commited on
Commit
e4104a7
1 Parent(s): 1415dba

Remove deprecated tasks

Browse files

This dataset uses `tasks`, which are deprecated and will raise an error after the next major release of `datasets`. See: https://github.com/huggingface/datasets/pull/6999

Files changed (1) hide show
  1. causenet_wiki.py +0 -2
causenet_wiki.py CHANGED
@@ -1,7 +1,6 @@
1
  import csv
2
  import json
3
  import datasets
4
- from datasets.tasks import TextClassification
5
 
6
 
7
  _CITATION = """\
@@ -44,7 +43,6 @@ class CauseNetWikiCorpus(datasets.GeneratorBasedBuilder):
44
  ),
45
  homepage=_URL,
46
  citation=_CITATION,
47
- task_templates=None
48
  )
49
 
50
  def _split_generators(self, dl_manager):
 
1
  import csv
2
  import json
3
  import datasets
 
4
 
5
 
6
  _CITATION = """\
 
43
  ),
44
  homepage=_URL,
45
  citation=_CITATION,
 
46
  )
47
 
48
  def _split_generators(self, dl_manager):