Commit
•
d9eaeef
1
Parent(s):
21623b9
Fix text_features typo (#1)
Browse files- Fix text_features typo (1acbf04495799c096967f7d8e85e2f3263e9831f)
Co-authored-by: Albert Villanova <albertvillanova@users.noreply.huggingface.co>
- bioasq_task_c_2017.py +2 -2
bioasq_task_c_2017.py
CHANGED
@@ -21,7 +21,7 @@ from typing import List
|
|
21 |
|
22 |
import datasets
|
23 |
|
24 |
-
from .bigbiohub import
|
25 |
from .bigbiohub import BigBioConfig
|
26 |
from .bigbiohub import Tasks
|
27 |
|
@@ -127,7 +127,7 @@ class BioASQTaskC2017(datasets.GeneratorBasedBuilder):
|
|
127 |
|
128 |
# For example bigbio_kb, bigbio_t2t
|
129 |
elif self.config.schema == "bigbio_text":
|
130 |
-
features =
|
131 |
|
132 |
return datasets.DatasetInfo(
|
133 |
description=_DESCRIPTION,
|
|
|
21 |
|
22 |
import datasets
|
23 |
|
24 |
+
from .bigbiohub import text_features
|
25 |
from .bigbiohub import BigBioConfig
|
26 |
from .bigbiohub import Tasks
|
27 |
|
|
|
127 |
|
128 |
# For example bigbio_kb, bigbio_t2t
|
129 |
elif self.config.schema == "bigbio_text":
|
130 |
+
features = text_features
|
131 |
|
132 |
return datasets.DatasetInfo(
|
133 |
description=_DESCRIPTION,
|