albertvillanova HF staff commited on
Commit
7127774
1 Parent(s): e8ae5ab

Remove deprecated tasks (#3)

Browse files

- Remove deprecated tasks (ff17d2a561b9825b03fcbfbc2a8f6dc144a4cd8b)

Files changed (1) hide show
  1. osdg_cd.py +0 -6
osdg_cd.py CHANGED
@@ -21,7 +21,6 @@ import csv
21
  import json
22
 
23
  import datasets
24
- from datasets.tasks import TextClassification
25
 
26
 
27
  logger = datasets.logging.get_logger(__name__)
@@ -130,11 +129,6 @@ class OSDGCD(datasets.GeneratorBasedBuilder):
130
  ),
131
  homepage=_HOMEPAGE,
132
  citation=_CITATION,
133
- task_templates=[
134
- TextClassification(
135
- text_column="text", label_column="label",
136
- )
137
- ],
138
  )
139
 
140
  def _split_generators(self, dl_manager):
 
21
  import json
22
 
23
  import datasets
 
24
 
25
 
26
  logger = datasets.logging.get_logger(__name__)
 
129
  ),
130
  homepage=_HOMEPAGE,
131
  citation=_CITATION,
 
 
 
 
 
132
  )
133
 
134
  def _split_generators(self, dl_manager):