Remove deprecated tasks
#18
by
albertvillanova
HF staff
- opened
- open_access.py +0 -2
open_access.py
CHANGED
@@ -21,7 +21,6 @@ import fsspec
|
|
21 |
import pandas as pd
|
22 |
|
23 |
import datasets
|
24 |
-
from datasets.tasks import LanguageModeling
|
25 |
|
26 |
|
27 |
_CITATION = """\
|
@@ -133,7 +132,6 @@ class OpenAccess(datasets.GeneratorBasedBuilder):
|
|
133 |
homepage=_HOMEPAGE,
|
134 |
license=_LICENSE,
|
135 |
citation=_CITATION,
|
136 |
-
task_templates=[LanguageModeling(text_column="text")],
|
137 |
)
|
138 |
|
139 |
def _split_generators(self, dl_manager):
|
|
|
21 |
import pandas as pd
|
22 |
|
23 |
import datasets
|
|
|
24 |
|
25 |
|
26 |
_CITATION = """\
|
|
|
132 |
homepage=_HOMEPAGE,
|
133 |
license=_LICENSE,
|
134 |
citation=_CITATION,
|
|
|
135 |
)
|
136 |
|
137 |
def _split_generators(self, dl_manager):
|