Commit
•
de11fed
1
Parent(s):
37e4776
Remove deprecated tasks (#4)
Browse files- Remove deprecated tasks (a58913725efbe76f6d86fe1baf1d050a46023a04)
- blbooks.py +0 -2
blbooks.py
CHANGED
@@ -19,7 +19,6 @@ from functools import lru_cache
|
|
19 |
from typing import Dict, List
|
20 |
|
21 |
import datasets
|
22 |
-
from datasets.tasks import LanguageModeling
|
23 |
|
24 |
|
25 |
_CITATION = """\
|
@@ -170,7 +169,6 @@ class BritishLibraryBooks(datasets.GeneratorBasedBuilder):
|
|
170 |
supervised_keys=None,
|
171 |
homepage="https://www.bl.uk/collection-guides/digitised-printed-books",
|
172 |
citation=_CITATION,
|
173 |
-
task_templates=[LanguageModeling(text_column="text")],
|
174 |
)
|
175 |
|
176 |
def _split_generators(self, dl_manager: datasets.DownloadManager):
|
|
|
19 |
from typing import Dict, List
|
20 |
|
21 |
import datasets
|
|
|
22 |
|
23 |
|
24 |
_CITATION = """\
|
|
|
169 |
supervised_keys=None,
|
170 |
homepage="https://www.bl.uk/collection-guides/digitised-printed-books",
|
171 |
citation=_CITATION,
|
|
|
172 |
)
|
173 |
|
174 |
def _split_generators(self, dl_manager: datasets.DownloadManager):
|