Commit
•
3cb8c30
1
Parent(s):
a7defa5
Remove deprecated tasks (#1)
Browse files- Remove deprecated tasks (f119b16e4bb8afc649a58e743b2dce039281439f)
tesis.py
CHANGED
@@ -17,7 +17,6 @@
|
|
17 |
"""IMDB movie reviews dataset."""
|
18 |
|
19 |
import datasets
|
20 |
-
from datasets.tasks import TextClassification
|
21 |
|
22 |
|
23 |
_DESCRIPTION = """
|
@@ -59,7 +58,6 @@ class Imdb(datasets.GeneratorBasedBuilder):
|
|
59 |
supervised_keys=None,
|
60 |
homepage="http://ai.stanford.edu/~amaas/data/sentiment/",
|
61 |
citation=_CITATION,
|
62 |
-
task_templates=[TextClassification(text_column="text", label_column="label")],
|
63 |
)
|
64 |
|
65 |
def _split_generators(self, dl_manager):
|
|
|
17 |
"""IMDB movie reviews dataset."""
|
18 |
|
19 |
import datasets
|
|
|
20 |
|
21 |
|
22 |
_DESCRIPTION = """
|
|
|
58 |
supervised_keys=None,
|
59 |
homepage="http://ai.stanford.edu/~amaas/data/sentiment/",
|
60 |
citation=_CITATION,
|
|
|
61 |
)
|
62 |
|
63 |
def _split_generators(self, dl_manager):
|