Commit
•
e31f422
1
Parent(s):
d9f1fca
Remove deprecated tasks (#1)
Browse files- Remove deprecated tasks (fb9685bf96b1d6aad9fd4e5febe3f339403d25f2)
- hatespeech_filipino.py +0 -2
hatespeech_filipino.py
CHANGED
@@ -18,7 +18,6 @@ import csv
|
|
18 |
import os
|
19 |
|
20 |
import datasets
|
21 |
-
from datasets.tasks import TextClassification
|
22 |
|
23 |
|
24 |
_DESCRIPTION = """\
|
@@ -62,7 +61,6 @@ class HateSpeechFilipino(datasets.GeneratorBasedBuilder):
|
|
62 |
homepage=_HOMEPAGE,
|
63 |
license=_LICENSE,
|
64 |
citation=_CITATION,
|
65 |
-
task_templates=[TextClassification(text_column="text", label_column="label")],
|
66 |
)
|
67 |
|
68 |
def _split_generators(self, dl_manager):
|
|
|
18 |
import os
|
19 |
|
20 |
import datasets
|
|
|
21 |
|
22 |
|
23 |
_DESCRIPTION = """\
|
|
|
61 |
homepage=_HOMEPAGE,
|
62 |
license=_LICENSE,
|
63 |
citation=_CITATION,
|
|
|
64 |
)
|
65 |
|
66 |
def _split_generators(self, dl_manager):
|