Commit
•
68b3569
1
Parent(s):
7aa5ac2
Remove deprecated tasks (#1)
Browse files- Remove deprecated tasks (3c8129e531a8bdcfa4aa8311634c9e37838fd5fd)
- 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,
|
@@ -60,7 +59,6 @@ class MalayalamNews(datasets.GeneratorBasedBuilder):
|
|
60 |
),
|
61 |
homepage="https://github.com/AI4Bharat/indicnlp_corpus#indicnlp-news-article-classification-dataset",
|
62 |
citation=_CITATION,
|
63 |
-
task_templates=[TextClassification(text_column="text", label_column="label")],
|
64 |
)
|
65 |
|
66 |
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,
|
|
|
59 |
),
|
60 |
homepage="https://github.com/AI4Bharat/indicnlp_corpus#indicnlp-news-article-classification-dataset",
|
61 |
citation=_CITATION,
|
|
|
62 |
)
|
63 |
|
64 |
def _split_generators(self, dl_manager):
|