Thomas Lemberger commited on
Commit ·
4d089c9
1
Parent(s): 9ef8796
fix
Browse files- biolang.py +4 -4
biolang.py
CHANGED
|
@@ -35,7 +35,7 @@ _CITATION = """\
|
|
| 35 |
"""
|
| 36 |
|
| 37 |
_DESCRIPTION = """\
|
| 38 |
-
This dataset is based on abstracts from the open access section of
|
| 39 |
"""
|
| 40 |
|
| 41 |
_HOMEPAGE = "https://europepmc.org/downloads/openaccess"
|
|
@@ -96,21 +96,21 @@ class BioLang(datasets.GeneratorBasedBuilder):
|
|
| 96 |
datasets.SplitGenerator(
|
| 97 |
name=datasets.Split.TRAIN,
|
| 98 |
gen_kwargs={
|
| 99 |
-
"filepath": data_dir + "/train.jsonl"
|
| 100 |
"split": "train",
|
| 101 |
},
|
| 102 |
),
|
| 103 |
datasets.SplitGenerator(
|
| 104 |
name=datasets.Split.TEST,
|
| 105 |
gen_kwargs={
|
| 106 |
-
"filepath": data_dir + "/test.jsonl"
|
| 107 |
"split": "test"
|
| 108 |
},
|
| 109 |
),
|
| 110 |
datasets.SplitGenerator(
|
| 111 |
name=datasets.Split.VALIDATION,
|
| 112 |
gen_kwargs={
|
| 113 |
-
"filepath": data_dir + "/eval.jsonl"
|
| 114 |
"split": "eval",
|
| 115 |
},
|
| 116 |
),
|
|
|
|
| 35 |
"""
|
| 36 |
|
| 37 |
_DESCRIPTION = """\
|
| 38 |
+
This dataset is based on abstracts from the open access section of EuropePubMed Central to train language models in the domain of biology.
|
| 39 |
"""
|
| 40 |
|
| 41 |
_HOMEPAGE = "https://europepmc.org/downloads/openaccess"
|
|
|
|
| 96 |
datasets.SplitGenerator(
|
| 97 |
name=datasets.Split.TRAIN,
|
| 98 |
gen_kwargs={
|
| 99 |
+
"filepath": data_dir + "/train.jsonl",
|
| 100 |
"split": "train",
|
| 101 |
},
|
| 102 |
),
|
| 103 |
datasets.SplitGenerator(
|
| 104 |
name=datasets.Split.TEST,
|
| 105 |
gen_kwargs={
|
| 106 |
+
"filepath": data_dir + "/test.jsonl",
|
| 107 |
"split": "test"
|
| 108 |
},
|
| 109 |
),
|
| 110 |
datasets.SplitGenerator(
|
| 111 |
name=datasets.Split.VALIDATION,
|
| 112 |
gen_kwargs={
|
| 113 |
+
"filepath": data_dir + "/eval.jsonl",
|
| 114 |
"split": "eval",
|
| 115 |
},
|
| 116 |
),
|