Remove deprecated tasks
#1
by
albertvillanova
HF Staff
- opened
- agnewsadapted.py +0 -2
agnewsadapted.py
CHANGED
|
@@ -20,7 +20,6 @@
|
|
| 20 |
import csv
|
| 21 |
|
| 22 |
import datasets
|
| 23 |
-
from datasets.tasks import TextClassification
|
| 24 |
|
| 25 |
|
| 26 |
_DESCRIPTION = """\
|
|
@@ -66,7 +65,6 @@ class AGNews(datasets.GeneratorBasedBuilder):
|
|
| 66 |
),
|
| 67 |
homepage="http://groups.di.unipi.it/~gulli/AG_corpus_of_news_articles.html",
|
| 68 |
citation=_CITATION,
|
| 69 |
-
task_templates=[TextClassification(text_column="text", label_column="label")],
|
| 70 |
)
|
| 71 |
|
| 72 |
def _split_generators(self, dl_manager):
|
|
|
|
| 20 |
import csv
|
| 21 |
|
| 22 |
import datasets
|
|
|
|
| 23 |
|
| 24 |
|
| 25 |
_DESCRIPTION = """\
|
|
|
|
| 65 |
),
|
| 66 |
homepage="http://groups.di.unipi.it/~gulli/AG_corpus_of_news_articles.html",
|
| 67 |
citation=_CITATION,
|
|
|
|
| 68 |
)
|
| 69 |
|
| 70 |
def _split_generators(self, dl_manager):
|