Commit
•
2ea9ced
1
Parent(s):
1735d9b
Remove deprecated tasks (#2)
Browse files- Remove deprecated tasks (206efb1fadc7485a99eac1a11aaa27d623143829)
- dynahate.py +0 -2
dynahate.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 Dynahate(datasets.GeneratorBasedBuilder):
|
|
66 |
),
|
67 |
homepage="https://arxiv.org/abs/2012.15761",
|
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="https://arxiv.org/abs/2012.15761",
|
67 |
citation=_CITATION,
|
|
|
68 |
)
|
69 |
|
70 |
def _split_generators(self, dl_manager):
|