Update test_repo.py
Browse files- test_repo.py +11 -12
test_repo.py
CHANGED
@@ -7,25 +7,25 @@ _DESCRIPTION = """\
|
|
7 |
The M-QALM Dataset Repository contains Multiple-Choice and Abstractive Questions for evaluating the performance of LLMs in the clinical and biomedical domain.
|
8 |
"""
|
9 |
|
10 |
-
_HOMEPAGE = "https://huggingface.co/datasets/anand-s/
|
11 |
|
12 |
_LICENSE = "Apache License 2.0"
|
13 |
|
14 |
# Define URLs for different parts of the dataset if applicable
|
15 |
_URLS = {
|
16 |
-
"train_normal_mcqa": "https://huggingface.co/datasets/anand-s/
|
17 |
-
"val_normal_mcqa": "https://huggingface.co/datasets/anand-s/
|
18 |
-
"test_normal_mcqa": "https://huggingface.co/datasets/anand-s/
|
19 |
-
"train_context_mcqa": "https://huggingface.co/datasets/anand-s/
|
20 |
-
"val_context_mcqa": "https://huggingface.co/datasets/anand-s/
|
21 |
-
"test_context_mcqa": "https://huggingface.co/datasets/anand-s/
|
22 |
-
"train_aqa": "https://huggingface.co/datasets/anand-s/
|
23 |
-
"val_aqa": "https://huggingface.co/datasets/anand-s/
|
24 |
-
"test_aqa": "https://huggingface.co/datasets/anand-s/
|
25 |
|
26 |
}
|
27 |
|
28 |
-
class
|
29 |
"""Dataset for multiple choice questions from Test Repo."""
|
30 |
|
31 |
VERSION = datasets.Version("1.0.0")
|
@@ -42,7 +42,6 @@ class TestRepo(datasets.GeneratorBasedBuilder):
|
|
42 |
datasets.BuilderConfig(name="test_aqa", version=VERSION, description="Test set AQA"),
|
43 |
]
|
44 |
|
45 |
-
# DEFAULT_CONFIG_NAME = "mcq_domain"
|
46 |
|
47 |
def _info(self):
|
48 |
features_dict = {
|
|
|
7 |
The M-QALM Dataset Repository contains Multiple-Choice and Abstractive Questions for evaluating the performance of LLMs in the clinical and biomedical domain.
|
8 |
"""
|
9 |
|
10 |
+
_HOMEPAGE = "https://huggingface.co/datasets/anand-s/m_qalm"
|
11 |
|
12 |
_LICENSE = "Apache License 2.0"
|
13 |
|
14 |
# Define URLs for different parts of the dataset if applicable
|
15 |
_URLS = {
|
16 |
+
"train_normal_mcqa": "https://huggingface.co/datasets/anand-s/m_qalm/resolve/main/train_normal_mcqa.zip",
|
17 |
+
"val_normal_mcqa": "https://huggingface.co/datasets/anand-s/m_qalm/resolve/main/val_normal_mcqa.zip",
|
18 |
+
"test_normal_mcqa": "https://huggingface.co/datasets/anand-s/m_qalm/resolve/main/test_normal_mcqa.zip",
|
19 |
+
"train_context_mcqa": "https://huggingface.co/datasets/anand-s/m_qalm/resolve/main/train_context_mcqa.zip",
|
20 |
+
"val_context_mcqa": "https://huggingface.co/datasets/anand-s/m_qalm/resolve/main/val_context_mcqa.zip",
|
21 |
+
"test_context_mcqa": "https://huggingface.co/datasets/anand-s/m_qalm/resolve/main/test_context_mcqa.zip",
|
22 |
+
"train_aqa": "https://huggingface.co/datasets/anand-s/m_qalm/resolve/main/train_aqa.zip",
|
23 |
+
"val_aqa": "https://huggingface.co/datasets/anand-s/m_qalm/resolve/main/val_aqa.zip",
|
24 |
+
"test_aqa": "https://huggingface.co/datasets/anand-s/m_qalm/resolve/main/test_aqa.zip",
|
25 |
|
26 |
}
|
27 |
|
28 |
+
class MQalm(datasets.GeneratorBasedBuilder):
|
29 |
"""Dataset for multiple choice questions from Test Repo."""
|
30 |
|
31 |
VERSION = datasets.Version("1.0.0")
|
|
|
42 |
datasets.BuilderConfig(name="test_aqa", version=VERSION, description="Test set AQA"),
|
43 |
]
|
44 |
|
|
|
45 |
|
46 |
def _info(self):
|
47 |
features_dict = {
|