albertvillanova HF staff commited on
Commit
4c385a8
1 Parent(s): fead712

Remove deprecated tasks (#2)

Browse files

- Remove deprecated tasks (b2449504aee0345b2247ecb888a1ee9f72846666)

ecommerce_reviews_with_language_drift.py CHANGED
@@ -21,7 +21,6 @@ import json
21
  import os
22
 
23
  import datasets
24
- from datasets.tasks import TextClassification
25
 
26
 
27
 
@@ -118,7 +117,6 @@ class EcommerceReviewsWithLanguageDrift(datasets.GeneratorBasedBuilder):
118
  license=_LICENSE,
119
  # Citation for the dataset
120
  citation=_CITATION,
121
- task_templates=[TextClassification(text_column="text", label_column="label")],
122
  )
123
 
124
  def _split_generators(self, dl_manager):
 
21
  import os
22
 
23
  import datasets
 
24
 
25
 
26
 
 
117
  license=_LICENSE,
118
  # Citation for the dataset
119
  citation=_CITATION,
 
120
  )
121
 
122
  def _split_generators(self, dl_manager):