Abinaya Mahendiran
commited on
Commit
·
609887d
1
Parent(s):
6296d70
Removed tasks template
Browse files- squad_v2.py +0 -6
squad_v2.py
CHANGED
|
@@ -4,7 +4,6 @@
|
|
| 4 |
import json
|
| 5 |
|
| 6 |
import datasets
|
| 7 |
-
from datasets.tasks import QuestionAnsweringExtractive
|
| 8 |
|
| 9 |
|
| 10 |
# TODO(squad_v2): BibTeX citation
|
|
@@ -84,11 +83,6 @@ class SquadV2(datasets.GeneratorBasedBuilder):
|
|
| 84 |
# Homepage of the dataset for documentation
|
| 85 |
homepage="https://rajpurkar.github.io/SQuAD-explorer/",
|
| 86 |
citation=_CITATION,
|
| 87 |
-
task_templates=[
|
| 88 |
-
QuestionAnsweringExtractive(
|
| 89 |
-
question_column="question", context_column="context", answers_column="answers"
|
| 90 |
-
)
|
| 91 |
-
],
|
| 92 |
)
|
| 93 |
|
| 94 |
def _split_generators(self, dl_manager):
|
|
|
|
| 4 |
import json
|
| 5 |
|
| 6 |
import datasets
|
|
|
|
| 7 |
|
| 8 |
|
| 9 |
# TODO(squad_v2): BibTeX citation
|
|
|
|
| 83 |
# Homepage of the dataset for documentation
|
| 84 |
homepage="https://rajpurkar.github.io/SQuAD-explorer/",
|
| 85 |
citation=_CITATION,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
)
|
| 87 |
|
| 88 |
def _split_generators(self, dl_manager):
|