Commit
·
5e14dc2
1
Parent(s):
6fa418d
Update Test.py
Browse files
Test.py
CHANGED
|
@@ -7,23 +7,8 @@ logger = datasets.logging.get_logger(__name__)
|
|
| 7 |
_VERSION = "1.0.0"
|
| 8 |
_NAME = "qa_harvesting_from_wikipedia"
|
| 9 |
_DESCRIPTION = """QA pairs generated in https://aclanthology.org/P18-1177/"""
|
| 10 |
-
_CITATION = ""
|
| 11 |
-
|
| 12 |
-
title = "Harvesting Paragraph-level Question-Answer Pairs from {W}ikipedia",
|
| 13 |
-
author = "Du, Xinya and
|
| 14 |
-
Cardie, Claire",
|
| 15 |
-
booktitle = "Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
|
| 16 |
-
month = jul,
|
| 17 |
-
year = "2018",
|
| 18 |
-
address = "Melbourne, Australia",
|
| 19 |
-
publisher = "Association for Computational Linguistics",
|
| 20 |
-
url = "https://aclanthology.org/P18-1177",
|
| 21 |
-
doi = "10.18653/v1/P18-1177",
|
| 22 |
-
pages = "1907--1917",
|
| 23 |
-
abstract = "We study the task of generating from Wikipedia articles question-answer pairs that cover content beyond a single sentence. We propose a neural network approach that incorporates coreference knowledge via a novel gating mechanism. As compared to models that only take into account sentence-level information (Heilman and Smith, 2010; Du et al., 2017; Zhou et al., 2017), we find that the linguistic knowledge introduced by the coreference representation aids question generation significantly, producing models that outperform the current state-of-the-art. We apply our system (composed of an answer span extraction system and the passage-level QG system) to the 10,000 top ranking Wikipedia articles and create a corpus of over one million question-answer pairs. We provide qualitative analysis for the this large-scale generated corpus from Wikipedia.",
|
| 24 |
-
}
|
| 25 |
-
"""
|
| 26 |
-
_BASE_URL = "https://huggingface.co/datasets/lmqg/qa_harvesting_from_wikipedia/resolve/main/dataset"
|
| 27 |
_URLS = {
|
| 28 |
str(datasets.Split.TEST): f'{_BASE_URL}/test.json'
|
| 29 |
}
|
|
|
|
| 7 |
_VERSION = "1.0.0"
|
| 8 |
_NAME = "qa_harvesting_from_wikipedia"
|
| 9 |
_DESCRIPTION = """QA pairs generated in https://aclanthology.org/P18-1177/"""
|
| 10 |
+
_CITATION = ""
|
| 11 |
+
_BASE_URL = "https://huggingface.co/datasets/DrakuTheDragon/Test/tree/main"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
_URLS = {
|
| 13 |
str(datasets.Split.TEST): f'{_BASE_URL}/test.json'
|
| 14 |
}
|