albertvillanova HF staff commited on
Commit
9a95b04
1 Parent(s): 9772109

Remove deprecated tasks (#1)

Browse files

- Remove deprecated tasks (d7f05099accc053d0a72a889c9b2e8bbc6b54e36)

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