Fix text_features typo
#1
by
albertvillanova
HF Staff
- opened
- 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,
|