albertvillanova HF staff commited on
Commit
e44fe82
1 Parent(s): 4cce6b9

Remove deprecated tasks (#1)

Browse files

- Remove deprecated tasks (9ba4e54a567b45607904c1d0d3ac4e2d5b10ff02)

Files changed (1) hide show
  1. malayalam_news.py +0 -2
malayalam_news.py CHANGED
@@ -3,7 +3,6 @@ import os
3
 
4
  import datasets
5
 
6
- from datasets.tasks import TextClassification
7
 
8
  _DESCRIPTION = """\
9
  The AI4Bharat-IndicNLP dataset is an ongoing effort to create a collection of large-scale,
@@ -59,7 +58,6 @@ class MalayalamNews(datasets.GeneratorBasedBuilder):
59
  ),
60
  homepage="https://github.com/AI4Bharat/indicnlp_corpus#indicnlp-news-article-classification-dataset",
61
  citation=_CITATION,
62
- task_templates=[TextClassification(text_column="text", label_column="label")],
63
  )
64
 
65
  def _split_generators(self, dl_manager):
 
3
 
4
  import datasets
5
 
 
6
 
7
  _DESCRIPTION = """\
8
  The AI4Bharat-IndicNLP dataset is an ongoing effort to create a collection of large-scale,
 
58
  ),
59
  homepage="https://github.com/AI4Bharat/indicnlp_corpus#indicnlp-news-article-classification-dataset",
60
  citation=_CITATION,
 
61
  )
62
 
63
  def _split_generators(self, dl_manager):