Datasets:
Tasks:
Text Classification
Sub-tasks:
sentiment-classification
Languages:
English
Size:
1K<n<10K
License:
Remove deprecated tasks
#1
by
albertvillanova
HF staff
- opened
- tsl_news.py +0 -4
tsl_news.py
CHANGED
@@ -18,7 +18,6 @@
|
|
18 |
import csv
|
19 |
|
20 |
import datasets
|
21 |
-
from datasets.tasks import TextClassification
|
22 |
|
23 |
logger = datasets.logging.get_logger(__name__)
|
24 |
|
@@ -97,9 +96,6 @@ class TSLNews(datasets.GeneratorBasedBuilder):
|
|
97 |
homepage=_HOMEPAGE,
|
98 |
license=_LICENSE,
|
99 |
citation=_CITATION,
|
100 |
-
task_templates=[
|
101 |
-
TextClassification(text_column="title", label_column="label")
|
102 |
-
],
|
103 |
)
|
104 |
|
105 |
def _split_generators(self, dl_manager):
|
|
|
18 |
import csv
|
19 |
|
20 |
import datasets
|
|
|
21 |
|
22 |
logger = datasets.logging.get_logger(__name__)
|
23 |
|
|
|
96 |
homepage=_HOMEPAGE,
|
97 |
license=_LICENSE,
|
98 |
citation=_CITATION,
|
|
|
|
|
|
|
99 |
)
|
100 |
|
101 |
def _split_generators(self, dl_manager):
|