Datasets:
Tasks:
Text Classification
Sub-tasks:
topic-classification
Languages:
English
Size:
1M<n<10M
License:
Commit
•
0a4a8d7
1
Parent(s):
10de1d9
Remove deprecated tasks (#6)
Browse files- Remove deprecated tasks (26ac83db80d29904899da675c8bf8fa154bf5e60)
consumer-finance-complaints.py
CHANGED
@@ -3,7 +3,6 @@ import os
|
|
3 |
import textwrap
|
4 |
|
5 |
import datasets
|
6 |
-
from datasets import TextClassification
|
7 |
|
8 |
|
9 |
logger = datasets.logging.get_logger(__name__)
|
@@ -173,11 +172,6 @@ class ConsumerComplaints(datasets.GeneratorBasedBuilder):
|
|
173 |
homepage=_HOMEPAGE,
|
174 |
license=_LICENSE,
|
175 |
citation=_CITATION,
|
176 |
-
task_templates=[
|
177 |
-
TextClassification(text_column="Complaint Text", label_column="Product"),
|
178 |
-
TextClassification(text_column="Complaint Text", label_column="Sub Product"),
|
179 |
-
TextClassification(text_column="Complaint Text", label_column="Tags"),
|
180 |
-
],
|
181 |
)
|
182 |
|
183 |
def _split_generators(self, dl_manager):
|
|
|
3 |
import textwrap
|
4 |
|
5 |
import datasets
|
|
|
6 |
|
7 |
|
8 |
logger = datasets.logging.get_logger(__name__)
|
|
|
172 |
homepage=_HOMEPAGE,
|
173 |
license=_LICENSE,
|
174 |
citation=_CITATION,
|
|
|
|
|
|
|
|
|
|
|
175 |
)
|
176 |
|
177 |
def _split_generators(self, dl_manager):
|