Datasets:
Commit
•
1dcbca6
1
Parent(s):
3b2935a
Remove deprecated tasks (#2)
Browse files- Remove deprecated tasks (30b663b30081139471e6cc87faf9e6d591475866)
- squad_bn.py +0 -6
squad_bn.py
CHANGED
@@ -4,7 +4,6 @@ import os
|
|
4 |
import json
|
5 |
|
6 |
import datasets
|
7 |
-
from datasets.tasks import QuestionAnsweringExtractive
|
8 |
|
9 |
|
10 |
_CITATION = """\
|
@@ -61,11 +60,6 @@ class SquadBn(datasets.GeneratorBasedBuilder):
|
|
61 |
homepage=_HOMEPAGE,
|
62 |
license=_LICENSE,
|
63 |
citation=_CITATION,
|
64 |
-
task_templates=[
|
65 |
-
QuestionAnsweringExtractive(
|
66 |
-
question_column="question", context_column="context", answers_column="answers"
|
67 |
-
)
|
68 |
-
],
|
69 |
)
|
70 |
|
71 |
def _split_generators(self, dl_manager):
|
|
|
4 |
import json
|
5 |
|
6 |
import datasets
|
|
|
7 |
|
8 |
|
9 |
_CITATION = """\
|
|
|
60 |
homepage=_HOMEPAGE,
|
61 |
license=_LICENSE,
|
62 |
citation=_CITATION,
|
|
|
|
|
|
|
|
|
|
|
63 |
)
|
64 |
|
65 |
def _split_generators(self, dl_manager):
|