Datasets:
Tasks:
Text Classification
Sub-tasks:
sentiment-classification
Languages:
English
Size:
10K<n<100K
License:
Remove deprecated tasks (#6)
Browse files- Remove deprecated tasks (84af041873be445ff3c0020123815b783403b629)
emo.py
CHANGED
|
@@ -18,7 +18,6 @@
|
|
| 18 |
import json
|
| 19 |
|
| 20 |
import datasets
|
| 21 |
-
from datasets.tasks import TextClassification
|
| 22 |
|
| 23 |
|
| 24 |
_CITATION = """\
|
|
@@ -81,7 +80,6 @@ class Emo(datasets.GeneratorBasedBuilder):
|
|
| 81 |
supervised_keys=None,
|
| 82 |
homepage="https://www.aclweb.org/anthology/S19-2005/",
|
| 83 |
citation=_CITATION,
|
| 84 |
-
task_templates=[TextClassification(text_column="text", label_column="label")],
|
| 85 |
)
|
| 86 |
|
| 87 |
def _get_drive_url(self, url):
|
|
|
|
| 18 |
import json
|
| 19 |
|
| 20 |
import datasets
|
|
|
|
| 21 |
|
| 22 |
|
| 23 |
_CITATION = """\
|
|
|
|
| 80 |
supervised_keys=None,
|
| 81 |
homepage="https://www.aclweb.org/anthology/S19-2005/",
|
| 82 |
citation=_CITATION,
|
|
|
|
| 83 |
)
|
| 84 |
|
| 85 |
def _get_drive_url(self, url):
|