Remove deprecated tasks (#2)
Browse files- Remove deprecated tasks (b5cbb6561c98165ca08ca69a6a79c5c63de95a61)
- icelandic-qa-NQiI.py +0 -6
icelandic-qa-NQiI.py
CHANGED
|
@@ -3,7 +3,6 @@
|
|
| 3 |
import json
|
| 4 |
|
| 5 |
import datasets
|
| 6 |
-
from datasets.tasks import QuestionAnsweringExtractive
|
| 7 |
|
| 8 |
|
| 9 |
_CITATION = """\
|
|
@@ -65,11 +64,6 @@ class NQiI(datasets.GeneratorBasedBuilder):
|
|
| 65 |
# Homepage of the dataset for documentation
|
| 66 |
homepage="https://vesteinn.is/qa/",
|
| 67 |
citation=_CITATION,
|
| 68 |
-
task_templates=[
|
| 69 |
-
QuestionAnsweringExtractive(
|
| 70 |
-
question_column="question", context_column="context", answers_column="answers"
|
| 71 |
-
)
|
| 72 |
-
],
|
| 73 |
)
|
| 74 |
|
| 75 |
def _split_generators(self, dl_manager):
|
|
|
|
| 3 |
import json
|
| 4 |
|
| 5 |
import datasets
|
|
|
|
| 6 |
|
| 7 |
|
| 8 |
_CITATION = """\
|
|
|
|
| 64 |
# Homepage of the dataset for documentation
|
| 65 |
homepage="https://vesteinn.is/qa/",
|
| 66 |
citation=_CITATION,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
)
|
| 68 |
|
| 69 |
def _split_generators(self, dl_manager):
|